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

Fails to build on Ubuntu 20.04 #4

Open
maltewi opened this issue May 31, 2021 · 2 comments
Open

Fails to build on Ubuntu 20.04 #4

maltewi opened this issue May 31, 2021 · 2 comments

Comments

@maltewi
Copy link

maltewi commented May 31, 2021

Following the console dump of the build error:

[  9%] Linking CXX shared library libplugin_manager.so
/usr/bin/ld: cannot find -lBoost::thread
/usr/bin/ld: cannot find -lBoost::system
/usr/bin/ld: cannot find -lBoost::thread
/usr/bin/ld: cannot find -lBoost::system
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/plugin_manager.dir/build.make:127: src/libplugin_manager.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: src/CMakeFiles/plugin_manager.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

I think that the libs that can't be found Boost::* result from the dependency to class_loader:

pkg-config --libs class_loader
-L/home/malte/Development/artemis/install/lib -lclass_loader Boost::thread\;Boost::system\;/home/malte/Development/artemis/install/lib/libbase-logging.so\;/usr/lib/x86_64-linux-gnu/libPocoFoundation.so\;dl -l -lbase-logging

i.e. class loader outputs a .pc file which contains incorrect entries.

I'm posting this here, as class_loader is a ros package with a complex branch/tag structure, and I can't judge which of these branches/tags are suitable for plugin_manager.

Per rock-core package set class_loader is currently set to indigo_devel branch.

Side note: the other library in my workspace that uses class _loader is envire_core.

maltewi added a commit to maltewi/tools-plugin_manager that referenced this issue Jun 3, 2021
maltewi added a commit to maltewi/envire-envire_core that referenced this issue Jun 4, 2021
@moooeeeep
Copy link

This seems related: rock-core/package_set#196

@chhtz
Copy link
Member

chhtz commented May 30, 2024

The boost issue should be fixed by #7.

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

3 participants