-
Notifications
You must be signed in to change notification settings - Fork 108
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
boost_program_options failed to link due to undefined references #86
Comments
What is the exact command line used to link your program? CMake should have a way to output it. From the above messages, it seems like rpath-link or similar options are not correct. |
Ran into this today with the 1.78.0 conan package.
The Error:
This info from Conan may be useful
|
Additional. Looking to use the same compiler/settings in search of a solution, the following CMake ExternalProject declaration will download and build from source. Link still fails with "undefined reference"
|
When building a program that uses boost::program_options a couple of undefined refereneces show up:
I am using CMake 3.14 and link boost in the CMake list like:
System Plattform: Ubuntu x86_64
CMake/GCC Version: 3.14/7.4.0
Boost Version: 1.71
The text was updated successfully, but these errors were encountered: