Unable To Find The Requested Boost Libraries Cmake Mac

Jan 30, 2017 FreeCAD Forum. The help and development forum of FreeCAD. Unable to find the requested Boost libraries. It looks like CMake doesn't find Lib path. 3 days ago  We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand. Not finding boost. The boost I want is not in a normal location, but: Boost's include dir is first in my CPATH. Boost's lib dir is first in my LDLIBRARYPATH. Why doesn't cmake 3.2.2 find.

On 2015-06-01, at 7:18 PM, Dave Yost <[hidden email]> wrote:


On 2015-06-01, at 2:28 PM, Dave Yost <[hidden email]> wrote:
The boost I want is not in a normal location, but:
Boost's include dir is first in my CPATH.
Boost's lib dir is first in my LD_LIBRARY_PATH.
Why doesn't cmake 3.2.2 find it?
I'm not being picky about the version.
In other words, why should I have to set BOOST_ROOT? It should be obvious where a boost is, even obvious where the one I want is. What am I missing?
0 Mon 19:13:25 yost DaveBook ~/p/c++/cmake/findboost/build
cmake_minimum_required (VERSION 3.2.2 FATAL_ERROR)
project(findBoost CXX)
find_package (Boost
REQUIRED)
if (NOT Boost_FOUND)
message (FATAL_ERROR 'Could not find boost! ${BOOST_VERSION}')
MacUnable To Find The Requested Boost Libraries Cmake Mac

message (' Boost_LIBRARY_DIR_DEBUG is ${Boost_LIBRARY_DIR_DEBUG}')
0 Mon 19:13:34 yost DaveBook ~/p/c++/cmake/findboost/build
cmake version 3.2.20150504-ga4a12
CMake suite maintained and supported by Kitware (kitware.com/cmake).
0 Mon 19:13:45 yost DaveBook ~/p/c++/cmake/findboost/build
Requested
245 Z% ls -l /usr/local/boost/1.55.0..llvm/include
drwxrwxr-x 221 yost admin 7514 Mar 8 22:19 boost
0 Mon 19:13:51 yost DaveBook ~/p/c++/cmake/findboost/build
246 Z% CPATH=/usr/local/boost/1.55.0..llvm/include
0 Mon 19:13:53 yost DaveBook ~/p/c++/cmake/findboost/build
247 Z% ls -l /usr/local/boost/1.55.0..llvm/lib/libboost_program_options.*
-rw-rw-r-- 1 yost admin 938312 Mar 8 22:19 /usr/local/boost/1.55.0..llvm/lib/libboost_program_options.a

Unable To Find The Requested Boost Libraries Cmake Mac Version

-rwxrwxr-x 1 yost admin 444236 Mar 8 22:18 /usr/local/boost/1.55.0..llvm/lib/libboost_program_options.dylib
0 Mon 19:14:18 yost DaveBook ~/p/c++/cmake/findboost/build
248 Z% LD_LIBRARY_PATH=/usr/local/boost/1.55.0..llvm/lib
0 Mon 19:14:22 yost DaveBook ~/p/c++/cmake/findboost/build
249 Z% DYLD_LIBRARY_PATH=/usr/local/boost/1.55.0..llvm/lib
0 Mon 19:14:25 yost DaveBook ~/p/c++/cmake/findboost/build
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.2/Modules/FindBoost.cmake:1243 (message):

Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Call Stack (most recent call first):

CMake Error at CMakeLists.txt:10 (message):

Unable To Find The Requested Boost Libraries Cmake Mac 7


-- Configuring incomplete, errors occurred!
See also '/Users/yost/p/c++/cmake/findboost/build/CMakeFiles/CMakeOutput.log'.
1 Mon 19:14:46 yost DaveBook ~/p/c++/cmake/findboost/build

Comments are closed.