错误信息如下: [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status
出现这种情况:一般为库文件找不到。
解决办法:在Dev c++中添加MinGW的库,然后让其设置为首先查找的,就是利用MinGW的lib。 在Dev-c++中,打开“工具->编译选项->目录->库”