DEV C++ 问题

来源:互联网 发布:淘口令单 淘宝客 编辑:程序博客网 时间:2024/06/06 01:01

1.无法进行工程编译:

出现错误:

[Linker error] undefined reference to `__dyn_tls_init_callback'
[Linker error] undefined reference to `__cpu_features_init' 

解决方案:

  1. Download new MINGW compiler at http://www.mingw.org/ and install it in C:\MinGW\
2. in Dev c++. right click on menu Tools>Compiler options.
3. in tab "Directory", right click on "Libraries" and change "C:\Program Files\Dev-Cpp\Lib" to "C:\MinGW\lib"
4. Compile!

2.无法调试:

   和上一个问题的解决方案一样

 将二进制  改成 c:\MinGW\bin

原创粉丝点击