eclipse unresolved inclusion like ros/ros.h, ros/time.h
I source setup.bash and then start the eclipse in the terminal by using command
bash -i -c "eclipse"
And I have checked the include paths and symbols, things like /opt/ros/hydro/include have been added. however, the unresolved inclusion problems still occur. Most importantly, the unresolved inclusion header files are all ros header files such as
ros/ros.h
ros/time.h
nav_msgs/Odometry.h
std_msgs/Float64MultiArray.h
sensor_msgs/Imu.h
underwater_sensor_msgs/DVL.h.
Any suggestion? Thanks so much.
Asked by ZYS on 2016-06-20 09:44:31 UTC
Comments
When you go to the menu Project -> Properties -> C/C++ Include Path and Symbols, make sure you have "/opt/ros/kinetic/include", replacing kinetic with your distro. And you may need some other include paths.
Asked by Cyril Jourdan on 2018-04-20 13:30:10 UTC