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

Installation - "update" script - Fatal error: ros/ros.h: no such file or dir #34

Open
wangyiwei2015 opened this issue Aug 20, 2018 · 4 comments

Comments

@wangyiwei2015
Copy link

No error occurred before "running command 'make -j4 -l4' ..."

@mfassler
Copy link

@wangyiwei2015 I had the same problem when building with ros-kinetic.

I "fixed"(?) by making some changes to src/geometry_utils/

See my attached diff:

geometry_utils.patch.txt

@mfassler
Copy link

@graberj I created this patch. These are the changes that I had to make to get it to compile and run.

If you cd into geometry_utils, you can run this:

patch -p1 </path/to/geometry_utils.patch.txt

... and it should make the changes to the 4 files.

(if you look into the patch, you can see that I added 2 lines to package.xml, I added 1 line to test_base.cc and deleted 1 line from test_base.cc, and I deleted 1 line from each of test_math.cc and test_so3error.cc. But the patch command above should do this all for you automatically.)

@ImtiazUlHassan
Copy link

Go to

blam/internal/src/geometry_utils

Add the following two lines to package.xml

<build_depend>roscpp</build_depend>
<run_depend>roscpp</run_depend>

Add the following two lines to CMakeList.txt

find_package(catkin REQUIRED COMPONENTS roscpp)
include_directories(include ${catkin_INCLUDE_DIRS})

Reference :https://blog.katastros.com/a?ID=01050-a0697a84-317f-423f-b16d-cd90c455da97

@Gypsop
Copy link

Gypsop commented Nov 24, 2023

Go to

blam/internal/src/geometry_utils

Add the following two lines to package.xml

<build_depend>roscpp</build_depend>
<run_depend>roscpp</run_depend>

Add the following two lines to CMakeList.txt

find_package(catkin REQUIRED COMPONENTS roscpp)
include_directories(include ${catkin_INCLUDE_DIRS})

Reference :https://blog.katastros.com/a?ID=01050-a0697a84-317f-423f-b16d-cd90c455da97

This worked for me. Thanks!

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

4 participants