[CMake] Building with Cmake using Boost problem (Karel Geiregat)
Knox, Kent
Kent.Knox at amd.com
Wed Mar 16 17:35:56 EDT 2016
It looks like you built static libraries with b2:
PS D:\software\boost_1_60_0\stage\lib> Get-ChildItem libboost_filesystem*
> -name
> libboost_filesystem-vc140-mt-1_60.lib
> libboost_filesystem-vc140-mt-gd-1_60.lib
But I believe you are telling cmake (or boost preprocessor?) to search for dynamic libraries:
> add_definitions (
> -DBOOST_REGEX_DYN_LINK
> -DBOOST_FILESYSTEM_DYN_LINK
> -DBOOST_SYSTEM_DYN_LINK
Try building dynamic (.dll w/ import libs) boost libraries and see if cmake finds them.
Kent
________________________________________
More information about the CMake
mailing list