Boost logo

Boost-Build :

Subject: [Boost-build] [cmake][findboost] Linking against Boost libraries with tagged name-layout
From: Arindam Mukherjee (arindam.mukerjee_at_[hidden])
Date: 2015-03-03 03:10:47


I am trying to use CMake (v 2.8.12.1) to generate a Visual Studio 2013
solution file for projects that link to Boost libraries.

1. I have used find_package with FindBoost to locate the Boost
libraries - this succeeds.
2. I am defining BOOST_ALL_DYN_LINK and BOOST_AUTO_LINK_TAGGED using
add_definitions. The latter is being used because my Boost libraries
have tagged name-layout.
3. I also used link_directories trying to tell Visual Studio where to
look for the libraries.

I still get linker errors for unresolved symbols from these libraries.
Where do I need to look?

Regards,
Arindam


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk