compilation error [closed]
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:
<build_depend>turtlebot_node</build_depend>
<run_depend>turtlebot_node</run_depend>
and CMakeList.txt, I add:
add_executable(chan src/chan.cpp)
target_link_libraries(chan
${catkin_LIBRARIES} )
How can I fix this error? Please help me! Thanks a lot!
which tutorial or example are you following ?
@bvbdort: example here: http://answers.ros.org/question/42406... and tutorial I following to setup here: http://wiki.ros.org/Robots/TurtleBot choose indigo :)
add
include_directories(include ${catkin_INCLUDE_DIRS})
in CMakeListThanks. But in CMakeList I had that line too :(