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

Invalid project path: Include path not found (/usr/src/gtest/include)

asked 2015-03-26 12:36:02 -0500

soon gravatar image

i followed the basic tutorial but come out with the warning "Include path not found" in all four package, talker, listener, deployment, behaviour. Lastly, "roslaunch deployment system.launch" can not be run. pls help me. thank you.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2015-07-13 06:36:06 -0500

Nap gravatar image

Project -> Preferences -> C/C++ Include Paths and Symbols
Delete /usr/src/gtest/include (near the bottom of the list).

You might need to build gtest as well:

# See below for source url
sudo apt-get install libgtest-dev
# sudo apt-get install cmake #  <==  Not required since ROS already provides this
cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
# copy or symlink libgtest.a and libgtest_main.a to your /usr/lib folder
sudo cp *.a /usr/lib  # <= Probably not required either due to existing include paths

Refer to: http://www.landabin.com/2014/09/27/ge...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-26 12:36:02 -0500

Seen: 1,279 times

Last updated: Jul 13 '15