当我尝试编译开源代码时,它给出了以下错误消息:
#error Please compile for the SSE2 instruction set or higher
#error Please compile for the SSE2 instruction set or higher
然后我检查了CMakeLists.txt,如下所示:
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -Wall -g")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -Wall -g -O3")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native -std=c++11")
我猜这里有问题,有人可以帮忙吗?
我的CPU是intel 7700K