报错显示只有这个,在cmakelist中加入 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -march=native") 可以解决。 参考https://zhuanlan.zhihu.com/p/93824687