compilation error [closed]

asked 2014-12-07 13:08:37 -0600

Mai gravatar image

updated 2014-12-07 13:18:58 -0600

bvbdort gravatar image

I use Ubuntu 14.04 and Ros Indigo.

when I test example about Sensor put in catkin/namepackage/src and I run catkin_make. There is an error:

 fatal error: turtlebot_node/TurtlebotSensorState.h: No such file or directory

I fixed in package.xml following line:



and CMakeList.txt, I add:

 add_executable(chan src/chan.cpp)
  ${catkin_LIBRARIES} )

How can I fix this error? Please help me! Thanks a lot!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-12-20 20:37:07.595017


which tutorial or example are you following ?

bvbdort gravatar imagebvbdort ( 2014-12-07 13:20:18 -0600 )edit

@bvbdort: example here: and tutorial I following to setup here: choose indigo :)

Mai gravatar imageMai ( 2014-12-07 13:48:55 -0600 )edit

add include_directories(include ${catkin_INCLUDE_DIRS}) in CMakeList

bvbdort gravatar imagebvbdort ( 2014-12-07 14:29:30 -0600 )edit

Thanks. But in CMakeList I had that line too :(

Mai gravatar imageMai ( 2014-12-08 00:58:32 -0600 )edit