Ask Your Question

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

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

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

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

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:

edit flag offensive delete link more

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


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

Seen: 1,118 times

Last updated: Jul 13 '15