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

Missing dependency #1

Closed
AlexanderFabisch opened this issue Jun 11, 2018 · 2 comments
Closed

Missing dependency #1

AlexanderFabisch opened this issue Jun 11, 2018 · 2 comments

Comments

@AlexanderFabisch
Copy link

signals2 is a header-only Boost library and is not included in the CMakeLists.txt. For this reason my build on Ubuntu 18.04 crashes. It is easy to fix with

find_package(Boost REQUIRED)
include_directories(${Boost_INCLUDE_DIRS})

The error:

In file included from /home/smiles-local/infuse/gui/osgviz/src/modules/ManipulationClickHandler/ManipulationClickHandler.cpp:1:0:
/home/smiles-local/infuse/gui/osgviz/src/modules/ManipulationClickHandler/ManipulationClickHandler.h:4:10: fatal error: boost/signals2.hpp: Datei oder Verzeichnis nicht gefunden
 #include <boost/signals2.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
src/CMakeFiles/ManipulationClickHandler.dir/build.make:62: recipe for target 'src/CMakeFiles/ManipulationClickHandler.dir/modules/ManipulationClickHandler/ManipulationClickHandler.cpp.o' failed
make[2]: *** [src/CMakeFiles/ManipulationClickHandler.dir/modules/ManipulationClickHandler/ManipulationClickHandler.cpp.o] Error 1
CMakeFiles/Makefile2:326: recipe for target 'src/CMakeFiles/ManipulationClickHandler.dir/all' failed
make[1]: *** [src/CMakeFiles/ManipulationClickHandler.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

@planthaber

@planthaber
Copy link
Member

This is related to https://github.com/rock-core/gui-osgviz

@AlexanderFabisch
Copy link
Author

Ups, sorry. :)

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

2 participants