Skip to content

Compiling Problem can't find utils.h and marker_base.h #3

@DeniseBryson

Description

@DeniseBryson

I'm trying to install the uwsim-package which needs visualization_osg.
I'm running Ubuntu 16.04 LTS and ros-kinetic.

All in all I want to install uwsim which needs the following packages:
~~ traversing 11 packages in topological order:
~~ - osg_markers
~~ - osg_utils
~~ - osg_interactive_markers
~~ - underwater_sensor_msgs
~~ - underwater_vehicle_dynamics
~~ - uwsim_bullet (plain cmake)
~~ - uwsim_osgocean (plain cmake)
~~ - uwsim_osgworks (plain cmake)
~~ - uwsim_osgbullet (plain cmake)
~~ - uwsim
~~ - visualization_osg

When I run catkin_make_isolated, while compiling osg_interactive_markers I get the following error:

[ 37%] Building CXX object CMakeFiles/osg_interactive_markers.dir/src/interactive_marker.cpp.o
[ 50%] Building CXX object CMakeFiles/osg_interactive_markers.dir/src/interactive_marker_display.cpp.o
/home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/src/interactive_marker.cpp:32:33: fatal error: osg_utils/osg_utils.h: No such file or directory
compilation terminated.
CMakeFiles/osg_interactive_markers.dir/build.make:110: recipe for target 'CMakeFiles/osg_interactive_markers.dir/src/interactive_marker.cpp.o' failed
make[2]: *** [CMakeFiles/osg_interactive_markers.dir/src/interactive_marker.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/src/interactive_marker_control.cpp:32:0:
/home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/include/osg_interactive_markers/interactive_marker_control.h:39:37: fatal error: osg_markers/marker_base.h: No such file or directory
compilation terminated.
CMakeFiles/osg_interactive_markers.dir/build.make:134: recipe for target 'CMakeFiles/osg_interactive_markers.dir/src/interactive_marker_control.cpp.o' failed
make[2]: *** [CMakeFiles/osg_interactive_markers.dir/src/interactive_marker_control.cpp.o] Error 1
In file included from /home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/include/osg_interactive_markers/interactive_marker.h:35:0,
from /home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/include/osg_interactive_markers/interactive_marker_display.h:35,
from /home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/src/interactive_marker_display.cpp:32:
/home/ros/Programme/WaterGlider/Workspace/src/src/visualization_osg/osg_interactive_markers/include/osg_interactive_markers/interactive_marker_control.h:39:37: fatal error: osg_markers/marker_base.h: No such file or directory
compilation terminated.
CMakeFiles/osg_interactive_markers.dir/build.make:86: recipe for target 'CMakeFiles/osg_interactive_markers.dir/src/interactive_marker_display.cpp.o' failed
make[2]: *** [CMakeFiles/osg_interactive_markers.dir/src/interactive_marker_display.cpp.o] Error 1
CMakeFiles/Makefile2:153: recipe for target 'CMakeFiles/osg_interactive_markers.dir/all' failed
make[1]: *** [CMakeFiles/osg_interactive_markers.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'osg_interactive_markers':
Command '['/home/ros/Programme/WaterGlider/Workspace/devel_isolated/osg_utils/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2

Reproduce this error by running:
==> cd /home/ros/Programme/WaterGlider/Workspace/build_isolated/osg_interactive_markers && /home/ros/Programme/WaterGlider/Workspace/devel_isolated/osg_utils/env.sh make -j4 -l4

Command failed, exiting.

I could remove these errors with moving osg_utils/osg_utils.h and osg_markers/marker_base.h around. But then I had reference issues, about some functions.
Not sure what is wrong here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions