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

[Codechange] Added linker flag '-lboost_system' on unix #857

Merged
merged 1 commit into from May 3, 2016

Conversation

Projects
None yet
2 participants
@ulteq
Contributor

ulteq commented Apr 29, 2016

Fixes linker error on Linux, when Ogre is build with Boost enabled:

/usr/bin/ld: CMakeFiles/RoRConfig.dir/Configurator.cpp.o: undefined reference to symbol '_ZN5boost6system15system_categoryEv'
/usr/lib/libboost_system.so.1.60.0: error adding symbols: DSO missing from command line
@Hiradur

This comment has been minimized.

Show comment
Hide comment
@Hiradur

Hiradur Apr 29, 2016

Contributor

53d1c95#diff-204a9fa87a163aed55a2912936914d00L194
with 53d1c95#diff-cda6d50b5e143eac3e4ab73441707ee9L473
is a more elegant way.
I'm not really happy with this. Maybe it would be possible to query OGRE with CMake if it was build with boost and if yes only then link boost_system.

Contributor

Hiradur commented Apr 29, 2016

53d1c95#diff-204a9fa87a163aed55a2912936914d00L194
with 53d1c95#diff-cda6d50b5e143eac3e4ab73441707ee9L473
is a more elegant way.
I'm not really happy with this. Maybe it would be possible to query OGRE with CMake if it was build with boost and if yes only then link boost_system.

@ulteq

This comment has been minimized.

Show comment
Hide comment
@ulteq

ulteq Apr 29, 2016

Contributor

I'm not really happy with this.

Me neither.

Contributor

ulteq commented Apr 29, 2016

I'm not really happy with this.

Me neither.

@ulteq ulteq merged commit 8660160 into RigsOfRods:master May 3, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@ulteq ulteq deleted the ulteq:unix-cmake-boost-fix branch May 3, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment