ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

fatal error: pluginlib_calculator/calculator_base.h: No such file or directory compilation terminated.

asked 2019-10-28 02:09:37 -0500

Athul_012 gravatar image

updated 2019-10-28 03:35:51 -0500

gvdhoorn gravatar image

i am using ros kinetic in ubuntu 16.04 and i got an error as shown below

/home/athul/catkin_ws/src/pluginlib_calculator/src/calculator_plugins.cpp:3:50: fatal error: pluginlib_calculator/calculator_base.h: No such file or directory
compilation terminated.
pluginlib_calculator/CMakeFiles/pluginlib_calculator.dir/build.make:62: recipe for target 'pluginlib_calculator/CMakeFiles/pluginlib_calculator.dir/src/calculator_plugins.cpp.o' failed
make[2]: *** [pluginlib_calculator/CMakeFiles/pluginlib_calculator.dir/src/calculator_plugins.cpp.o] Error 1
CMakeFiles/Makefile2:1003: recipe for target 'pluginlib_calculator/CMakeFiles/pluginlib_calculator.dir/all' failed
make[1]: *** [pluginlib_calculator/CMakeFiles/pluginlib_calculator.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-10-28 03:37:52 -0500

gvdhoorn gravatar image
/home/athul/catkin_ws/src/pluginlib_calculator/src/calculator_plugins.cpp:3:50: fatal error: pluginlib_calculator/calculator_base.h: No such file or directory

This would appear to be a package from the book Mastering ROS for Robotics Programming. It may be found here: qboticslabs/mastering_ros/chapter_5_codes/pluginlib_calculator.

You may want to ask the authors for support.

It looks like the include path has not been setup correctly.

edit flag offensive delete link more

Comments

i have tried but i didn't get the answer.....can you please help me please

Athul_012 gravatar image Athul_012  ( 2019-10-30 00:49:02 -0500 )edit

At first glance the CMakeLists.txt looks OK.

Could you describe how you've setup your workspace?

What is the output of:

ls -al /home/athul/catkin_ws/src/pluginlib_calculator/include/pluginlib_calculator/calculator_base.h
gvdhoorn gravatar image gvdhoorn  ( 2019-11-04 01:52:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2019-10-28 02:09:37 -0500

Seen: 161 times

Last updated: Oct 28 '19