Dev-C++配置问题

 错误信息如下:
      [Linker error] undefined reference to `__cpu_features_init' 
                          ld returned 1 exit status

出现这种情况:一般为库文件找不到。

 解决办法:在Dev c++中添加MinGW的库,然后让其设置为首先查找的,就是利用MinGW的lib。
       在Dev-c++中,打开“工具->编译选项->目录->库”

 

 

posted @ 2012-06-15 06:56  一路来过  阅读(477)  评论(0编辑  收藏  举报