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

Coin TestSuite build failure with CMake installed by Vcpkg #543

Open
kazssym opened this issue Dec 30, 2024 · 0 comments
Open

Coin TestSuite build failure with CMake installed by Vcpkg #543

kazssym opened this issue Dec 30, 2024 · 0 comments

Comments

@kazssym
Copy link
Contributor

kazssym commented Dec 30, 2024

I had been struggling with some link errors of the Coin test suite with CMake installed by Vcpkg on Windows, but recently figured out the cause.

CMake was installed with <boost/config/user.hpp> that implicitly defines BOOST_ALL_DYN_LINK, which causes link errors in the test suite. To avoid the problem with those problematic definitions, we need to define BOOST_NO_USER_CONFIG on the command line.

I wish it had been documented clearly in the build instructions or, hopefully, detected automatically by the build scripts.

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

1 participant