Robotics StackExchange | Archived questions

catkin_make fatal error: no such file or directory compilation terminated

I have perused ROS Answers and tried the ones that pertain to this error msg (fatal error: no such file or directory compilation terminated), to no avail. I am using Hydro, Ubuntu 12.04 lts. Here's what I get with catkin_make. Can anyone help?

robotics@robotics-OptiPlex-755:~/catkin_ws$ catkin_make
Base path: /home/robotics/catkin_ws
Source space: /home/robotics/catkin_ws/src
Build space: /home/robotics/catkin_ws/build
Devel space: /home/robotics/catkin_ws/devel
Install space: /home/robotics/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/robotics/catkin_ws/build"
####
####
#### Running command: "make -j2 -l2" in "/home/robotics/catkin_ws/build"
####
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target std_msgs_generate_messages_cpp
[  4%] Building CXX object dynamixel_driver/CMakeFiles/dynamixel_driver.dir/src/DynamixelServo.o
[ 21%] Built target calliope_driver_generate_messages_py
[ 21%] Built target sensor_msgs_generate_messages_cpp
[ 21%] Built target sensor_msgs_generate_messages_py
[ 21%] Built target sensor_msgs_generate_messages_lisp
[ 26%] Built target dynamixel_array_generate_messages_cpp
[ 34%] Built target calliope_generate_messages_lisp
[ 52%] Built target calliope_generate_messages_py
[ 60%] Built target calliope_generate_messages_cpp
[ 69%] Built target calliope_driver_generate_messages_lisp
[ 78%] Built target calliope_driver_generate_messages_cpp
[ 91%] Built target dynamixel_array_generate_messages_py
/home/robotics/catkin_ws/src/dynamixel_driver/src/DynamixelServo.cpp:1:23: fatal error: dynamixel.h: No such file or directory
compilation terminated.
[ 95%] Built target dynamixel_array_generate_messages_lisp
make[2]: *** [dynamixel_driver/CMakeFiles/dynamixel_driver.dir/src/DynamixelServo.o] Error 1
make[1]: *** [dynamixel_driver/CMakeFiles/dynamixel_driver.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] Built target calliope_generate_messages
make: *** [all] Error 2
Invoking "make" failed

Asked by gytennell on 2014-06-27 15:23:29 UTC

Comments

Is that file somewhere, if yes where?

Asked by dornhege on 2014-06-28 09:57:34 UTC

Also please put the question in the text box and choose a proper title.

Asked by dornhege on 2014-06-28 09:58:53 UTC

Thanks. This is the path of the file: home/catkin_ws/src/dynamixel_driver/include/dynamixel_driver/dynamixel.h

Asked by gytennell on 2014-06-28 16:09:42 UTC

Try sourcing the set up scripts like setup.bash (or source ~/.bashrc if you added them there). At least that is what worked for me using Indigo and Ubuntu 14.04: source /opt/ros/indigo/setup.bash

Asked by kirin on 2016-02-19 16:03:08 UTC

Answers