Compile errors with Assembler messages

后端 未结 7 2011
天命终不由人
天命终不由人 2021-01-14 08:38

I\'m working with Point Cloud Library. It\'s mostly in C++ When I compile it, gives such error:

[  0%] Building CXX object common/CMakeFiles/pcl_common.dir/s         


        
7条回答
  •  温柔的废话
    2021-01-14 09:28

    You can use the command below to see what is your CPU (for the compiler): gcc -march=native -Q --help=target | grep march

    Then you can add your cpu type in the ccmake CMAKE_CXX_FLAGS option, for me: CMAKE_CXX_FLAGS = -march=corei7-avx

提交回复
热议问题