Illegal Instruction Error when compiling opencv_apps

asked 2019-09-19 19:18:05 -0500

mbfg gravatar image

I am trying to use a Raspberry Pi3 running Raspbian Stretch with ROS Kinetic. I've installed the following package https://github.com/ros-perception/ope... in a new catkin workspace, and then ran the command 'catkin make'. The problem occurs somewhere during Building CXX objects, which it gives an internal compile error. If I were to run 'catkin make' it will say "Internal compile error: Illegal Instruction" if I run 'catkin make -D' then it says "Internal compile error: Segmentation Fault'.

Any clues as to whats going on?

edit retag flag offensive close merge delete

Comments

Most likely your RPi is running out of memory.

Two things:

  • enable swap
  • run only a single job with make (catkin_make -j1)
gvdhoorn gravatar image gvdhoorn  ( 2019-09-20 06:15:23 -0500 )edit