Ask Your Question

Revision history [back]

I don't see you doing a source /opt/ros/melodic/setup.bash.

catkin_make is not on the PATH normally, so you need to source the setup file.

I don't see you doing a source /opt/ros/melodic/setup.bash.

catkin_make is not on the PATH normally, so you need to source the setup file.


Also:

9.) cmake /home/~/catkin_ws/src/myahrs_driver -DATKIN_DEVEL_PREFIX=/home/~/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/~/catkin_ws/install -G "Unix Makefiles"

why do you do this?

For normal ROS usage this is very strange. Just run catkin_make in the root of your workspace.

I'd not recommend manually invoking cmake unless you know what you are doing.

I don't see you doing a source /opt/ros/melodic/setup.bash.

catkin_make is not on the PATH normally, so you need to source the setup file.


Also:

9.) cmake /home/~/catkin_ws/src/myahrs_driver -DATKIN_DEVEL_PREFIX=/home/~/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/~/catkin_ws/install -G "Unix Makefiles"

why do you do this?

For normal ROS usage this is very strange. Just run catkin_make in the root of your workspace.

I'd not recommend manually invoking cmake unless you know what you are doing.