Open wangyiwei2015 opened 6 years ago
@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:
@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.)
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
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!
No error occurred before "running command 'make -j4 -l4' ..."