开发人员-Cpp编译器生成错误 [英] Dev -Cpp Compiler Build error

查看:61
本文介绍了开发人员-Cpp编译器生成错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎找不到任何解决方法,我使用过Dev-Cpp befor,但从未遇到过此问题.我尝试重新安装Dev-Cpp和MinGW,但似乎无济于事./p>

I can't seem to find any thing on how to fix this and i have used Dev-Cpp befor but have never had this problem.I have tried re-installing Dev-Cpp and MinGW but nothing seems to work.

i:\gw\lib\crt2.o(.text+0x8) In function `_mingw_CRTStartup'

[Linker error] undefined reference to `__dyn_tls_init_callback' 

[Linker error] undefined reference to `__cpu_features_init' 

i:\gw\lib\crt2.o(.text+0x8) ld returned 1 exit status 

C:\workspace\cpp\Makefile.win [Build Error]  [Project1.exe] Error 1 

推荐答案

似乎找不到MinGW库.

Seems like it can't find the MinGW libraries.

点击工具->编译器选项在目录选项卡中,右键单击 Libraries 并切换到MinGW lib目录.在此示例中,它是 C:\ MinGW \ lib

Click on Tools -> Compiler Options In the directory tab, right click Libraries and change to the MinGW lib directory. In this example, it was C:\MinGW\lib

如果您卸载,重新安装或升级MinGW,则可能会发生这种情况.

This might happen if you uninstall, re-install, or upgrade MinGW.

这篇关于开发人员-Cpp编译器生成错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆