Thanks for your help. I've managed to get past the original problem by editing FindBoost so that it checks for version 1.62. But I'm done yet! Now I'm getting

compiler is AppleClang
compiler is AppleClang
[ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:960 ] _boost_TEST_VERSIONS = 1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:962 ] Boost_USE_MULTITHREADED = ON [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:964 ] Boost_USE_STATIC_LIBS = ON [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:966 ] Boost_USE_STATIC_RUNTIME = [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:968 ] Boost_ADDITIONAL_VERSIONS = [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:970 ] Boost_NO_SYSTEM_PATHS = [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1038 ] Declared as CMake or Environmental Variables: [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1040 ] BOOST_ROOT = /Users/robertramey/WorkingProjects/modular-boost [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1042 ] BOOST_INCLUDEDIR = [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1044 ] BOOST_LIBRARYDIR = /Users/robertramey/WorkingProjects/modular-boost/stage/lib/Debug [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1046 ] _boost_TEST_VERSIONS = 1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50;1.49.0;1.49;1.48.0;1.48;1.47.0;1.47;1.46.1;1.46.0;1.46;1.45.0;1.45;1.44.0;1.44;1.43.0;1.43;1.42.0;1.42;1.41.0;1.41;1.40.0;1.40;1.39.0;1.39;1.38.0;1.38;1.37.0;1.37;1.36.1;1.36.0;1.36;1.35.1;1.35.0;1.35;1.34.1;1.34.0;1.34;1.33.1;1.33.0;1.33 [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1139 ] location of version.hpp: /Users/robertramey/WorkingProjects/modular-boost/boost/version.hpp [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1163 ] version.hpp reveals boost 1.62.0 [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1249 ] guessed _boost_COMPILER = [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1259 ] _boost_MULTITHREADED = -mt [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1302 ] _boost_RELEASE_ABI_TAG = - [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1304 ] _boost_DEBUG_ABI_TAG = -d [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1358 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /Users/robertramey/WorkingProjects/modular-boost/stage/lib/Debug;/Users/robertramey/WorkingProjects/modular-boost/lib;/Users/robertramey/WorkingProjects/modular-boost/stage/lib;/Users/robertramey/WorkingProjects/modular-boost/lib;/Users/robertramey/WorkingProjects/modular-boost/../lib;/Users/robertramey/WorkingProjects/modular-boost/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib_boost_LIBRARY_SEARCH_DIRS_DEBUG = /Users/robertramey/WorkingProjects/modular-boost/stage/lib/Debug;/Users/robertramey/WorkingProjects/modular-boost/lib;/Users/robertramey/WorkingProjects/modular-boost/stage/lib;/Users/robertramey/WorkingProjects/modular-boost/lib;/Users/robertramey/WorkingProjects/modular-boost/../lib;/Users/robertramey/WorkingProjects/modular-boost/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1497 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-mt-1_62;boost_system-mt;boost_system-mt-1_62;boost_system-mt;boost_system [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1539 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-mt-d-1_62;boost_system-mt-d;boost_system-mt-d-1_62;boost_system-mt-d;boost_system-mt;boost_system [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1497 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-mt-1_62;boost_filesystem-mt;boost_filesystem-mt-1_62;boost_filesystem-mt;boost_filesystem [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1539 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-mt-d-1_62;boost_filesystem-mt-d;boost_filesystem-mt-d-1_62;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem [ /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1609 ] Boost_FOUND = 1 CMake Error at /Applications/CMake.app/Contents/share/cmake-3.6/Modules/FindBoost.cmake:1767 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.62.0

  Boost include path: /Users/robertramey/WorkingProjects/modular-boost

  Could not find the following static Boost libraries:

          boost_system
          boost_filesystem

No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
  directory containing Boost libraries or BOOST_ROOT to the location of
  Boost.
Call Stack (most recent call first):
  CMakeLists.txt:113 (find_package)


Boost_FOUND is 0
Boost NOT Found!

The last messages is from my CMakelists.txt file which verifies that the variable Boost_USE_STATIC_LIBS is indeed set to true.

Here is what I'm seeing:

a) it looks like CMake is looking for boost_filesystem rather than libboost as I expect. (same for system).

b) even if I tweak findBoost to force the system to look for libboost... it still fails

b) If I follow the suggestion and set BOOST_ROOT to the boost root, it still doesn't work. The BOOST_ROOT variable is discarded when I invoke "Configure"

So again, any suggestions you can offer will be appreciated.

Robert Ramey



--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to