-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Description
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