ROS#”c++: internal compiler error: Killed” while building ROS Driver

c++: internal compiler error: Killed (program cc1plus)

Please submit a full bug report,

with preprocessed source if appropriate.

See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.

DriverをBuildするときに以下のコマンドでエラーなくなりました。

catkin_make -j 1 -DCMAKE_CXX_FLAGS=”–param ggc-min-expand=20″

話によると、これはClassic gccエラーらしく、Systemが実行中Memoryが足りないときに出るエラーになります。一番手早い方法はコンパイラーのThread数を減らす、と。

https://answers.ros.org/question/348106/c-internal-compiler-error-killed-while-building-universal-robots-ros-driver/

シェアする

  • このエントリーをはてなブックマークに追加

フォローする