Compile errors with Assembler messages

后端 未结 7 1956
天命终不由人
天命终不由人 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:26

    Have you tried using a different compiler?

    I had assembler errors in a project using Point Cloud Library. It was possibly due to using Ubuntu 12.04 on an core i7 processor (see https://github.com/uzh-rpg/rpg_svo/issues/7).

    I was able to compile by installing the 'clang' compiler

    sudo apt-get install clang
    

    and then running cmake with:

    cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .
    

提交回复
热议问题