Ask Your Question
0

rgbdslam/rgbdslam_ros_ui.h not found

asked 2013-02-04 08:39:06 -0500

DonaldV gravatar image

updated 2013-02-04 09:59:51 -0500

I am trying to build my own SLAM project using some of RGBDSLAM code. After I copied some modules I went to compile using rosmake, but it threw me this error

rgbdslam/rgbdslam_ros_ui.h: No such file or directory

I figurd this is happening because I am missing something about service generation. Can anyone guide me how to do that. BTW, I have the following line uncommented in CMakeLists

rosbuild_gensrv()

But I have no idea how to make it recognize the rgbdslam folder in src.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-02-04 12:28:07 -0500

updated 2013-02-04 12:30:22 -0500

This is probably not the best solution, but you could try adding this line in your CmakeList.txt : include_directories(~/YOUR-PATH/rgbdslam_freiburg/rgbdslam/srv_gen/cpp/include)

edit flag offensive delete link more

Comments

1

Thank you for pointing me in right direction. I didn't use that solution, but I made some changes about include directories in my CMakeLists.txt with help from the same file of rgbdslam, and it helped!

DonaldV gravatar image DonaldV  ( 2013-02-05 09:05:18 -0500 )edit

I'm glad it helped you. Would you be able to share your solution? I have a similar problem, I get this error: fatal error: linux/compiler.h: No such file or directory compilation terminated. I have added this include_directories(/usr/src/linux-headers-3.2.0-35-generic/include/linux) but doesn't work

K_Yousif gravatar image K_Yousif  ( 2013-02-05 11:16:44 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-02-04 08:39:06 -0500

Seen: 94 times

Last updated: Feb 04 '13