Skip to content

Coin TestSuite build failure with CMake installed by Vcpkg #543

Open
@kazssym

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions