Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building on ubuntu 16.04/ros kinetic #8

Open
poine opened this issue Jul 30, 2016 · 2 comments
Open

building on ubuntu 16.04/ros kinetic #8

poine opened this issue Jul 30, 2016 · 2 comments

Comments

@poine
Copy link

poine commented Jul 30, 2016

when building sql_database on ubuntu16.04/ros kinetic, i got the following error: ros/ros.h: No such file or directory
Following this advice (http://answers.ros.org/question/237494/fatal-error-rosrosh-no-such-file-or-directory/) , i got it to build by adding include_directories(${catkin_INCLUDE_DIRS}) in CMakeLists.txt

@71f681c20d
Copy link

It is also possible to explicitly include the necessary header in the g++ command. Example:
g++ test.cpp -o app -I//include

@ashishpalsoex
Copy link

I got it to build by adding " include_directories(${catkin_INCLUDE_DIRS})" in CMakeLists.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants