Re: [CMake] problems with FindBoost

2011-04-01 Thread Dominik Szczerba
Dear Mike, Many thanks for your hint to enable debugging in FindBoost. Doing so I immediately located the culprit, and it seems it is not FindBoost that is to blame. The package using FindBoost was silently setting Boost_USE_STATIC_LIBS to ON behind my back, thus the DLL version was - properly - n

Re: [CMake] problems with FindBoost

2011-03-31 Thread Dominik Szczerba
Many thanks for your responses so far. I built boost as follows: bjam --prefix=P:\boost-1.46.1\x64 toolset=msvc-10.0 address-model=64 link=shared threading=multi runtime-link=shared --with-thread --with-date_time --with-program_options --with-filesystem --with-system debug release install The li

Re: [CMake] problems with FindBoost

2011-03-31 Thread Gabriel Nützi
Am 31.03.2011 um 23:44 schrieb Gabriel Nützi: > May I ask how did you build your boost? > with bjam? > > I use : bjam --toolset=msvc-10.0 --build-type=complete architecture=x86 > address-model=64 stage > > > I have also problems with find Boost: (exact same setup as you) > > I have the follo

Re: [CMake] problems with FindBoost

2011-03-31 Thread Michael Jackson
The 2 items that you will need to know (and us to help you) are: The list of libraries that you have installed. We need to know the complete filename. Then you need to probably dive into FindBoost.cmake and enable the debugging output and see what filenames CMake is trying to find. My bet is th

[CMake] problems with FindBoost

2011-03-31 Thread Dominik Szczerba
FindBoost (cmake 2.8.4 here) fails to find DLL - but not static - version of boost 1.46.1 on Windows 7 with Visual Studio 10 64 bit. The boost_thread library is needed. The filepath's I add in cmake-gui are always reset to NOTFOUND if and only if DLL version is needed. Static is no problem. Any poi