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

How to solve this problem in client.cpp and server.cpp problem fatal error: AddTwoInts.h: No such file or directory

asked 2013-04-01 14:41:39 -0500

Marlon Rocha gravatar image

Hi, my problem this time is when I do make, in this tutorial: (link text)

my make log is:

[ 25%] Building CXX object CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o /home/rocha/fuerte_workspace/sandbox/pkg_cadeira/src/add_two_ints_client.cpp:2:36: fatal error: pkg_cadeira/AddTwoInts.h: No such file or directory compilation terminated. make[3]: [CMakeFiles/add_two_ints_client.dir/src/add_two_ints_client.o] Error 1 make[3]: Leaving directory /home/rocha/fuerte_workspace/sandbox/pkg_cadeira/build' make[2]: *** [CMakeFiles/add_two_ints_client.dir/all] Error 2 make[2]: Leaving directory/home/rocha/fuerte_workspace/sandbox/pkg_cadeira/build' make[1]: [all] Error 2 make[1]: Leaving directory `/home/rocha/fuerte_workspace/sandbox/pkg_cadeira/build' make: ** [all] Error 2*

Thanks :D

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-01 14:52:49 -0500

Marlon Rocha gravatar image

Problem solved, thanks anyway... I followed the tutorial and put the AddTwoInts.srv in the /srv directory ... :D

edit flag offensive delete link more

Question Tools


Asked: 2013-04-01 14:41:39 -0500

Seen: 679 times

Last updated: Apr 01 '13