Skip to content

problems linking to boost libraries with old VS projects #933

@JonesOliver

Description

@JonesOliver

I've managed to link to boost with a sample test project using both the x86-windows and x86-windows-static triplets, but cannot seem to link the boost libraries to an existing project. Has anyone tried to do this and been successful? Anyone also had problem using vcpkg, boost and old VS projects?

I'm simply using the boost::filesystem and can successfully link to a set of static boost libraries that I've built and maintain myself.

For reference and if anyone finds this useful, to link to the static libs I copied in the following in my vs project in my test application file under <PropertyGroup Label="Globals"> :

<VcpkgTriplet>x86-windows-static</VcpkgTriplet>
<VcpkgEnabled>true</VcpkgEnabled>

but also had to change the code generation setting "Runtime Library" from Multi-threaded Debug DLL /MDd to Multii-threaded Debug /MTd

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:documentationTo resolve the issue, documentation will need to be updated

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions