ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Illegal instruction errors usually indicate that you're either using binaries that aren't compiled for your CPU, or you aren't passing the right flags to compiler, so it's producing binaries that aren't compatible with your system.
It sounds like most of the software that you're running was compiled from source, so it's unlikely that it's built for the wrong architecture.
Since you're using Indigo, you should be able to run your node in a debugger easily:
rosrun --prefix 'gdb --args' raspicam raspicam_node
run
And that will at least tell you which library contains the illegal instructions. From there, you can track down the source of that library and try to figure out why it contains illegal instructions.
2 | No.2 Revision |
Illegal instruction errors usually indicate that you're either using binaries that aren't compiled for your CPU, or you aren't passing the right flags to compiler, so it's producing binaries that aren't compatible with your system.
It sounds like most of the software that you're running was compiled from source, so it's unlikely that it's built for the wrong architecture.
Since you're using Indigo, you should be able to run your node in a debugger easily:
rosrun --prefix 'gdb -ex run --args' raspicam raspicam_node
run
And that will at least tell you which library contains the illegal instructions. From there, you can track down the source of that library and try to figure out why it contains illegal instructions.