CMake cannot find Boost Libraries

Having trouble installing or compiling FreeCAD? Get help here.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
dabeanmonger
Posts: 2
Joined: Tue Aug 08, 2017 4:50 pm

CMake cannot find Boost Libraries

Post by dabeanmonger »

First let me preface this by saying I'm a fairly inexperienced programmer.
When I try to configure, CMake is giving me the following error:

CMake Error at C:/Program Files/CMake/share/cmake-3.9/Modules/FindBoost.cmake:1877 (message):
Unable to find the requested Boost libraries.

Boost version: 1.55.0

Boost include path:
C:/Users/Me/free-cad-code/FreeCADLibs_11.1_x64_VC12/FreeCADLibs_11.1_x64_VC12/include


Could not find the following Boost libraries:

boost_filesystem
boost_program_options
boost_regex
boost_signals
boost_system
boost_thread

What can I try?
peterl94
Veteran
Posts: 1001
Joined: Thu May 23, 2013 7:31 pm
Location: United States

Re: CMake cannot find Boost Libraries

Post by peterl94 »

Have you set the cmake variable FREECAD_LIBPACK_DIR to C:/Users/Me/free-cad-code/FreeCADLibs_11.1_x64_VC12? (btw, that is an old libpack)
dabeanmonger
Posts: 2
Joined: Tue Aug 08, 2017 4:50 pm

Re: CMake cannot find Boost Libraries

Post by dabeanmonger »

Yes I had. I just ended up downloading the executable anyways though. Thanks.
michmerr
Posts: 11
Joined: Wed Aug 16, 2017 9:35 pm

Re: CMake cannot find Boost Libraries

Post by michmerr »

The cmake files have not been updated for the 11.x libpack, so the VC-version-specific boost libraries are not found.
michmerr
Posts: 11
Joined: Wed Aug 16, 2017 9:35 pm

Re: CMake cannot find Boost Libraries

Post by michmerr »

I need to qualify my last post.

When running CMake to configure a VS14 (2015) solution, the existing CMake files don't work. Generating a VS12 (2013) solution works just fine (at least with the 11.5.3 lib pack).
Post Reply