[CMake] cmake 2.6.4 won't find boost 1.40 on windows

Cristian Adam cristian.adam at gmx.net
Thu Sep 17 18:08:17 EDT 2009


Michael Jackson wrote:
> When you build boost use the --prefix=C:\boost_1_40 ... install
> 
> also you should specify toolset==msvc9.0 or the libraries will not be 
> named correctly.
> 

Hmm, I managed to compile a small program_options test program.
Program options libraries are named like:

boost_program_options-vc90-mt-1_40.dll
boost_program_options-vc90-mt-gd-1_40.dll
boost_program_options-vc90-mt.lib
boost_program_options-vc90-mt-1_40.lib
boost_program_options-vc90-mt-gd.lib
boost_program_options-vc90-mt-gd-1_40.lib
libboost_program_options-vc90-mt.lib
libboost_program_options-vc90-mt-1_40.lib
libboost_program_options-vc90-mt-gd.lib
libboost_program_options-vc90-mt-gd-1_40.lib
libboost_program_options-vc90-mt-s.lib
libboost_program_options-vc90-mt-s-1_40.lib
libboost_program_options-vc90-mt-sgd.lib
libboost_program_options-vc90-mt-sgd-1_40.lib
libboost_program_options-vc90-s.lib
libboost_program_options-vc90-s-1_40.lib
libboost_program_options-vc90-sgd.lib
libboost_program_options-vc90-sgd-1_40.lib

How should they be named correctly?

Cheers,
Cristian.




More information about the CMake mailing list