[CMake] VS 2008 x64, Boost 1.39 - Can not find boost libraries

Mike Jackson mike.jackson at bluequartz.net
Mon Aug 24 14:39:45 EDT 2009


Setup is as follows:

  Windows 7 x64
  Visual Studio 2008 standard Edition
  Boost 1.39.0 download from source
  CMake 2.6.4

Compiled boost libraries as usual using the x64 command prompt that
comes with VS 2008. Compiled fine except the library naming is a bit
"off" from usual. Instead of having "-vc90-" in the name the boost
libraries only have "-vc-" in them. This throws off FindBoost. The
quick fix was to use:

cmake -DBoost_COMPILER=-vc ../  and at least cmake could configure my project.

Just a heads up in case anyone else runs into this situation.

Pinged the boost-build list to see if this is a bug, feature or over-sight...
_________________________________________________________
Mike Jackson                  mike.jackson at bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio


More information about the CMake mailing list