blodow / realtime_urdf_filter

ROS package that can filter geometry defined in URDF models from Kinect depth images. Can also preprocess data for the OpenNI tracker, to remove backgrounds, robots etc.
Other
89 stars 46 forks source link

Compilation error #18

Closed Herrandy closed 7 years ago

Herrandy commented 7 years ago

Hello all! Your package seems very interesting but I have some problems on compiling the package. I tried to compile the package with catkin_make but the following error message pops up. image It cannot find the ROS headers and I think the error is related to CMakeLists of the package because I am able to compile other ROS related packages such as iai_kinect2. Any hints how to fix this?

System: ROS Kinetic Ubuntu 16.04

Herrandy commented 7 years ago

I will answer to my own question:

In CMakeLists.txt modify: include_directories(${catkin_INCLUDE_DIR} include) to include_directories(${catkin_INCLUDE_DIRS} include)

and

include_directories(${OPENGL_INCLUDE_DIR} ${catkin_INCLUDE_DIR}) to include_directories(${OPENGL_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})