I try to compile the Frechet-CUDA package for python. I installed C++ via Visual Studio and installed dlib and cmake for python to compile the package. Furthermore added boost 3.18.
Still get the following error: Cmake 3.24 is unable to to find the boost components 'system chrono program_options python3 numpy3'. The complete stacktrace with BOOST_DEBUG=On looks like this:
C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\_distutils_hack\__init__.py:19: UserWarning: Distutils was imported before Setuptools, but
importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
"Distutils was imported before Setuptools, but importing Setuptools "
C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\_distutils_hack\__init__.py:33: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
running install
C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
setuptools.SetuptoolsDeprecationWarning,
C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\easy_install.py:147: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
EasyInstallDeprecationWarning,
running bdist_egg
running egg_info
writing Frechet_CUDA.egg-info\PKG-INFO
writing dependency_links to Frechet_CUDA.egg-info\dependency_links.txt
writing top-level names to Frechet_CUDA.egg-info\top_level.txt
reading manifest file 'Frechet_CUDA.egg-info\SOURCES.txt'
writing manifest file 'Frechet_CUDA.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_ext
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.19043.
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1689 ] _boost_TEST_VERSIONS = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1690 ] Boost_USE_MULTITHREADED = "TRUE"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1691 ] Boost_USE_STATIC_LIBS = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1692 ] Boost_USE_STATIC_RUNTIME = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1693 ] Boost_ADDITIONAL_VERSIONS = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1694 ] Boost_NO_SYSTEM_PATHS = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1726 ] BOOST_ROOT = "C:/Users/Anwender/AppData/Local/boost_1_80_0"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1727 ] ENV{BOOST_ROOT} = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1728 ] BOOST_INCLUDEDIR = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1729 ] ENV{BOOST_INCLUDEDIR} = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1730 ] BOOST_LIBRARYDIR = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1731 ] ENV{BOOST_LIBRARYDIR} = <unset>
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1819 ] location of version.hpp: C:/Users/Anwender/AppData/Local/boost_1_80_0/boost/version.hpp
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1859 ] Boost_VERSION = "108000"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1860 ] Boost_VERSION_STRING = "1.80.0"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1861 ] Boost_VERSION_MACRO = "108000"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1862 ] Boost_VERSION_MAJOR = "1"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1863 ] Boost_VERSION_MINOR = "80"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1864 ] Boost_VERSION_PATCH = "0"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1865 ] Boost_VERSION_COUNT = "3"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1889 ] Boost_LIB_PREFIX = ""
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1890 ] Boost_NAMESPACE = "boost"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:953 ] _boost_COMPILER = "-vc143;-vc142;-vc141;-vc140" (guessed)
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1926 ] _boost_MULTITHREADED = "-mt"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2004 ] _boost_ARCHITECTURE_TAG = "-x64" (detected)
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2008 ] _boost_RELEASE_ABI_TAG = "-"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2009 ] _boost_DEBUG_ABI_TAG = "-gd"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2069 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:/Users/Anwender/AppData/Local/boost_1_80_0/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/stage/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.0;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/stage/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.0;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.0;C:/boost/lib64-msvc-14.3;C:/boost/lib64-msvc-14.2;C:/boost/lib64-msvc-14.1;C:/boost/lib64-msvc-14.0;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2070 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:/Users/Anwender/AppData/Local/boost_1_80_0/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/stage/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.0;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/stage/lib;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/../lib64-msvc-14.0;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.3;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.2;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.1;C:/Users/Anwender/AppData/Local/boost_1_80_0/lib64-msvc-14.0;C:/boost/lib64-msvc-14.3;C:/boost/lib64-msvc-14.2;C:/boost/lib64-msvc-14.1;C:/boost/lib64-msvc-14.0;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
CMake Warning at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
CMake Warning at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
CMake Warning at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
CMake Warning at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
CMake Warning at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2255 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-vc143-mt-x64-1_80;boost_system-vc143-mt-x64;boost_system-vc143-mt;boost_system-vc142-mt-x64-1_80;boost_system-vc142-mt-x64;boost_system-vc142-mt;boost_system-vc141-mt-x64-1_80;boost_system-vc141-mt-x64;boost_system-vc141-mt;boost_system-vc140-mt-x64-1_80;boost_system-vc140-mt-x64;boost_system-vc140-mt;boost_system-mt-x64-1_80;boost_system-mt-x64;boost_system-mt;boost_system-mt;boost_system
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2310 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-vc143-mt-gd-x64-1_80;boost_system-vc143-mt-gd-x64;boost_system-vc143-mt-gd;boost_system-vc142-mt-gd-x64-1_80;boost_system-vc142-mt-gd-x64;boost_system-vc142-mt-gd;boost_system-vc141-mt-gd-x64-1_80;boost_system-vc141-mt-gd-x64;boost_system-vc141-mt-gd;boost_system-vc140-mt-gd-x64-1_80;boost_system-vc140-mt-gd-x64;boost_system-vc140-mt-gd;boost_system-mt-gd-x64-1_80;boost_system-mt-gd-x64;boost_system-mt-gd;boost_system-mt;boost_system
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2255 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-vc143-mt-x64-1_80;boost_chrono-vc143-mt-x64;boost_chrono-vc143-mt;boost_chrono-vc142-mt-x64-1_80;boost_chrono-vc142-mt-x64;boost_chrono-vc142-mt;boost_chrono-vc141-mt-x64-1_80;boost_chrono-vc141-mt-x64;boost_chrono-vc141-mt;boost_chrono-vc140-mt-x64-1_80;boost_chrono-vc140-mt-x64;boost_chrono-vc140-mt;boost_chrono-mt-x64-1_80;boost_chrono-mt-x64;boost_chrono-mt;boost_chrono-mt;boost_chrono
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2310 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-vc143-mt-gd-x64-1_80;boost_chrono-vc143-mt-gd-x64;boost_chrono-vc143-mt-gd;boost_chrono-vc142-mt-gd-x64-1_80;boost_chrono-vc142-mt-gd-x64;boost_chrono-vc142-mt-gd;boost_chrono-vc141-mt-gd-x64-1_80;boost_chrono-vc141-mt-gd-x64;boost_chrono-vc141-mt-gd;boost_chrono-vc140-mt-gd-x64-1_80;boost_chrono-vc140-mt-gd-x64;boost_chrono-vc140-mt-gd;boost_chrono-mt-gd-x64-1_80;boost_chrono-mt-gd-x64;boost_chrono-mt-gd;boost_chrono-mt;boost_chrono
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2255 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-vc143-mt-x64-1_80;boost_program_options-vc143-mt-x64;boost_program_options-vc143-mt;boost_program_options-vc142-mt-x64-1_80;boost_program_options-vc142-mt-x64;boost_program_options-vc142-mt;boost_program_options-vc141-mt-x64-1_80;boost_program_options-vc141-mt-x64;boost_program_options-vc141-mt;boost_program_options-vc140-mt-x64-1_80;boost_program_options-vc140-mt-x64;boost_program_options-vc140-mt;boost_program_options-mt-x64-1_80;boost_program_options-mt-x64;boost_program_options-mt;boost_program_options-mt;boost_program_options
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2310 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-vc143-mt-gd-x64-1_80;boost_program_options-vc143-mt-gd-x64;boost_program_options-vc143-mt-gd;boost_program_options-vc142-mt-gd-x64-1_80;boost_program_options-vc142-mt-gd-x64;boost_program_options-vc142-mt-gd;boost_program_options-vc141-mt-gd-x64-1_80;boost_program_options-vc141-mt-gd-x64;boost_program_options-vc141-mt-gd;boost_program_options-vc140-mt-gd-x64-1_80;boost_program_options-vc140-mt-gd-x64;boost_program_options-vc140-mt-gd;boost_program_options-mt-gd-x64-1_80;boost_program_options-mt-gd-x64;boost_program_options-mt-gd;boost_program_options-mt;boost_program_options
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2195 ] Component-specific library search names for : python3
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2255 ] Searching for PYTHON3_LIBRARY_RELEASE: boost_python3-vc143-mt-x64-1_80;boost_python3-vc143-mt-x64;boost_python3-vc143-mt;boost_python3-vc142-mt-x64-1_80;boost_python3-vc142-mt-x64;boost_python3-vc142-mt;boost_python3-vc141-mt-x64-1_80;boost_python3-vc141-mt-x64;boost_python3-vc141-mt;boost_python3-vc140-mt-x64-1_80;boost_python3-vc140-mt-x64;boost_python3-vc140-mt;boost_python3-mt-x64-1_80;boost_python3-mt-x64;boost_python3-mt;boost_python3-mt;boost_python3;boost_python3-vc143-mt-x64-1_80;boost_python3-vc143-mt-x64;boost_python3-vc143-mt;boost_python3-vc142-mt-x64-1_80;boost_python3-vc142-mt-x64;boost_python3-vc142-mt;boost_python3-vc141-mt-x64-1_80;boost_python3-vc141-mt-x64;boost_python3-vc141-mt;boost_python3-vc140-mt-x64-1_80;boost_python3-vc140-mt-x64;boost_python3-vc140-mt;boost_python3-mt-x64-1_80;boost_python3-mt-x64;boost_python3-mt;boost_python3-mt;boost_python3
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2310 ] Searching for PYTHON3_LIBRARY_DEBUG: boost_python3-vc143-mt-gd-x64-1_80;boost_python3-vc143-mt-gd-x64;boost_python3-vc143-mt-gd;boost_python3-vc142-mt-gd-x64-1_80;boost_python3-vc142-mt-gd-x64;boost_python3-vc142-mt-gd;boost_python3-vc141-mt-gd-x64-1_80;boost_python3-vc141-mt-gd-x64;boost_python3-vc141-mt-gd;boost_python3-vc140-mt-gd-x64-1_80;boost_python3-vc140-mt-gd-x64;boost_python3-vc140-mt-gd;boost_python3-mt-gd-x64-1_80;boost_python3-mt-gd-x64;boost_python3-mt-gd;boost_python3-mt;boost_python3;boost_python3-vc143-mt-gd-x64-1_80;boost_python3-vc143-mt-gd-x64;boost_python3-vc143-mt-gd;boost_python3-vc142-mt-gd-x64-1_80;boost_python3-vc142-mt-gd-x64;boost_python3-vc142-mt-gd;boost_python3-vc141-mt-gd-x64-1_80;boost_python3-vc141-mt-gd-x64;boost_python3-vc141-mt-gd;boost_python3-vc140-mt-gd-x64-1_80;boost_python3-vc140-mt-gd-x64;boost_python3-vc140-mt-gd;boost_python3-mt-gd-x64-1_80;boost_python3-mt-gd-x64;boost_python3-mt-gd;boost_python3-mt;boost_python3
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2195 ] Component-specific library search names for : numpy3
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2255 ] Searching for NUMPY3_LIBRARY_RELEASE: boost_numpy3-vc143-mt-x64-1_80;boost_numpy3-vc143-mt-x64;boost_numpy3-vc143-mt;boost_numpy3-vc142-mt-x64-1_80;boost_numpy3-vc142-mt-x64;boost_numpy3-vc142-mt;boost_numpy3-vc141-mt-x64-1_80;boost_numpy3-vc141-mt-x64;boost_numpy3-vc141-mt;boost_numpy3-vc140-mt-x64-1_80;boost_numpy3-vc140-mt-x64;boost_numpy3-vc140-mt;boost_numpy3-mt-x64-1_80;boost_numpy3-mt-x64;boost_numpy3-mt;boost_numpy3-mt;boost_numpy3;boost_numpy3-vc143-mt-x64-1_80;boost_numpy3-vc143-mt-x64;boost_numpy3-vc143-mt;boost_numpy3-vc142-mt-x64-1_80;boost_numpy3-vc142-mt-x64;boost_numpy3-vc142-mt;boost_numpy3-vc141-mt-x64-1_80;boost_numpy3-vc141-mt-x64;boost_numpy3-vc141-mt;boost_numpy3-vc140-mt-x64-1_80;boost_numpy3-vc140-mt-x64;boost_numpy3-vc140-mt;boost_numpy3-mt-x64-1_80;boost_numpy3-mt-x64;boost_numpy3-mt;boost_numpy3-mt;boost_numpy3
-- [ C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2310 ] Searching for NUMPY3_LIBRARY_DEBUG: boost_numpy3-vc143-mt-gd-x64-1_80;boost_numpy3-vc143-mt-gd-x64;boost_numpy3-vc143-mt-gd;boost_numpy3-vc142-mt-gd-x64-1_80;boost_numpy3-vc142-mt-gd-x64;boost_numpy3-vc142-mt-gd;boost_numpy3-vc141-mt-gd-x64-1_80;boost_numpy3-vc141-mt-gd-x64;boost_numpy3-vc141-mt-gd;boost_numpy3-vc140-mt-gd-x64-1_80;boost_numpy3-vc140-mt-gd-x64;boost_numpy3-vc140-mt-gd;boost_numpy3-mt-gd-x64-1_80;boost_numpy3-mt-gd-x64;boost_numpy3-mt-gd;boost_numpy3-mt;boost_numpy3;boost_numpy3-vc143-mt-gd-x64-1_80;boost_numpy3-vc143-mt-gd-x64;boost_numpy3-vc143-mt-gd;boost_numpy3-vc142-mt-gd-x64-1_80;boost_numpy3-vc142-mt-gd-x64;boost_numpy3-vc142-mt-gd;boost_numpy3-vc141-mt-gd-x64-1_80;boost_numpy3-vc141-mt-gd-x64;boost_numpy3-vc141-mt-gd;boost_numpy3-vc140-mt-gd-x64-1_80;boost_numpy3-vc140-mt-gd-x64;boost_numpy3-vc140-mt-gd;boost_numpy3-mt-gd-x64-1_80;boost_numpy3-mt-gd-x64;boost_numpy3-mt-gd;boost_numpy3-mt;boost_numpy3
CMake Error at C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: system chrono program_options python3
numpy3) (found suitable version "1.80.0", minimum required is "1.80")
Call Stack (most recent call first):
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Users/Anwender/AppData/Local/Programs/Python/Python37/Lib/site-packages/cmake/data/share/cmake-3.24/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args)
CMakeLists.txt:31 (find_package)
-- Configuring incomplete, errors occurred!
See also "C:/Users/Anwender/Documents/GitHub/some_project/py/build/temp.win-amd64-cpython-37/Release/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Anwender/Documents/GitHub/some_project/py/build/temp.win-amd64-cpython-37/Release/CMakeFiles/CMakeError.log".
Traceback (most recent call last):
File "setup.py", line 81, in <module>
zip_safe=False,
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\__init__.py", line 87, in setup
return distutils.core.setup(**attrs)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\core.py", line 185, in setup
return run_commands(dist)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\core.py", line 201, in run_commands
dist.run_commands()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\dist.py", line 973, in run_commands
self.run_command(cmd)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\install.py", line 74, in run
self.do_egg_install()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\install.py", line 123, in do_egg_install
self.run_command('bdist_egg')
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\bdist_egg.py", line 165, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\bdist_egg.py", line 151, in call_command
self.run_command(cmdname)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\command\install_lib.py", line 11, in run
self.build()
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\command\install_lib.py", line 112, in build
self.run_command('build_ext')
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\cmd.py", line 319, in run_command
self.distribution.run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\dist.py", line 1217, in run_command
super().run_command(command)
File "C:\Users\Anwender\AppData\Local\Programs\Spyder\pkgs\setuptools\_distutils\dist.py", line 992, in run_command
cmd_obj.run()
File "setup.py", line 35, in run
self.build_extension(ext)
File "setup.py", line 64, in build_extension
cwd=self.build_temp, env=env)
File "C:\Users\Anwender\AppData\Local\Programs\Python\Python37\lib\subprocess.py", line 328, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\Anwender\\Documents\\GitHub\\some_project\\py/..', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\Anwender\\Documents\\GitHub\\some_project\\py\\build\\lib.win-amd64-cpython-37', '-DPYTHON_EXECUTABLE=C:\\Users\\Anwender\\AppData\\Local\\Programs\\Python\\Python37\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\Anwender\\Documents\\GitHub\\some_project\\py\\build\\lib.win-amd64-cpython-37', '-A', 'x64']' returned non-zero exit status 1.
I added set(Boost_INCLUDE_DIRS C:/Users/Anwender/AppData/Local/boost_1_80_0/libs) to the CMakeList.txt since most of the components in question (still missing python3 and numpy3) are located in this folder.
Question: What does CMake need to recognize the boost components in question?
EDIT I: The CMakeList.txt looks like the following:
cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(frechet_cuda LANGUAGES CUDA CXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fopenmp")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive") #supress error in older gcc
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast")
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} --ptxas-options=-v")
set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} -O3 -gencode arch=compute_50,code=sm_50;-rdc=true;-use_fast_math")
enable_language(CUDA)
if(NOT DEFINED CMAKE_CUDA_STANDARD)
set(CMAKE_CUDA_STANDARD 11)
set(CMAKE_CUDA_STANDARD_REQUIRED ON)
endif()
# Include header files from directory 'include'
include_directories(${CMAKE_SOURCE_DIR}/include)
find_package(PythonInterp REQUIRED)
find_package(PythonLibs REQUIRED)
set(BOOST_ROOT C:/Users/Anwender/AppData/Local/boost_1_79_0/)
set(Boost_INCLUDE_DIRS C:/Users/Anwender/AppData/Local/boost_1_79_0/libs)
set(Boost_DEBUG ON)
find_package(Boost 1.79 COMPONENTS system chrono program_options python3 numpy3 REQUIRED)
find_package(CUDA REQUIRED)
include_directories(${PYTHON_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${CUDA_INCLUDE_DIRS} ${install_dir}/include)
link_libraries(${PYTHON_LIBRARIES} ${Boost_LIBRARIES} ${DLIB_LIBRARIES} ${CUDA_LIBRARIES})
add_definitions(-D_GLIBCXX_PARALLEL)
PYTHON_ADD_MODULE(frechet_cuda
src/compute_distance_wrapper.cpp
src/curve.cpp
src/geometry_basics.cpp
src/frechet.cpp
src/intersection_algorithm_in_parallel.cu
)
EDIT II:
overview of the filesystem system in my boost folder (path= C:\Users\Anwender\AppData\Local\boost_1_79_0\boost)
The result can be seen here (Output would be too long for the body) tl;dr: I cant see such file as described in the SYSTEM_LIBRARY_RELEASE.
How can I get those files and where to put them?
Related
Trying to install Boost as static library, so I can include it in my binary to not need to install it on system. But it seems to failed of this error below:
Run cmake . -G "Visual Studio 16 2019" -B build -DSTATIC=true
-DDO_TESTS=OFF -DCMAKE_C_FLAGS="-fassociative-math" -DCMAKE_CXX_FLAGS="-fassociative-math" -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=C:\boost_1_74_0\boost_1_74_0
-- The C compiler identification is MSVC 19.29.30147.0
-- The CXX compiler identification is MSVC 19.29.30147.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
- skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe
- skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE CMake Warning (dev) at CMakeLists.txt:43 (set): implicitly converting 'TYPE' to 'STRING' type.
-- FORCE_USE_HEAP: ENABLED This warning is for project developers. Use -Wno-dev to suppress it.
-- HW AES: ENABLED
-- OPTIMIZED_ARM_MULTIPLICATION: ENABLED
-- Found Git: C:/Program Files/Git/bin/git.exe CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost (missing: system filesystem thread date_time chrono regex serialization program_options) (found version "1.74.0") Call Stack (most recent call first): C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args) CMakeLists.txt:270 (find_package)
-- Configuring incomplete, errors occurred! See also "D:/a/kryptokrona/kryptokrona/build/CMakeFiles/CMakeOutput.log". See also "D:/a/kryptokrona/kryptokrona/build/CMakeFiles/CMakeError.log". Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist. Switch: ALL_BUILD.vcxproj Error: Process completed with exit code 1.
So this is how I set it up in CMake:
# Go get us some static BOOST libraries
set(Boost_NO_BOOST_CMAKE ON)
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
# Checker if we build on GitHub Actions and building for Visual C++
if(DEFINED ENV{CI} AND MSVC)
set(Boost_USE_STATIC_RUNTIME ON)
set(Boost_NO_SYSTEM_PATHS ON)
else()
set(Boost_USE_STATIC_RUNTIME ON) # ON was before
endif()
In GitHub workflow:
# install dependencies
- name: Install Windows 2019 Dependencies
if: matrix.config.os == 'windows-2019'
uses: microsoft/setup-msbuild#v1.1
with:
msbuild-architecture: x64
- name: Install Windows Boost
if: matrix.config.os == 'windows-2019'
run: |
Invoke-WebRequest -Uri https://boostorg.jfrog.io/artifactory/main/release/1.74.0/source/boost_1_74_0.zip -OutFile C:\boost_1_74_0.zip
Expand-Archive C:\boost_1_74_0.zip -DestinationPath C:\boost_1_74_0
Set-Location C:\boost_1_74_0\boost_1_74_0\tools\build
C:\boost_1_74_0\boost_1_74_0\tools\build\bootstrap.bat
.\b2 toolset=msvc variant=release optimization=space threading=multi link=static address-model=64 install
- name: Build Windows 2019
if: matrix.config.os == 'windows-2019'
run: |
cmake . -G "Visual Studio 16 2019" -B build -DSTATIC=true -DDO_TESTS=OFF -DCMAKE_C_FLAGS="-fassociative-math" -DCMAKE_CXX_FLAGS="-fassociative-math" -DCMAKE_BUILD_TYPE=Release -DBOOST_ROOT=C:\boost_1_74_0\boost_1_74_0
cmake --build ./build --config Release
How can I make this work to load Boost so it loads Boosts? It works on macOS and Ubuntu since I install them system wide first. But then compile it as static.
After passing debug options on for Boost this is the output:
- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1689 ] _boost_TEST_VERSIONS = "1.80.0;1.80;1.79.0;1.79;1.78.0;1.78;1.77.0;1.77;1.76.0;1.76;1.75.0;1.75;1.74.0;1.74;1.73.0;1.73;1.72.0;1.72;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;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"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1690 ] Boost_USE_MULTITHREADED = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1691 ] Boost_USE_STATIC_LIBS = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1692 ] Boost_USE_STATIC_RUNTIME = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1693 ] Boost_ADDITIONAL_VERSIONS = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1694 ] Boost_NO_SYSTEM_PATHS = "ON"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1726 ] BOOST_ROOT = "C:\boost_1_74_0\boost_1_74_0"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1727 ] ENV{BOOST_ROOT} = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1728 ] BOOST_INCLUDEDIR = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1729 ] ENV{BOOST_INCLUDEDIR} = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1730 ] BOOST_LIBRARYDIR = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1731 ] ENV{BOOST_LIBRARYDIR} = <unset>
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1803 ] _boost_INCLUDE_SEARCH_DIRS = "C:\boost_1_74_0\boost_1_74_0/include;C:\boost_1_74_0\boost_1_74_0;NO_CMAKE_SYSTEM_PATH;NO_SYSTEM_ENVIRONMENT_PATH"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1804 ] _boost_PATH_SUFFIXES = "boost-1_80_0;boost_1_80_0;boost/boost-1_80_0;boost/boost_1_80_0;boost-1_80;boost_1_80;boost/boost-1_80;boost/boost_1_80;boost-1_79_0;boost_1_79_0;boost/boost-1_79_0;boost/boost_1_79_0;boost-1_79;boost_1_79;boost/boost-1_79;boost/boost_1_79;boost-1_78_0;boost_1_78_0;boost/boost-1_78_0;boost/boost_1_78_0;boost-1_78;boost_1_78;boost/boost-1_78;boost/boost_1_78;boost-1_77_0;boost_1_77_0;boost/boost-1_77_0;boost/boost_1_77_0;boost-1_77;boost_1_77;boost/boost-1_77;boost/boost_1_77;boost-1_76_0;boost_1_76_0;boost/boost-1_76_0;boost/boost_1_76_0;boost-1_76;boost_1_76;boost/boost-1_76;boost/boost_1_76;boost-1_75_0;boost_1_75_0;boost/boost-1_75_0;boost/boost_1_75_0;boost-1_75;boost_1_75;boost/boost-1_75;boost/boost_1_75;boost-1_74_0;boost_1_74_0;boost/boost-1_74_0;boost/boost_1_74_0;boost-1_74;boost_1_74;boost/boost-1_74;boost/boost_1_74;boost-1_73_0;boost_1_73_0;boost/boost-1_73_0;boost/boost_1_73_0;boost-1_73;boost_1_7...
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1819 ] location of version.hpp: C:/boost_1_74_0/boost_1_74_0/boost/version.hpp
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1859 ] Boost_VERSION = "107400"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1860 ] Boost_VERSION_STRING = "1.74.0"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1861 ] Boost_VERSION_MACRO = "107400"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1862 ] Boost_VERSION_MAJOR = "1"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1863 ] Boost_VERSION_MINOR = "74"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1864 ] Boost_VERSION_PATCH = "0"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1865 ] Boost_VERSION_COUNT = "3"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1889 ] Boost_LIB_PREFIX = "lib"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1890 ] Boost_NAMESPACE = "boost"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:953 ] _boost_COMPILER = "-vc142;-vc141;-vc140" (guessed)
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:1926 ] _boost_MULTITHREADED = "-mt"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2004 ] _boost_ARCHITECTURE_TAG = "-x64" (detected)
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2008 ] _boost_RELEASE_ABI_TAG = "-s"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2009 ] _boost_DEBUG_ABI_TAG = "-sgd"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2069 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:\boost_1_74_0\boost_1_74_0/lib;C:\boost_1_74_0\boost_1_74_0/stage/lib;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.2;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.1;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.0;C:/boost_1_74_0/boost_1_74_0/lib;C:/boost_1_74_0/boost_1_74_0/../lib;C:/boost_1_74_0/boost_1_74_0/stage/lib;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.2;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.1;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.0;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.2;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.1;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.0;NO_CMAKE_SYSTEM_PATH;NO_SYSTEM_ENVIRONMENT_PATH"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2070 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:\boost_1_74_0\boost_1_74_0/lib;C:\boost_1_74_0\boost_1_74_0/stage/lib;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.2;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.1;C:\boost_1_74_0\boost_1_74_0/lib64-msvc-14.0;C:/boost_1_74_0/boost_1_74_0/lib;C:/boost_1_74_0/boost_1_74_0/../lib;C:/boost_1_74_0/boost_1_74_0/stage/lib;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.2;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.1;C:/boost_1_74_0/boost_1_74_0/../lib64-msvc-14.0;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.2;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.1;C:/boost_1_74_0/boost_1_74_0/lib64-msvc-14.0;NO_CMAKE_SYSTEM_PATH;NO_SYSTEM_ENVIRONMENT_PATH"
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for SYSTEM_LIBRARY_RELEASE: libboost_system-vc142-mt-s-x64-1_74;libboost_system-vc142-mt-s-x64;libboost_system-vc142-mt-s;libboost_system-vc141-mt-s-x64-1_74;libboost_system-vc141-mt-s-x64;libboost_system-vc141-mt-s;libboost_system-vc140-mt-s-x64-1_74;libboost_system-vc140-mt-s-x64;libboost_system-vc140-mt-s;libboost_system-mt-s-x64-1_74;libboost_system-mt-s-x64;libboost_system-mt-s;libboost_system-mt;libboost_system
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for SYSTEM_LIBRARY_DEBUG: libboost_system-vc142-mt-sgd-x64-1_74;libboost_system-vc142-mt-sgd-x64;libboost_system-vc142-mt-sgd;libboost_system-vc141-mt-sgd-x64-1_74;libboost_system-vc141-mt-sgd-x64;libboost_system-vc141-mt-sgd;libboost_system-vc140-mt-sgd-x64-1_74;libboost_system-vc140-mt-sgd-x64;libboost_system-vc140-mt-sgd;libboost_system-mt-sgd-x64-1_74;libboost_system-mt-sgd-x64;libboost_system-mt-sgd;libboost_system-mt;libboost_system
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for FILESYSTEM_LIBRARY_RELEASE: libboost_filesystem-vc142-mt-s-x64-1_74;libboost_filesystem-vc142-mt-s-x64;libboost_filesystem-vc142-mt-s;libboost_filesystem-vc141-mt-s-x64-1_74;libboost_filesystem-vc141-mt-s-x64;libboost_filesystem-vc141-mt-s;libboost_filesystem-vc140-mt-s-x64-1_74;libboost_filesystem-vc140-mt-s-x64;libboost_filesystem-vc140-mt-s;libboost_filesystem-mt-s-x64-1_74;libboost_filesystem-mt-s-x64;libboost_filesystem-mt-s;libboost_filesystem-mt;libboost_filesystem
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for FILESYSTEM_LIBRARY_DEBUG: libboost_filesystem-vc142-mt-sgd-x64-1_74;libboost_filesystem-vc142-mt-sgd-x64;libboost_filesystem-vc142-mt-sgd;libboost_filesystem-vc141-mt-sgd-x64-1_74;libboost_filesystem-vc141-mt-sgd-x64;libboost_filesystem-vc141-mt-sgd;libboost_filesystem-vc140-mt-sgd-x64-1_74;libboost_filesystem-vc140-mt-sgd-x64;libboost_filesystem-vc140-mt-sgd;libboost_filesystem-mt-sgd-x64-1_74;libboost_filesystem-mt-sgd-x64;libboost_filesystem-mt-sgd;libboost_filesystem-mt;libboost_filesystem
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for THREAD_LIBRARY_RELEASE: libboost_thread-vc142-mt-s-x64-1_74;libboost_thread-vc142-mt-s-x64;libboost_thread-vc142-mt-s;libboost_thread-vc141-mt-s-x64-1_74;libboost_thread-vc141-mt-s-x64;libboost_thread-vc141-mt-s;libboost_thread-vc140-mt-s-x64-1_74;libboost_thread-vc140-mt-s-x64;libboost_thread-vc140-mt-s;libboost_thread-mt-s-x64-1_74;libboost_thread-mt-s-x64;libboost_thread-mt-s;libboost_thread-mt;libboost_thread
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for THREAD_LIBRARY_DEBUG: libboost_thread-vc142-mt-sgd-x64-1_74;libboost_thread-vc142-mt-sgd-x64;libboost_thread-vc142-mt-sgd;libboost_thread-vc141-mt-sgd-x64-1_74;libboost_thread-vc141-mt-sgd-x64;libboost_thread-vc141-mt-sgd;libboost_thread-vc140-mt-sgd-x64-1_74;libboost_thread-vc140-mt-sgd-x64;libboost_thread-vc140-mt-sgd;libboost_thread-mt-sgd-x64-1_74;libboost_thread-mt-sgd-x64;libboost_thread-mt-sgd;libboost_thread-mt;libboost_thread
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for DATE_TIME_LIBRARY_RELEASE: libboost_date_time-vc142-mt-s-x64-1_74;libboost_date_time-vc142-mt-s-x64;libboost_date_time-vc142-mt-s;libboost_date_time-vc141-mt-s-x64-1_74;libboost_date_time-vc141-mt-s-x64;libboost_date_time-vc141-mt-s;libboost_date_time-vc140-mt-s-x64-1_74;libboost_date_time-vc140-mt-s-x64;libboost_date_time-vc140-mt-s;libboost_date_time-mt-s-x64-1_74;libboost_date_time-mt-s-x64;libboost_date_time-mt-s;libboost_date_time-mt;libboost_date_time
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for DATE_TIME_LIBRARY_DEBUG: libboost_date_time-vc142-mt-sgd-x64-1_74;libboost_date_time-vc142-mt-sgd-x64;libboost_date_time-vc142-mt-sgd;libboost_date_time-vc141-mt-sgd-x64-1_74;libboost_date_time-vc141-mt-sgd-x64;libboost_date_time-vc141-mt-sgd;libboost_date_time-vc140-mt-sgd-x64-1_74;libboost_date_time-vc140-mt-sgd-x64;libboost_date_time-vc140-mt-sgd;libboost_date_time-mt-sgd-x64-1_74;libboost_date_time-mt-sgd-x64;libboost_date_time-mt-sgd;libboost_date_time-mt;libboost_date_time
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for CHRONO_LIBRARY_RELEASE: libboost_chrono-vc142-mt-s-x64-1_74;libboost_chrono-vc142-mt-s-x64;libboost_chrono-vc142-mt-s;libboost_chrono-vc141-mt-s-x64-1_74;libboost_chrono-vc141-mt-s-x64;libboost_chrono-vc141-mt-s;libboost_chrono-vc140-mt-s-x64-1_74;libboost_chrono-vc140-mt-s-x64;libboost_chrono-vc140-mt-s;libboost_chrono-mt-s-x64-1_74;libboost_chrono-mt-s-x64;libboost_chrono-mt-s;libboost_chrono-mt;libboost_chrono
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for CHRONO_LIBRARY_DEBUG: libboost_chrono-vc142-mt-sgd-x64-1_74;libboost_chrono-vc142-mt-sgd-x64;libboost_chrono-vc142-mt-sgd;libboost_chrono-vc141-mt-sgd-x64-1_74;libboost_chrono-vc141-mt-sgd-x64;libboost_chrono-vc141-mt-sgd;libboost_chrono-vc140-mt-sgd-x64-1_74;libboost_chrono-vc140-mt-sgd-x64;libboost_chrono-vc140-mt-sgd;libboost_chrono-mt-sgd-x64-1_74;libboost_chrono-mt-sgd-x64;libboost_chrono-mt-sgd;libboost_chrono-mt;libboost_chrono
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for REGEX_LIBRARY_RELEASE: libboost_regex-vc142-mt-s-x64-1_74;libboost_regex-vc142-mt-s-x64;libboost_regex-vc142-mt-s;libboost_regex-vc141-mt-s-x64-1_74;libboost_regex-vc141-mt-s-x64;libboost_regex-vc141-mt-s;libboost_regex-vc140-mt-s-x64-1_74;libboost_regex-vc140-mt-s-x64;libboost_regex-vc140-mt-s;libboost_regex-mt-s-x64-1_74;libboost_regex-mt-s-x64;libboost_regex-mt-s;libboost_regex-mt;libboost_regex
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for REGEX_LIBRARY_DEBUG: libboost_regex-vc142-mt-sgd-x64-1_74;libboost_regex-vc142-mt-sgd-x64;libboost_regex-vc142-mt-sgd;libboost_regex-vc141-mt-sgd-x64-1_74;libboost_regex-vc141-mt-sgd-x64;libboost_regex-vc141-mt-sgd;libboost_regex-vc140-mt-sgd-x64-1_74;libboost_regex-vc140-mt-sgd-x64;libboost_regex-vc140-mt-sgd;libboost_regex-mt-sgd-x64-1_74;libboost_regex-mt-sgd-x64;libboost_regex-mt-sgd;libboost_regex-mt;libboost_regex
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for SERIALIZATION_LIBRARY_RELEASE: libboost_serialization-vc142-mt-s-x64-1_74;libboost_serialization-vc142-mt-s-x64;libboost_serialization-vc142-mt-s;libboost_serialization-vc141-mt-s-x64-1_74;libboost_serialization-vc141-mt-s-x64;libboost_serialization-vc141-mt-s;libboost_serialization-vc140-mt-s-x64-1_74;libboost_serialization-vc140-mt-s-x64;libboost_serialization-vc140-mt-s;libboost_serialization-mt-s-x64-1_74;libboost_serialization-mt-s-x64;libboost_serialization-mt-s;libboost_serialization-mt;libboost_serialization
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for SERIALIZATION_LIBRARY_DEBUG: libboost_serialization-vc142-mt-sgd-x64-1_74;libboost_serialization-vc142-mt-sgd-x64;libboost_serialization-vc142-mt-sgd;libboost_serialization-vc141-mt-sgd-x64-1_74;libboost_serialization-vc141-mt-sgd-x64;libboost_serialization-vc141-mt-sgd;libboost_serialization-vc140-mt-sgd-x64-1_74;libboost_serialization-vc140-mt-sgd-x64;libboost_serialization-vc140-mt-sgd;libboost_serialization-mt-sgd-x64-1_74;libboost_serialization-mt-sgd-x64;libboost_serialization-mt-sgd;libboost_serialization-mt;libboost_serialization
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: libboost_program_options-vc142-mt-s-x64-1_74;libboost_program_options-vc142-mt-s-x64;libboost_program_options-vc142-mt-s;libboost_program_options-vc141-mt-s-x64-1_74;libboost_program_options-vc141-mt-s-x64;libboost_program_options-vc141-mt-s;libboost_program_options-vc140-mt-s-x64-1_74;libboost_program_options-vc140-mt-s-x64;libboost_program_options-vc140-mt-s;libboost_program_options-mt-s-x64-1_74;libboost_program_options-mt-s-x64;libboost_program_options-mt-s;libboost_program_options-mt;libboost_program_options
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: libboost_program_options-vc142-mt-sgd-x64-1_74;libboost_program_options-vc142-mt-sgd-x64;libboost_program_options-vc142-mt-sgd;libboost_program_options-vc141-mt-sgd-x64-1_74;libboost_program_options-vc141-mt-sgd-x64;libboost_program_options-vc141-mt-sgd;libboost_program_options-vc140-mt-sgd-x64-1_74;libboost_program_options-vc140-mt-sgd-x64;libboost_program_options-vc140-mt-sgd;libboost_program_options-mt-sgd-x64-1_74;libboost_program_options-mt-sgd-x64;libboost_program_options-mt-sgd;libboost_program_options-mt;libboost_program_options
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2255 ] Searching for ATOMIC_LIBRARY_RELEASE: libboost_atomic-vc142-mt-s-x64-1_74;libboost_atomic-vc142-mt-s-x64;libboost_atomic-vc142-mt-s;libboost_atomic-vc141-mt-s-x64-1_74;libboost_atomic-vc141-mt-s-x64;libboost_atomic-vc141-mt-s;libboost_atomic-vc140-mt-s-x64-1_74;libboost_atomic-vc140-mt-s-x64;libboost_atomic-vc140-mt-s;libboost_atomic-mt-s-x64-1_74;libboost_atomic-mt-s-x64;libboost_atomic-mt-s;libboost_atomic-mt;libboost_atomic
-- [ C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2310 ] Searching for ATOMIC_LIBRARY_DEBUG: libboost_atomic-vc142-mt-sgd-x64-1_74;libboost_atomic-vc142-mt-sgd-x64;libboost_atomic-vc142-mt-sgd;libboost_atomic-vc141-mt-sgd-x64-1_74;libboost_atomic-vc141-mt-sgd-x64;libboost_atomic-vc141-mt-sgd;libboost_atomic-vc140-mt-sgd-x64-1_74;libboost_atomic-vc140-mt-sgd-x64;libboost_atomic-vc140-mt-sgd;libboost_atomic-mt-sgd-x64-1_74;libboost_atomic-mt-sgd-x64;libboost_atomic-mt-sgd;libboost_atomic-mt;libboost_atomic
CMake Error at C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: system filesystem thread date_time chrono
regex serialization program_options) (found version "1.74.0")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
-- Configuring incomplete, errors occurred!
C:/Program Files/CMake/share/cmake-3.25/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args)
See also "D:/a/kryptokrona/kryptokrona/build/CMakeFiles/CMakeOutput.log".
CMakeLists.txt:270 (find_package)
See also "D:/a/kryptokrona/kryptokrona/build/CMakeFiles/CMakeError.log".
Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj
Error: Process completed with exit code 1.
I'm trying to build an open source project called tds2pdb on Windows. It requires Boost, so I downloaded Boost 1.78.0 and built libraries by the recommended method of using commands bootstrap and .\b2. Then I fired up the Cmake GUI and told it where to find Boost. But when I click Configure, it says it is missing 3 components.
Errors as text:
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: filesystem program_options iostreams) (found
suitable version "1.78.0", minimum required is "1.55")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2375 (find_package_handle_standard_args)
CMakeLists.txt:26 (find_package)
The necessary libraries are definitely there in the boost_1_78_0\stage\lib directory, so I don't understand why they aren't being found.
Following a suggestion in a comment, I set the flag Boost_DEBUG, and then the output is as follows:
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1688 ] _boost_TEST_VERSIONS = "1.78.0;1.78;1.77.0;1.77;1.76.0;1.76;1.75.0;1.75;1.74.0;1.74;1.73.0;1.73;1.72.0;1.72;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;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"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1689 ] Boost_USE_MULTITHREADED = "TRUE"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1690 ] Boost_USE_STATIC_LIBS = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1691 ] Boost_USE_STATIC_RUNTIME = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1692 ] Boost_ADDITIONAL_VERSIONS = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1693 ] Boost_NO_SYSTEM_PATHS = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1725 ] BOOST_ROOT = "C:\Code\boost_1_78_0"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1726 ] ENV{BOOST_ROOT} = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1727 ] BOOST_INCLUDEDIR = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1728 ] ENV{BOOST_INCLUDEDIR} = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1729 ] BOOST_LIBRARYDIR = "C:\Code\boost_1_78_0\stage"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1730 ] ENV{BOOST_LIBRARYDIR} = <unset>
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1818 ] location of version.hpp: C:\Code\boost_1_78_0/boost/version.hpp
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1858 ] Boost_VERSION = "107800"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1859 ] Boost_VERSION_STRING = "1.78.0"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1860 ] Boost_VERSION_MACRO = "107800"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1861 ] Boost_VERSION_MAJOR = "1"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1862 ] Boost_VERSION_MINOR = "78"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1863 ] Boost_VERSION_PATCH = "0"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1864 ] Boost_VERSION_COUNT = "3"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1888 ] Boost_LIB_PREFIX = ""
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1889 ] Boost_NAMESPACE = "boost"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:953 ] _boost_COMPILER = "-vc143;-vc142;-vc141;-vc140" (guessed)
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:1925 ] _boost_MULTITHREADED = "-mt"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2003 ] _boost_ARCHITECTURE_TAG = "-x64" (detected)
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2007 ] _boost_RELEASE_ABI_TAG = "-"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2008 ] _boost_DEBUG_ABI_TAG = "-gd"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2068 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "C:\Code\boost_1_78_0\stage;C:\Code\boost_1_78_0/lib;C:\Code\boost_1_78_0/stage/lib;C:\Code\boost_1_78_0/lib64-msvc-14.3;C:\Code\boost_1_78_0/lib64-msvc-14.2;C:\Code\boost_1_78_0/lib64-msvc-14.1;C:\Code\boost_1_78_0/lib64-msvc-14.0;C:\Code\boost_1_78_0/lib;C:\Code\boost_1_78_0/../lib;C:\Code\boost_1_78_0/stage/lib;C:\Code\boost_1_78_0/../lib64-msvc-14.3;C:\Code\boost_1_78_0/../lib64-msvc-14.2;C:\Code\boost_1_78_0/../lib64-msvc-14.1;C:\Code\boost_1_78_0/../lib64-msvc-14.0;C:\Code\boost_1_78_0/lib64-msvc-14.3;C:\Code\boost_1_78_0/lib64-msvc-14.2;C:\Code\boost_1_78_0/lib64-msvc-14.1;C:\Code\boost_1_78_0/lib64-msvc-14.0;C:/local/boost_1_78_0/lib64-msvc-14.3;C:/local/boost_1_78_0/lib64-msvc-14.2;C:/local/boost_1_78_0/lib64-msvc-14.1;C:/local/boost_1_78_0/lib64-msvc-14.0;C:/local/boost_1_78/lib64-msvc-14.3;C:/local/boost_1_78/lib64-msvc-14.2;C:/local/boost_1_78/lib64-msvc-14.1;C:/local/boost_1_78/lib64-msvc-14.0;C:/local/boost_1_77_0/lib64-msvc-14.3;C:/local/boost_1_77_0/lib64-msvc-14.2;C:/local/boost_1_77_0/lib64-msvc-14.1;C:/local/boost_1_77_0/lib64-msvc-14.0;C:/local/boost_1_77/lib64-msvc-14.3;C:/local/boost_1_77/lib64-msvc-14.2;C:/local/boost_1_77/lib64-msvc-14.1;C:/local/boost_1_77/lib64-msvc-14.0;C:/local/boost_1_76_0/lib64-msvc-14.3;C:/local/boost_1_76_0/lib64-msvc-14.2;C:/local/boost_1_76_0/lib64-msvc-14.1;C:/local/boost_1_76_0/lib64-msvc-14.0;C:/local/boost_1_76/lib64-msvc-14.3;C:/local/boost_1_76/lib64-msvc-14.2;C:/local/boost_1_76/lib64-msvc-14.1;C:/local/boost_1_76/lib64-msvc-14.0;C:/local/boost_1_75_0/lib64-msvc-14.3;C:/local/boost_1_75_0/lib64-msvc-14.2;C:/local/boost_1_75_0/lib64-msvc-14.1;C:/local/boost_1_75_0/lib64-msvc-14.0;C:/local/boost_1_75/lib64-msvc-14.3;C:/local/boost_1_75/lib64-msvc-14.2;C:/local/boost_1_75/lib64-msvc-14.1;C:/local/boost_1_75/lib64-msvc-14.0;C:/local/boost_1_74_0/lib64-msvc-14.3;C:/local/boost_1_74_0/lib64-msvc-14.2;C:/local/boost_1_74_0/lib64-msvc-14.1;C:/local/boost_1_74_0/lib64-msvc-14.0;C:/local/boost_1_74/lib64-msvc-14.3;C:/local/boost_1_74/lib64-msvc-14.2;C:/local/boost_1_74/lib64-msvc-14.1;C:/local/boost_1_74/lib64-msvc-14.0;C:/local/boost_1_73_0/lib64-msvc-14.3;C:/local/boost_1_73_0/lib64-msvc-14.2;C:/local/boost_1_73_0/lib64-msvc-14.1;C:/local/boost_1_73_0/lib64-msvc-14.0;C:/local/boost_1_73/lib64-msvc-14.3;C:/local/boost_1_73/lib64-msvc-14.2;C:/local/boost_1_73/lib64-msvc-14.1;C:/local/boost_1_73/lib64-msvc-14.0;C:/local/boost_1_72_0/lib64-msvc-14.3;C:/local/boost_1_72_0/lib64-msvc-14.2;C:/local/boost_1_72_0/lib64-msvc-14.1;C:/local/boost_1_72_0/lib64-msvc-14.0;C:/local/boost_1_72/lib64-msvc-14.3;C:/local/boost_1_72/lib64-msvc-14.2;C:/local/boost_1_72/lib64-msvc-14.1;C:/local/boost_1_72/lib64-msvc-14.0;C:/local/boost_1_71_0/lib64-msvc-14.3;C:/local/boost_1_71_0/lib64-msvc-14.2;C:/local/boost_1_71_0/lib64-msvc-14.1;C:/local/boost_1_71_0/lib64-msvc-14.0;C:/local/boost_1_71/lib64-msvc-14.3;C:/local/boost_1_71/lib64-msvc-14.2;C:/local/boost_1_71/lib64-msvc-14.1;C:/local/boost_1_71/lib64-msvc-14.0;C:/local/boost_1_70_0/lib64-msvc-14.3;C:/local/boost_1_70_0/lib64-msvc-14.2;C:/local/boost_1_70_0/lib64-msvc-14.1;C:/local/boost_1_70_0/lib64-msvc-14.0;C:/local/boost_1_70/lib64-msvc-14.3;C:/local/boost_1_70/lib64-msvc-14.2;C:/local/boost_1_70/lib64-msvc-14.1;C:/local/boost_1_70/lib64-msvc-14.0;C:/local/boost_1_69_0/lib64-msvc-14.3;C:/local/boost_1_69_0/lib64-msvc-14.2;C:/local/boost_1_69_0/lib64-msvc-14.1;C:/local/boost_1_69_0/lib64-msvc-14.0;C:/local/boost_1_69/lib64-msvc-14.3;C:/local/boost_1_69/lib64-msvc-14.2;C:/local/boost_1_69/lib64-msvc-14.1;C:/local/boost_1_69/lib64-msvc-14.0;C:/local/boost_1_68_0/lib64-msvc-14.3;C:/local/boost_1_68_0/lib64-msvc-14.2;C:/local/boost_1_68_0/lib64-msvc-14.1;C:/local/boost_1_68_0/lib64-msvc-14.0;C:/local/boost_1_68/lib64-msvc-14.3;C:/local/boost_1_68/lib64-msvc-14.2;C:/local/boost_1_68/lib64-msvc-14.1;C:/local/boost_1_68/lib64-msvc-14.0;C:/local/boost_1_67_0/lib64-msvc-14.3;C:/local/boost_1_67_0/lib64-msvc-14.2;C:/local/boost_1_67_0/lib64-msvc-14.1;C:/local/boost_1_67_0/lib64-msvc-14.0;C:/local/boost_1_67/lib64-msvc-14.3;C:/local/boost_1_67/lib64-msvc-14.2;C:/local/boost_1_67/lib64-msvc-14.1;C:/local/boost_1_67/lib64-msvc-14.0;C:/local/boost_1_66_0/lib64-msvc-14.3;C:/local/boost_1_66_0/lib64-msvc-14.2;C:/local/boost_1_66_0/lib64-msvc-14.1;C:/local/boost_1_66_0/lib64-msvc-14.0;C:/local/boost_1_66/lib64-msvc-14.3;C:/local/boost_1_66/lib64-msvc-14.2;C:/local/boost_1_66/lib64-msvc-14.1;C:/local/boost_1_66/lib64-msvc-14.0;C:/local/boost_1_65_1/lib64-msvc-14.3;C:/local/boost_1_65_1/lib64-msvc-14.2;C:/local/boost_1_65_1/lib64-msvc-14.1;C:/local/boost_1_65_1/lib64-msvc-14.0;C:/local/boost_1_65_0/lib64-msvc-14.3;C:/local/boost_1_65_0/lib64-msvc-14.2;C:/local/boost_1_65_0/lib64-msvc-14.1;C:/local/boost_1_65_0/lib64-msvc-14.0;C:/local/boost_1_65/lib64-msvc-14.3;C:/local/boost_1_65/lib64-msvc-14.2;C:/local/boost_1_65/lib64-msvc-14.1;C:/local/boost_1_65/lib64-msvc-14.0;C:/local/boost_1_64_0/lib64-msvc-14.3;C:/local/boost_1_64_0/lib64-msvc-14.2;C:/local/boost_1_64_0/lib64-msvc-14.1;C:/local/boost_1_64_0/lib64-msvc-14.0;C:/local/boost_1_64/lib64-msvc-14.3;C:/local/boost_1_64/lib64-msvc-14.2;C:/local/boost_1_64/lib64-msvc-14.1;C:/local/boost_1_64/lib64-msvc-14.0;C:/local/boost_1_63_0/lib64-msvc-14.3;C:/local/boost_1_63_0/lib64-msvc-14.2;C:/local/boost_1_63_0/lib64-msvc-14.1;C:/local/boost_1_63_0/lib64-msvc-14.0;C:/local/boost_1_63/lib64-msvc-14.3;C:/local/boost_1_63/lib64-msvc-14.2;C:/local/boost_1_63/lib64-msvc-14.1;C:/local/boost_1_63/lib64-msvc-14.0;C:/local/boost_1_62_0/lib64-msvc-14.3;C:/local/boost_1_62_0/lib64-msvc-14.2;C:/local/boost_1_62_0/lib64-msvc-14.1;C:/local/boost_1_62_0/lib64-msvc-14.0;C:/local/boost_1_62/lib64-msvc-14.3;C:/local/boost_1_62/lib64-msvc-14.2;C:/local/boost_1_62/lib64-msvc-14.1;C:/local/boost_1_62/lib64-msvc-14.0;C:/local/boost_1_61_0/lib64-msvc-14.3;C:/local/boost_1_61_0/lib64-msvc-14.2;C:/local/boost_1_61_0/lib64-msvc-14.1;C:/local/boost_1_61_0/lib64-msvc-14.0;C:/local/boost_1_61/lib64-msvc-14.3;C:/local/boost_1_61/lib64-msvc-14.2;C:/local/boost_1_61/lib64-msvc-14.1;C:/local/boost_1_61/lib64-msvc-14.0;C:/local/boost_1_60_0/lib64-msvc-14.3;C:/local/boost_1_60_0/lib64-msvc-14.2;C:/local/boost_1_60_0/lib64-msvc-14.1;C:/local/boost_1_60_0/lib64-msvc-14.0;C:/local/boost_1_60/lib64-msvc-14.3;C:/local/boost_1_60/lib64-msvc-14.2;C:/local/boost_1_60/lib64-msvc-14.1;C:/local/boost_1_60/lib64-msvc-14.0;C:/local/boost_1_59_0/lib64-msvc-14.3;C:/local/boost_1_59_0/lib64-msvc-14.2;C:/local/boost_1_59_0/lib64-msvc-14.1;C:/local/boost_1_59_0/lib64-msvc-14.0;C:/local/boost_1_59/lib64-msvc-14.3;C:/local/boost_1_59/lib64-msvc-14.2;C:/local/boost_1_59/lib64-msvc-14.1;C:/local/boost_1_59/lib64-msvc-14.0;C:/local/boost_1_58_0/lib64-msvc-14.3;C:/local/boost_1_58_0/lib64-msvc-14.2;C:/local/boost_1_58_0/lib64-msvc-14.1;C:/local/boost_1_58_0/lib64-msvc-14.0;C:/local/boost_1_58/lib64-msvc-14.3;C:/local/boost_1_58/lib64-msvc-14.2;C:/local/boost_1_58/lib64-msvc-14.1;C:/local/boost_1_58/lib64-msvc-14.0;C:/local/boost_1_57_0/lib64-msvc-14.3;C:/local/boost_1_57_0/lib64-msvc-14.2;C:/local/boost_1_57_0/lib64-msvc-14.1;C:/local/boost_1_57_0/lib64-msvc-14.0;C:/local/boost_1_57/lib64-msvc-14.3;C:/local/boost_1_57/lib64-msvc-14.2;C:/local/boost_1_57/lib64-msvc-14.1;C:/local/boost_1_57/lib64-msvc-14.0;C:/local/boost_1_56_0/lib64-msvc-14.3;C:/local/boost_1_56_0/lib64-msvc-14.2;C:/local/boost_1_56_0/lib64-msvc-14.1;C:/local/boost_1_56_0/lib64-msvc-14.0;C:/local/boost_1_56/lib64-msvc-14.3;C:/local/boost_1_56/lib64-msvc-14.2;C:/local/boost_1_56/lib64-msvc-14.1;C:/local/boost_1_56/lib64-msvc-14.0;C:/local/boost_1_55_0/lib64-msvc-14.3;C:/local/boost_1_55_0/lib64-msvc-14.2;C:/local/boost_1_55_0/lib64-msvc-14.1;C:/local/boost_1_55_0/lib64-msvc-14.0;C:/local/boost_1_55/lib64-msvc-14.3;C:/local/boost_1_55/lib64-msvc-14.2;C:/local/boost_1_55/lib64-msvc-14.1;C:/local/boost_1_55/lib64-msvc-14.0;C:/boost/lib64-msvc-14.3;C:/boost/lib64-msvc-14.2;C:/boost/lib64-msvc-14.1;C:/boost/lib64-msvc-14.0;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2069 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "C:\Code\boost_1_78_0\stage;C:\Code\boost_1_78_0/lib;C:\Code\boost_1_78_0/stage/lib;C:\Code\boost_1_78_0/lib64-msvc-14.3;C:\Code\boost_1_78_0/lib64-msvc-14.2;C:\Code\boost_1_78_0/lib64-msvc-14.1;C:\Code\boost_1_78_0/lib64-msvc-14.0;C:\Code\boost_1_78_0/lib;C:\Code\boost_1_78_0/../lib;C:\Code\boost_1_78_0/stage/lib;C:\Code\boost_1_78_0/../lib64-msvc-14.3;C:\Code\boost_1_78_0/../lib64-msvc-14.2;C:\Code\boost_1_78_0/../lib64-msvc-14.1;C:\Code\boost_1_78_0/../lib64-msvc-14.0;C:\Code\boost_1_78_0/lib64-msvc-14.3;C:\Code\boost_1_78_0/lib64-msvc-14.2;C:\Code\boost_1_78_0/lib64-msvc-14.1;C:\Code\boost_1_78_0/lib64-msvc-14.0;C:/local/boost_1_78_0/lib64-msvc-14.3;C:/local/boost_1_78_0/lib64-msvc-14.2;C:/local/boost_1_78_0/lib64-msvc-14.1;C:/local/boost_1_78_0/lib64-msvc-14.0;C:/local/boost_1_78/lib64-msvc-14.3;C:/local/boost_1_78/lib64-msvc-14.2;C:/local/boost_1_78/lib64-msvc-14.1;C:/local/boost_1_78/lib64-msvc-14.0;C:/local/boost_1_77_0/lib64-msvc-14.3;C:/local/boost_1_77_0/lib64-msvc-14.2;C:/local/boost_1_77_0/lib64-msvc-14.1;C:/local/boost_1_77_0/lib64-msvc-14.0;C:/local/boost_1_77/lib64-msvc-14.3;C:/local/boost_1_77/lib64-msvc-14.2;C:/local/boost_1_77/lib64-msvc-14.1;C:/local/boost_1_77/lib64-msvc-14.0;C:/local/boost_1_76_0/lib64-msvc-14.3;C:/local/boost_1_76_0/lib64-msvc-14.2;C:/local/boost_1_76_0/lib64-msvc-14.1;C:/local/boost_1_76_0/lib64-msvc-14.0;C:/local/boost_1_76/lib64-msvc-14.3;C:/local/boost_1_76/lib64-msvc-14.2;C:/local/boost_1_76/lib64-msvc-14.1;C:/local/boost_1_76/lib64-msvc-14.0;C:/local/boost_1_75_0/lib64-msvc-14.3;C:/local/boost_1_75_0/lib64-msvc-14.2;C:/local/boost_1_75_0/lib64-msvc-14.1;C:/local/boost_1_75_0/lib64-msvc-14.0;C:/local/boost_1_75/lib64-msvc-14.3;C:/local/boost_1_75/lib64-msvc-14.2;C:/local/boost_1_75/lib64-msvc-14.1;C:/local/boost_1_75/lib64-msvc-14.0;C:/local/boost_1_74_0/lib64-msvc-14.3;C:/local/boost_1_74_0/lib64-msvc-14.2;C:/local/boost_1_74_0/lib64-msvc-14.1;C:/local/boost_1_74_0/lib64-msvc-14.0;C:/local/boost_1_74/lib64-msvc-14.3;C:/local/boost_1_74/lib64-msvc-14.2;C:/local/boost_1_74/lib64-msvc-14.1;C:/local/boost_1_74/lib64-msvc-14.0;C:/local/boost_1_73_0/lib64-msvc-14.3;C:/local/boost_1_73_0/lib64-msvc-14.2;C:/local/boost_1_73_0/lib64-msvc-14.1;C:/local/boost_1_73_0/lib64-msvc-14.0;C:/local/boost_1_73/lib64-msvc-14.3;C:/local/boost_1_73/lib64-msvc-14.2;C:/local/boost_1_73/lib64-msvc-14.1;C:/local/boost_1_73/lib64-msvc-14.0;C:/local/boost_1_72_0/lib64-msvc-14.3;C:/local/boost_1_72_0/lib64-msvc-14.2;C:/local/boost_1_72_0/lib64-msvc-14.1;C:/local/boost_1_72_0/lib64-msvc-14.0;C:/local/boost_1_72/lib64-msvc-14.3;C:/local/boost_1_72/lib64-msvc-14.2;C:/local/boost_1_72/lib64-msvc-14.1;C:/local/boost_1_72/lib64-msvc-14.0;C:/local/boost_1_71_0/lib64-msvc-14.3;C:/local/boost_1_71_0/lib64-msvc-14.2;C:/local/boost_1_71_0/lib64-msvc-14.1;C:/local/boost_1_71_0/lib64-msvc-14.0;C:/local/boost_1_71/lib64-msvc-14.3;C:/local/boost_1_71/lib64-msvc-14.2;C:/local/boost_1_71/lib64-msvc-14.1;C:/local/boost_1_71/lib64-msvc-14.0;C:/local/boost_1_70_0/lib64-msvc-14.3;C:/local/boost_1_70_0/lib64-msvc-14.2;C:/local/boost_1_70_0/lib64-msvc-14.1;C:/local/boost_1_70_0/lib64-msvc-14.0;C:/local/boost_1_70/lib64-msvc-14.3;C:/local/boost_1_70/lib64-msvc-14.2;C:/local/boost_1_70/lib64-msvc-14.1;C:/local/boost_1_70/lib64-msvc-14.0;C:/local/boost_1_69_0/lib64-msvc-14.3;C:/local/boost_1_69_0/lib64-msvc-14.2;C:/local/boost_1_69_0/lib64-msvc-14.1;C:/local/boost_1_69_0/lib64-msvc-14.0;C:/local/boost_1_69/lib64-msvc-14.3;C:/local/boost_1_69/lib64-msvc-14.2;C:/local/boost_1_69/lib64-msvc-14.1;C:/local/boost_1_69/lib64-msvc-14.0;C:/local/boost_1_68_0/lib64-msvc-14.3;C:/local/boost_1_68_0/lib64-msvc-14.2;C:/local/boost_1_68_0/lib64-msvc-14.1;C:/local/boost_1_68_0/lib64-msvc-14.0;C:/local/boost_1_68/lib64-msvc-14.3;C:/local/boost_1_68/lib64-msvc-14.2;C:/local/boost_1_68/lib64-msvc-14.1;C:/local/boost_1_68/lib64-msvc-14.0;C:/local/boost_1_67_0/lib64-msvc-14.3;C:/local/boost_1_67_0/lib64-msvc-14.2;C:/local/boost_1_67_0/lib64-msvc-14.1;C:/local/boost_1_67_0/lib64-msvc-14.0;C:/local/boost_1_67/lib64-msvc-14.3;C:/local/boost_1_67/lib64-msvc-14.2;C:/local/boost_1_67/lib64-msvc-14.1;C:/local/boost_1_67/lib64-msvc-14.0;C:/local/boost_1_66_0/lib64-msvc-14.3;C:/local/boost_1_66_0/lib64-msvc-14.2;C:/local/boost_1_66_0/lib64-msvc-14.1;C:/local/boost_1_66_0/lib64-msvc-14.0;C:/local/boost_1_66/lib64-msvc-14.3;C:/local/boost_1_66/lib64-msvc-14.2;C:/local/boost_1_66/lib64-msvc-14.1;C:/local/boost_1_66/lib64-msvc-14.0;C:/local/boost_1_65_1/lib64-msvc-14.3;C:/local/boost_1_65_1/lib64-msvc-14.2;C:/local/boost_1_65_1/lib64-msvc-14.1;C:/local/boost_1_65_1/lib64-msvc-14.0;C:/local/boost_1_65_0/lib64-msvc-14.3;C:/local/boost_1_65_0/lib64-msvc-14.2;C:/local/boost_1_65_0/lib64-msvc-14.1;C:/local/boost_1_65_0/lib64-msvc-14.0;C:/local/boost_1_65/lib64-msvc-14.3;C:/local/boost_1_65/lib64-msvc-14.2;C:/local/boost_1_65/lib64-msvc-14.1;C:/local/boost_1_65/lib64-msvc-14.0;C:/local/boost_1_64_0/lib64-msvc-14.3;C:/local/boost_1_64_0/lib64-msvc-14.2;C:/local/boost_1_64_0/lib64-msvc-14.1;C:/local/boost_1_64_0/lib64-msvc-14.0;C:/local/boost_1_64/lib64-msvc-14.3;C:/local/boost_1_64/lib64-msvc-14.2;C:/local/boost_1_64/lib64-msvc-14.1;C:/local/boost_1_64/lib64-msvc-14.0;C:/local/boost_1_63_0/lib64-msvc-14.3;C:/local/boost_1_63_0/lib64-msvc-14.2;C:/local/boost_1_63_0/lib64-msvc-14.1;C:/local/boost_1_63_0/lib64-msvc-14.0;C:/local/boost_1_63/lib64-msvc-14.3;C:/local/boost_1_63/lib64-msvc-14.2;C:/local/boost_1_63/lib64-msvc-14.1;C:/local/boost_1_63/lib64-msvc-14.0;C:/local/boost_1_62_0/lib64-msvc-14.3;C:/local/boost_1_62_0/lib64-msvc-14.2;C:/local/boost_1_62_0/lib64-msvc-14.1;C:/local/boost_1_62_0/lib64-msvc-14.0;C:/local/boost_1_62/lib64-msvc-14.3;C:/local/boost_1_62/lib64-msvc-14.2;C:/local/boost_1_62/lib64-msvc-14.1;C:/local/boost_1_62/lib64-msvc-14.0;C:/local/boost_1_61_0/lib64-msvc-14.3;C:/local/boost_1_61_0/lib64-msvc-14.2;C:/local/boost_1_61_0/lib64-msvc-14.1;C:/local/boost_1_61_0/lib64-msvc-14.0;C:/local/boost_1_61/lib64-msvc-14.3;C:/local/boost_1_61/lib64-msvc-14.2;C:/local/boost_1_61/lib64-msvc-14.1;C:/local/boost_1_61/lib64-msvc-14.0;C:/local/boost_1_60_0/lib64-msvc-14.3;C:/local/boost_1_60_0/lib64-msvc-14.2;C:/local/boost_1_60_0/lib64-msvc-14.1;C:/local/boost_1_60_0/lib64-msvc-14.0;C:/local/boost_1_60/lib64-msvc-14.3;C:/local/boost_1_60/lib64-msvc-14.2;C:/local/boost_1_60/lib64-msvc-14.1;C:/local/boost_1_60/lib64-msvc-14.0;C:/local/boost_1_59_0/lib64-msvc-14.3;C:/local/boost_1_59_0/lib64-msvc-14.2;C:/local/boost_1_59_0/lib64-msvc-14.1;C:/local/boost_1_59_0/lib64-msvc-14.0;C:/local/boost_1_59/lib64-msvc-14.3;C:/local/boost_1_59/lib64-msvc-14.2;C:/local/boost_1_59/lib64-msvc-14.1;C:/local/boost_1_59/lib64-msvc-14.0;C:/local/boost_1_58_0/lib64-msvc-14.3;C:/local/boost_1_58_0/lib64-msvc-14.2;C:/local/boost_1_58_0/lib64-msvc-14.1;C:/local/boost_1_58_0/lib64-msvc-14.0;C:/local/boost_1_58/lib64-msvc-14.3;C:/local/boost_1_58/lib64-msvc-14.2;C:/local/boost_1_58/lib64-msvc-14.1;C:/local/boost_1_58/lib64-msvc-14.0;C:/local/boost_1_57_0/lib64-msvc-14.3;C:/local/boost_1_57_0/lib64-msvc-14.2;C:/local/boost_1_57_0/lib64-msvc-14.1;C:/local/boost_1_57_0/lib64-msvc-14.0;C:/local/boost_1_57/lib64-msvc-14.3;C:/local/boost_1_57/lib64-msvc-14.2;C:/local/boost_1_57/lib64-msvc-14.1;C:/local/boost_1_57/lib64-msvc-14.0;C:/local/boost_1_56_0/lib64-msvc-14.3;C:/local/boost_1_56_0/lib64-msvc-14.2;C:/local/boost_1_56_0/lib64-msvc-14.1;C:/local/boost_1_56_0/lib64-msvc-14.0;C:/local/boost_1_56/lib64-msvc-14.3;C:/local/boost_1_56/lib64-msvc-14.2;C:/local/boost_1_56/lib64-msvc-14.1;C:/local/boost_1_56/lib64-msvc-14.0;C:/local/boost_1_55_0/lib64-msvc-14.3;C:/local/boost_1_55_0/lib64-msvc-14.2;C:/local/boost_1_55_0/lib64-msvc-14.1;C:/local/boost_1_55_0/lib64-msvc-14.0;C:/local/boost_1_55/lib64-msvc-14.3;C:/local/boost_1_55/lib64-msvc-14.2;C:/local/boost_1_55/lib64-msvc-14.1;C:/local/boost_1_55/lib64-msvc-14.0;C:/boost/lib64-msvc-14.3;C:/boost/lib64-msvc-14.2;C:/boost/lib64-msvc-14.1;C:/boost/lib64-msvc-14.0;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2254 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-vc143-mt-x64-1_78;boost_filesystem-vc143-mt-x64;boost_filesystem-vc143-mt;boost_filesystem-vc142-mt-x64-1_78;boost_filesystem-vc142-mt-x64;boost_filesystem-vc142-mt;boost_filesystem-vc141-mt-x64-1_78;boost_filesystem-vc141-mt-x64;boost_filesystem-vc141-mt;boost_filesystem-vc140-mt-x64-1_78;boost_filesystem-vc140-mt-x64;boost_filesystem-vc140-mt;boost_filesystem-mt-x64-1_78;boost_filesystem-mt-x64;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2309 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-vc143-mt-gd-x64-1_78;boost_filesystem-vc143-mt-gd-x64;boost_filesystem-vc143-mt-gd;boost_filesystem-vc142-mt-gd-x64-1_78;boost_filesystem-vc142-mt-gd-x64;boost_filesystem-vc142-mt-gd;boost_filesystem-vc141-mt-gd-x64-1_78;boost_filesystem-vc141-mt-gd-x64;boost_filesystem-vc141-mt-gd;boost_filesystem-vc140-mt-gd-x64-1_78;boost_filesystem-vc140-mt-gd-x64;boost_filesystem-vc140-mt-gd;boost_filesystem-mt-gd-x64-1_78;boost_filesystem-mt-gd-x64;boost_filesystem-mt-gd;boost_filesystem-mt;boost_filesystem
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2254 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-vc143-mt-x64-1_78;boost_program_options-vc143-mt-x64;boost_program_options-vc143-mt;boost_program_options-vc142-mt-x64-1_78;boost_program_options-vc142-mt-x64;boost_program_options-vc142-mt;boost_program_options-vc141-mt-x64-1_78;boost_program_options-vc141-mt-x64;boost_program_options-vc141-mt;boost_program_options-vc140-mt-x64-1_78;boost_program_options-vc140-mt-x64;boost_program_options-vc140-mt;boost_program_options-mt-x64-1_78;boost_program_options-mt-x64;boost_program_options-mt;boost_program_options-mt;boost_program_options
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2309 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-vc143-mt-gd-x64-1_78;boost_program_options-vc143-mt-gd-x64;boost_program_options-vc143-mt-gd;boost_program_options-vc142-mt-gd-x64-1_78;boost_program_options-vc142-mt-gd-x64;boost_program_options-vc142-mt-gd;boost_program_options-vc141-mt-gd-x64-1_78;boost_program_options-vc141-mt-gd-x64;boost_program_options-vc141-mt-gd;boost_program_options-vc140-mt-gd-x64-1_78;boost_program_options-vc140-mt-gd-x64;boost_program_options-vc140-mt-gd;boost_program_options-mt-gd-x64-1_78;boost_program_options-mt-gd-x64;boost_program_options-mt-gd;boost_program_options-mt;boost_program_options
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2254 ] Searching for IOSTREAMS_LIBRARY_RELEASE: boost_iostreams-vc143-mt-x64-1_78;boost_iostreams-vc143-mt-x64;boost_iostreams-vc143-mt;boost_iostreams-vc142-mt-x64-1_78;boost_iostreams-vc142-mt-x64;boost_iostreams-vc142-mt;boost_iostreams-vc141-mt-x64-1_78;boost_iostreams-vc141-mt-x64;boost_iostreams-vc141-mt;boost_iostreams-vc140-mt-x64-1_78;boost_iostreams-vc140-mt-x64;boost_iostreams-vc140-mt;boost_iostreams-mt-x64-1_78;boost_iostreams-mt-x64;boost_iostreams-mt;boost_iostreams-mt;boost_iostreams
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2309 ] Searching for IOSTREAMS_LIBRARY_DEBUG: boost_iostreams-vc143-mt-gd-x64-1_78;boost_iostreams-vc143-mt-gd-x64;boost_iostreams-vc143-mt-gd;boost_iostreams-vc142-mt-gd-x64-1_78;boost_iostreams-vc142-mt-gd-x64;boost_iostreams-vc142-mt-gd;boost_iostreams-vc141-mt-gd-x64-1_78;boost_iostreams-vc141-mt-gd-x64;boost_iostreams-vc141-mt-gd;boost_iostreams-vc140-mt-gd-x64-1_78;boost_iostreams-vc140-mt-gd-x64;boost_iostreams-vc140-mt-gd;boost_iostreams-mt-gd-x64-1_78;boost_iostreams-mt-gd-x64;boost_iostreams-mt-gd;boost_iostreams-mt;boost_iostreams
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2254 ] Searching for REGEX_LIBRARY_RELEASE: boost_regex-vc143-mt-x64-1_78;boost_regex-vc143-mt-x64;boost_regex-vc143-mt;boost_regex-vc142-mt-x64-1_78;boost_regex-vc142-mt-x64;boost_regex-vc142-mt;boost_regex-vc141-mt-x64-1_78;boost_regex-vc141-mt-x64;boost_regex-vc141-mt;boost_regex-vc140-mt-x64-1_78;boost_regex-vc140-mt-x64;boost_regex-vc140-mt;boost_regex-mt-x64-1_78;boost_regex-mt-x64;boost_regex-mt;boost_regex-mt;boost_regex
[ C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2309 ] Searching for REGEX_LIBRARY_DEBUG: boost_regex-vc143-mt-gd-x64-1_78;boost_regex-vc143-mt-gd-x64;boost_regex-vc143-mt-gd;boost_regex-vc142-mt-gd-x64-1_78;boost_regex-vc142-mt-gd-x64;boost_regex-vc142-mt-gd;boost_regex-vc141-mt-gd-x64-1_78;boost_regex-vc141-mt-gd-x64;boost_regex-vc141-mt-gd;boost_regex-vc140-mt-gd-x64-1_78;boost_regex-vc140-mt-gd-x64;boost_regex-vc140-mt-gd;boost_regex-mt-gd-x64-1_78;boost_regex-mt-gd-x64;boost_regex-mt-gd;boost_regex-mt;boost_regex
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: filesystem program_options iostreams) (found
suitable version "1.78.0", minimum required is "1.55")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.23/Modules/FindBoost.cmake:2375 (find_package_handle_standard_args)
CMakeLists.txt:26 (find_package)
I note in particular that in _boost_LIBRARY_SEARCH_DIRS_RELEASE, one of the paths is C:\Code\boost_1_78_0/stage/lib, and that's where the libraries are. Also, in Searching for FILESYSTEM_LIBRARY_RELEASE, the first name given is boost_filesystem-vc143-mt-x64-1_78, and the directory does contain a file named libboost_filesystem-vc143-mt-x64-1_78.lib.
I got past the Boost errors by setting a cmake flag Boost_USE_STATIC_LIBS. Now I'm getting errors about GTest, but I guess that would be a different question.
again..
First:
Plattform: Windows
Cmake: 3.20 (Clion Bundled)
Kit: Mingw64 (msys2-Mingw64)
Boost Version: 1.69 - 1.77 (from boost.org)
Following Situation:
I want to find_package boost via Cmake. Therefor, i downloaded the boost zip, extracted it and set the BOOST_ROOT.
This is my current CMakeLists.txt:
cmake_minimum_required(VERSION 3.5)
project(Tester LANGUAGES CXX)
set(TEST_PROJECT ${PROJECT_NAME})
project(Runtime LANGUAGES CXX)
set(RUNTIME_PROJECT ${PROJECT_NAME})
project(Game_Lib LANGUAGES CXX)
set(LIB_PROJECT ${PROJECT_NAME})
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
SET(CMAKE_BUILD_TYPE Debug)
#=============================================================== Fetch GoogleTest
include(FetchContent)
FetchContent_Declare(
googletest
URL https://github.com/google/googletest/archive/e2239ee6043f73722e7aa812a459f54a28552929.zip
)
# For Windows
set(gtest_force_shared_crt ON CACHE BOOL "" FORCE)
FetchContent_MakeAvailable(googletest)
#=============================================================== Setup Paths
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
set(PROJ_SRC ${CMAKE_CURRENT_SOURCE_DIR}/src)
set(PROJ_INC ${CMAKE_CURRENT_SOURCE_DIR}/include)
set(PROJ_LIBS ${CMAKE_CURRENT_SOURCE_DIR}/libs ${CMAKE_CURRENT_SOURCE_DIR})
set(PROJ_TESTS ${CMAKE_CURRENT_SOURCE_DIR}/tests)
set(PROJ_TST ${CMAKE_CURRENT_SOURCE_DIR}/test)
set(PROJ_SHADES ${CMAKE_CURRENT_SOURCE_DIR}/../TileGameStudio_Editor_Build_Debug/Shipped/Data/InitProj/shaders)
set(ANGLE_INCLUDE_PATH "D:/angle/include")
set(ANGLE_LIBRARY_PATH ${PROJ_LIBS})
include(FindPkgConfig)
pkg_check_modules(SDL2 REQUIRED sdl2)
pkg_check_modules(SDL2_IMAGE REQUIRED SDL2_image)
pkg_check_modules(SDL2_TTF REQUIRED SDL2_ttf)
pkg_check_modules(SDL2_MIXER REQUIRED SDL2_mixer)
find_package(Freetype REQUIRED)
find_package(LuaJIT REQUIRED)
find_package(FLAC REQUIRED)
find_package(OGG REQUIRED)
find_package(THEORA REQUIRED)
find_package(OpenSSL REQUIRED)
set(Boost_DEBUG ON)
set(BOOST_ROOT "D:/boost")
find_package(Boost REQUIRED COMPONENTS filesystem)
#=============================================================== OUTPUT <LIB>_FOUND
if (NOT PKG_CONFIG_FOUND)
message(STATUS "PKG-CONFIG: NO")
else ()
message(STATUS "PKG-CONFIG: YES - under: ${PKG_CONFIG_EXECUTABLE} >> used to find packages")
endif ()
if (NOT SDL2_FOUND)
message(STATUS "SDL2: NO")
else ()
message(STATUS "SDL2: YES - under: ${SDL2_INCLUDE_DIRS} >> included and linked")
include_directories(
${SDL2_INCLUDE_DIRS}
${SDL2_IMAGE_INCLUDE_DIRS}
${SDL2_TTF_INCLUDE_DIRS}
${SDL2_MIXER_INCLUDE_DIRS})
link_directories(
${SDL2_INCLUDE_DIRS}
${SDL2_IMAGE_INCLUDE_DIRS}
${SDL2_TTF_INCLUDE_DIRS}
${SDL2_MIXER_INCLUDE_DIRS}
${SDL2_LIBRARY_DIRS}
${SDL2_IMAGE_LIBRARY_DIRS}
${SDL2_TTF_LIBRARY_DIRS}
${SDL2_MIXER_LIBRARY_DIRS})
endif ()
if (NOT FREETYPE_FOUND)
message(STATUS "freetype2: NO")
else ()
message(STATUS "freetype2: YES - under: ${FREETYPE_INCLUDE_DIR_ft2build} >> included and linked")
include_directories(${FREETYPE_INCLUDE_DIR_ft2build})
link_directories(${FREETYPE_INCLUDE_DIR_ft2build})
endif ()
if (NOT LUAJIT_FOUND)
message(STATUS "LuaJit: NO")
else ()
message(STATUS "LuaJit: YES - under: ${LUA_INCLUDE_DIR} >> included and linked")
include_directories(${LUA_INCLUDE_DIR})
link_directories(${LUA_INCLUDE_DIR})
endif ()
if (NOT FLAC_FOUND)
message(STATUS "FLAC: NO")
else ()
message(STATUS "FLAC: YES - under: ${FLAC_INCLUDE_DIR} >> included and linked")
include_directories(${FLAC_INCLUDE_DIR})
link_directories(${FLAC_INCLUDE_DIR})
endif ()
if (NOT OGG_FOUND)
message(STATUS "OGG: NO")
else ()
message(STATUS "OGG: YES - under: ${OGG_INCLUDE_DIR} >> included and linked")
include_directories(${OGG_INCLUDE_DIR})
link_directories(${OGG_INCLUDE_DIR})
endif ()
if (NOT THEORA_FOUND)
message(STATUS "THEORA: NO")
else ()
message(STATUS "THEORA: YES - under: ${THEORA_INCLUDE_DIR} >> included and linked")
include_directories(${THEORA_INCLUDE_DIR})
link_directories(${THEORA_INCLUDE_DIR})
endif ()
if (NOT OPENSSL_FOUND)
message(STATUS "OpenSSL: NO")
else ()
message(STATUS "OpenSSL: YES - under: ${OPENSSL_INCLUDE_DIR} >> included and linked")
include_directories(${OPENSSL_INCLUDE_DIR})
link_directories(${OPENSSL_INCLUDE_DIR})
endif ()
if (NOT BOOST_FOUND)
message(STATUS "Boost: NO")
else ()
message(STATUS "Boost: YES - under: ${Boost_INCLUDE_DIR} >> included and linked")
include_directories(${Boost_INCLUDE_DIR} ${Boost_LIBRARY_DIR})
link_directories(${Boost_INCLUDE_DIR} ${Boost_LIBRARY_DIR})
endif ()
#=============================================================== Include Directories
include_directories(
${PROJ_INC}
${PROJ_SRC}
${PROJ_LIBS}
${PROJ_SHADES}
${ANGLE_INCLUDE_PATH}
${ANGLE_LIBRARY_PATH}
gtest/
)
link_directories(
${PROJ_INC}
${PROJ_SRC}
${PROJ_LIBS}
${PROJ_SHADES}
${ANGLE_INCLUDE_PATH}
${ANGLE_LIBRARY_PATH}
gtest/
)
#=============================================================== Find GLES Libraries
message("Looking for GLES Libraries")
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".lib" ".dll" ".dll.lib")
find_library(D3D_Lib NAMES d3dcompiler_47 PATHS ${PROJ_LIBS} REQUIRED)
find_library(GLES2_Lib NAMES libGLESv2 PATHS ${PROJ_LIBS} REQUIRED)
message("Done: Looking for GLES Libraries")
#=============================================================== Find GTest and GMock Libraries
#find_library(GTEST_LIBRARIES NAMES libgtest_main libgtest libgmock libgmock_main REQUIRED)
#=============================================================== Collect Sources, Tests and Headers
file(GLOB PROJECT_SOURCES CONFIGURE_DEPENDS
${PROJ_SRC}/*.cpp
)
file(GLOB PROJECT_TESTS CONFIGURE_DEPENDS
${PROJ_TST}/*.cpp
)
file(GLOB PROJECT_HEADERS CONFIGURE_DEPENDS
${PROJ_INC}/*.h
)
file(GLOB PROJECT_SHADERS CONFIGURE_DEPENDS
${PROJ_SHADES}/*.glsl
)
#=============================================================== Create STATIC Lib of Engine Sources
if (NOT PROJECT_SOURCES)
message("No Sources available to build static Library!")
else ()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../TileGameStudio_Editor_Build_Debug/Shipped/Data/InitProj/Libs")
add_library(${LIB_PROJECT} STATIC ${PROJECT_HEADERS} ${PROJECT_SOURCES})
set_target_properties(${LIB_PROJECT} PROPERTIES OUTPUT_NAME "GameLib")
message("Added Sources to the Library and created it in ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}!")
endif ()
#=============================================================== Build App
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../TileGameStudio_Editor_Build_Debug/Shipped/Data/InitProj")
set(APP_ICON_RESOURCE_WINDOWS "${CMAKE_CURRENT_SOURCE_DIR}/res.rc")
add_executable(${RUNTIME_PROJECT}
${PROJECT_SOURCES}
${PROJECT_HEADERS}
${PROJECT_SHADERS}
${CMAKE_CURRENT_SOURCE_DIR}/main.cpp
${CMAKE_CURRENT_SOURCE_DIR}/res.rc
)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../TileGameStudio_Editor_Build_Debug/Shipped/Data/InitProj/Tests")
add_executable(${TEST_PROJECT}
${PROJECT_SOURCES}
${PROJECT_HEADERS}
${PROJECT_SHADERS}
${PROJECT_TESTS}
)
#=============================================================== Set Building Target
set_target_properties(${RUNTIME_PROJECT} PROPERTIES OUTPUT_NAME "Game" SUFFIX ".exe")
set_target_properties(${TEST_PROJECT} PROPERTIES OUTPUT_NAME "Tests" SUFFIX ".exe")
#=============================================================== Link Libraries
target_link_libraries(${RUNTIME_PROJECT}
${SDL2_LIBRARIES}
${SDL2_IMAGE_LIBRARIES}
${SDL2_TTF_LIBRARIES}
${SDL2_MIXER_LIBRARIES}
${FREETYPE_LIBRARIES}
${LUA_LIBRARY}
${GLES2_Lib}
${D3D_Lib}
${FLAC_LIBRARY}
${OGG_LIBRARY}
${THEORA_LIBRARY}
${OPENSSL_CRYPTO_LIBRARY}
${OPENSSL_SSL_LIBRARY}
${OPENSSL_LIBRARIES}
${Boost_LIBRARIES}
)
target_link_libraries(${TEST_PROJECT}
${SDL2_LIBRARIES}
${SDL2_IMAGE_LIBRARIES}
${SDL2_TTF_LIBRARIES}
${SDL2_MIXER_LIBRARIES}
${FREETYPE_LIBRARIES}
${LUA_LIBRARY}
${GLES2_Lib}
${D3D_Lib}
${FLAC_LIBRARY}
${OGG_LIBRARY}
${THEORA_LIBRARY}
${OPENSSL_CRYPTO_LIBRARY}
${OPENSSL_SSL_LIBRARY}
${OPENSSL_LIBRARIES}
${Boost_LIBRARIES}
gtest_main
)
enable_testing()
include(GoogleTest)
#=============================================================== Add GoogleTests
message("")
message("Adding Tests to ${TEST_PROJECT}")
message("")
if (NOT PROJECT_TESTS)
message("No Tests available!")
else ()
gtest_add_tests(TARGET ${TEST_PROJECT} TEST_LIST var)
message("Tests were added to ${TEST_PROJECT}. The List:")
foreach (X ${var})
message("- ${X}")
endforeach ()
endif ()
message("")
And this, results in this Outlog:
-- Found Ogg: C:/msys64/mingw64/lib/libogg.dll.a
-- Found Ogg: C:/msys64/mingw64/lib/libogg.dll.a
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1673 ] _boost_TEST_VERSIONS = "1.77.0;1.77;1.76.0;1.76;1.75.0;1.75;1.74.0;1.74;1.73.0;1.73;1.72.0;1.72;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;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"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1674 ] Boost_USE_MULTITHREADED = "TRUE"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1675 ] Boost_USE_STATIC_LIBS = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1676 ] Boost_USE_STATIC_RUNTIME = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1677 ] Boost_ADDITIONAL_VERSIONS = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1678 ] Boost_NO_SYSTEM_PATHS = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1710 ] BOOST_ROOT = "D:/boost"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1711 ] ENV{BOOST_ROOT} = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1712 ] BOOST_INCLUDEDIR = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1713 ] ENV{BOOST_INCLUDEDIR} = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1714 ] BOOST_LIBRARYDIR = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1715 ] ENV{BOOST_LIBRARYDIR} = <unset>
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1787 ] _boost_INCLUDE_SEARCH_DIRS = "D:/boost/include;D:/boost;PATHS;C:/boost/include;C:/boost;/sw/local/include"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1788 ] _boost_PATH_SUFFIXES = "boost-1_77_0;boost_1_77_0;boost/boost-1_77_0;boost/boost_1_77_0;boost-1_77;boost_1_77;boost/boost-1_77;boost/boost_1_77;boost-1_76_0;boost_1_76_0;boost/boost-1_76_0;boost/boost_1_76_0;boost-1_76;boost_1_76;boost/boost-1_76;boost/boost_1_76;boost-1_75_0;boost_1_75_0;boost/boost-1_75_0;boost/boost_1_75_0;boost-1_75;boost_1_75;boost/boost-1_75;boost/boost_1_75;boost-1_74_0;boost_1_74_0;boost/boost-1_74_0;boost/boost_1_74_0;boost-1_74;boost_1_74;boost/boost-1_74;boost/boost_1_74;boost-1_73_0;boost_1_73_0;boost/boost-1_73_0;boost/boost_1_73_0;boost-1_73;boost_1_73;boost/boost-1_73;boost/boost_1_73;boost-1_72_0;boost_1_72_0;boost/boost-1_72_0;boost/boost_1_72_0;boost-1_72;boost_1_72;boost/boost-1_72;boost/boost_1_72;boost-1_71_0;boost_1_71_0;boost/boost-1_71_0;boost/boost_1_71_0;boost-1_71;boost_1_71;boost/boost-1_71;boost/boost_1_71;boost-1_70_0;boost_1_70_0;boost/boost-1_70_0;boost/boost_1_70_0;boost-1_70;boost_1_70;boost/boost-1_70;boost/boost_1_70;boost-1_69_0;boost_1_69_0;boost/boost-1_69_0;boost/boost_1_69_0;boost-1_69;boost_1_69;boost/boost-1_69;boost/boost_1_69;boost-1_68_0;boost_1_68_0;boost/boost-1_68_0;boost/boost_1_68_0;boost-1_68;boost_1_68;boost/boost-1_68;boost/boost_1_68;boost-1_67_0;boost_1_67_0;boost/boost-1_67_0;boost/boost_1_67_0;boost-1_67;boost_1_67;boost/boost-1_67;boost/boost_1_67;boost-1_66_0;boost_1_66_0;boost/boost-1_66_0;boost/boost_1_66_0;boost-1_66;boost_1_66;boost/boost-1_66;boost/boost_1_66;boost-1_65_1;boost_1_65_1;boost/boost-1_65_1;boost/boost_1_65_1;boost-1_65_0;boost_1_65_0;boost/boost-1_65_0;boost/boost_1_65_0;boost-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_64_0;boost_1_64_0;boost/boost-1_64_0;boost/boost_1_64_0;boost-1_64;boost_1_64;boost/boost-1_64;boost/boost_1_64;boost-1_63_0;boost_1_63_0;boost/boost-1_63_0;boost/boost_1_63_0;boost-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_62_0;boost_1_62_0;boost/boost-1_62_0;boost/boost_1_62_0;boost-1_62;boost_1_62;boost/boost-1_62;boost/boost_1_62;boost-1_61_0;boost_1_61_0;boost/boost-1_61_0;boost/boost_1_61_0;boost-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_60_0;boost_1_60_0;boost/boost-1_60_0;boost/boost_1_60_0;boost-1_60;boost_1_60;boost/boost-1_60;boost/boost_1_60;boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_46_1;boost_1_46_1;boost/boost-1_46_1;boost/boost_1_46_1;boost-1_46_0;boost_1_46_0;boost/boost-1_46_0;boost/boost_1_46_0;boost-1_46;boost_1_46;boost/boost-1_46;boost/boost_1_46;boost-1_45_0;boost_1_45_0;boost/boost-1_45_0;boost/boost_1_45_0;boost-1_45;boost_1_45;boost/boost-1_45;boost/boost_1_45;boost-1_44_0;boost_1_44_0;boost/boost-1_44_0;boost/boost_1_44_0;boost-1_44;boost_1_44;boost/boost-1_44;boost/boost_1_44;boost-1_43_0;boost_1_43_0;boost/boost-1_43_0;boost/boost_1_43_0;boost-1_43;boost_1_43;boost/boost-1_43;boost/boost_1_43;boost-1_42_0;boost_1_42_0;boost/boost-1_42_0;boost/boost_1_42_0;boost-1_42;boost_1_42;boost/boost-1_42;boost/boost_1_42;boost-1_41_0;boost_1_41_0;boost/boost-1_41_0;boost/boost_1_41_0;boost-1_41;boost_1_41;boost/boost-1_41;boost/boost_1_41;boost-1_40_0;boost_1_40_0;boost/boost-1_40_0;boost/boost_1_40_0;boost-1_40;boost_1_40;boost/boost-1_40;boost/boost_1_40;boost-1_39_0;boost_1_39_0;boost/boost-1_39_0;boost/boost_1_39_0;boost-1_39;boost_1_39;boost/boost-1_39;boost/boost_1_39;boost-1_38_0;boost_1_38_0;boost/boost-1_38_0;boost/boost_1_38_0;boost-1_38;boost_1_38;boost/boost-1_38;boost/boost_1_38;boost-1_37_0;boost_1_37_0;boost/boost-1_37_0;boost/boost_1_37_0;boost-1_37;boost_1_37;boost/boost-1_37;boost/boost_1_37;boost-1_36_1;boost_1_36_1;boost/boost-1_36_1;boost/boost_1_36_1;boost-1_36_0;boost_1_36_0;boost/boost-1_36_0;boost/boost_1_36_0;boost-1_36;boost_1_36;boost/boost-1_36;boost/boost_1_36;boost-1_35_1;boost_1_35_1;boost/boost-1_35_1;boost/boost_1_35_1;boost-1_35_0;boost_1_35_0;boost/boost-1_35_0;boost/boost_1_35_0;boost-1_35;boost_1_35;boost/boost-1_35;boost/boost_1_35;boost-1_34_1;boost_1_34_1;boost/boost-1_34_1;boost/boost_1_34_1;boost-1_34_0;boost_1_34_0;boost/boost-1_34_0;boost/boost_1_34_0;boost-1_34;boost_1_34;boost/boost-1_34;boost/boost_1_34;boost-1_33_1;boost_1_33_1;boost/boost-1_33_1;boost/boost_1_33_1;boost-1_33_0;boost_1_33_0;boost/boost-1_33_0;boost/boost_1_33_0;boost-1_33;boost_1_33;boost/boost-1_33;boost/boost_1_33"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1803 ] location of version.hpp: D:/boost/boost/version.hpp
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1843 ] Boost_VERSION = "106900"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1844 ] Boost_VERSION_STRING = "1.69.0"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1845 ] Boost_VERSION_MACRO = "106900"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1846 ] Boost_VERSION_MAJOR = "1"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1847 ] Boost_VERSION_MINOR = "69"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1848 ] Boost_VERSION_PATCH = "0"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1849 ] Boost_VERSION_COUNT = "3"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1873 ] Boost_LIB_PREFIX = ""
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1874 ] Boost_NAMESPACE = "boost"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:953 ] _boost_COMPILER = "-mgw112" (guessed)
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1910 ] _boost_MULTITHREADED = "-mt"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1988 ] _boost_ARCHITECTURE_TAG = "" (detected)
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1992 ] _boost_RELEASE_ABI_TAG = "-"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:1993 ] _boost_DEBUG_ABI_TAG = "-d"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:2053 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "D:/boost/lib;D:/boost/stage/lib;D:/boost/lib;D:/boost/../lib;D:/boost/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:2054 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "D:/boost/lib;D:/boost/stage/lib;D:/boost/lib;D:/boost/../lib;D:/boost/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:2239 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-mgw112-mt-1_69;boost_filesystem-mgw112-mt;boost_filesystem-mgw112-mt;boost_filesystem-mt-1_69;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
-- [ D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:2294 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-mgw112-mt-d-1_69;boost_filesystem-mgw112-mt-d;boost_filesystem-mgw112-mt-d;boost_filesystem-mt-d-1_69;boost_filesystem-mt-d;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem
CMake Error at D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: filesystem) (found version "1.69.0")
Call Stack (most recent call first):
D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
D:/CLion/bin/cmake/win/share/cmake-3.20/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
CMakeLists.txt:53 (find_package)
-- Configuring incomplete, errors occurred!
Yeahi..
I searched myself through the Net for 3 Days now and stumbled accros different approaches to fix that..
From, building the libs, to installing thing.. doing stuff and other stuff.. and so on.. i don´t really know what i´ve done there, cause the Manuals and Fixes are more Cryptic than logic to me as Hobby programmer...
I changed the FindBoost.cmake to an updated one, supporting Boost 1.77.. tried to set Hinbt Paths like BOOST_INCLUDEDIR and BOOST_LIBRARYDIR.. nothing changed anything..
I tried Boost Versions: 1.77.0, 1.76.0, 1.69.0 (current)
So.. i´ve no clue what i can do more, to make it possible to link boost to my project...
I hope someone can help me out here..
Edit:
Sry Guys.. but.. i´m really new to this stuf...
I bootstraped boost with gcc as parameter and invoked b2 inside the boost directory..
Now i´ve a bin.v2
+
Got the messages:
The following directory should be added to compiler include paths:
D:\boost
The following directory should be added to linker library paths:
D:\boost\stage\lib
Done by:
set(BOOST_ROOT "D:/boost")
set(BOOST_INCLUDEDIR "D:/boost")
set(BOOST_LIBRARYDIR "D:/boost/stage/lib")
before find_package
Still get
Could NOT find Boost (missing: filesystem) (found version "1.77.0")
:(
I'm new to Cmake. I read posts of the same problem but I still cannot solve my problem. Sorry about the same question.
My boost include is in: /usr/local/Cellar/boost/1.58.0/include
My boost lib is in: /usr/local/Cellar/boost/1.58.0/lib
My CMakeLists.txt is:
cmake_minimum_required(VERSION 2.6)
SET(BOOST_ROOT /usr/local/Cellar/boost/1.58.0)
SET(BOOST_INCLUDEDIR /usr/local/Cellar/boost/1.58.0/include)
SET(BOOST_LIBRARYDIR /usr/local/Cellar/boost/1.58.0/lib)
set(Boost_USE_STATIC_LIBS ON)
find_package(Boost COMPONENTS optional REQUIRED)
include_directories(${Boost_INCLUDEDIR})
target_link_libraries(hash ${Boost_LIBRARYDIR})
The debug message I got is:
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:551 ] _boost_TEST_VERSIONS = 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
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:553 ] Boost_USE_MULTITHREADED = TRUE
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:555 ] Boost_USE_STATIC_LIBS = ON
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:557 ] Boost_USE_STATIC_RUNTIME =
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:559 ] Boost_ADDITIONAL_VERSIONS =
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:561 ] Boost_NO_SYSTEM_PATHS =
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:613 ] Declared as CMake or Environmental Variables:
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:615 ] BOOST_ROOT = /usr/local/Cellar/boost/1.58.0
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:617 ] BOOST_INCLUDEDIR = /usr/local/Cellar/boost/1.58.0/include
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:619 ] BOOST_LIBRARYDIR = /usr/local/Cellar/boost/1.58.0/lib
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:621 ] _boost_TEST_VERSIONS = 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
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:690 ] Include debugging info:
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:692 ] _boost_INCLUDE_SEARCH_DIRS = /usr/local/Cellar/boost/1.58.0/include;/usr/local/Cellar/boost/1.58.0/include;/usr/local/Cellar/boost/1.58.0;PATHS;C:/boost/include;C:/boost;/sw/local/include
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:694 ] _boost_PATH_SUFFIXES = boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_49_0;boost_1_49_0;boost/boost-1_49_0;boost/boost_1_49_0;boost-1_49;boost_1_49;boost/boost-1_49;boost/boost_1_49;boost-1_48_0;boost_1_48_0;boost/boost-1_48_0;boost/boost_1_48_0;boost-1_48;boost_1_48;boost/boost-1_48;boost/boost_1_48;boost-1_47_0;boost_1_47_0;boost/boost-1_47_0;boost/boost_1_47_0;boost-1_47;boost_1_47;boost/boost-1_47;boost/boost_1_47;boost-1_46_1;boost_1_46_1;boost/boost-1_46_1;boost/boost_1_46_1;boost-1_46_0;boost_1_46_0;boost/boost-1_46_0;boost/boost_1_46_0;boost-1_46;boost_1_46;boost/boost-1_46;boost/boost_1_46;boost-1_45_0;boost_1_45_0;boost/boost-1_45_0;boost/boost_1_45_0;boost-1_45;boost_1_45;boost/boost-1_45;boost/boost_1_45;boost-1_44_0;boost_1_44_0;boost/boost-1_44_0;boost/boost_1_44_0;boost-1_44;boost_1_44;boost/boost-1_44;boost/boost_1_44;boost-1_43_0;boost_1_43_0;boost/boost-1_43_0;boost/boost_1_43_0;boost-1_43;boost_1_43;boost/boost-1_43;boost/boost_1_43;boost-1_42_0;boost_1_42_0;boost/boost-1_42_0;boost/boost_1_42_0;boost-1_42;boost_1_42;boost/boost-1_42;boost/boost_1_42;boost-1_41_0;boost_1_41_0;boost/boost-1_41_0;boost/boost_1_41_0;boost-1_41;boost_1_41;boost/boost-1_41;boost/boost_1_41;boost-1_40_0;boost_1_40_0;boost/boost-1_40_0;boost/boost_1_40_0;boost-1_40;boost_1_40;boost/boost-1_40;boost/boost_1_40;boost-1_39_0;boost_1_39_0;boost/boost-1_39_0;boost/boost_1_39_0;boost-1_39;boost_1_39;boost/boost-1_39;boost/boost_1_39;boost-1_38_0;boost_1_38_0;boost/boost-1_38_0;boost/boost_1_38_0;boost-1_38;boost_1_38;boost/boost-1_38;boost/boost_1_38;boost-1_37_0;boost_1_37_0;boost/boost-1_37_0;boost/boost_1_37_0;boost-1_37;boost_1_37;boost/boost-1_37;boost/boost_1_37;boost-1_36_1;boost_1_36_1;boost/boost-1_36_1;boost/boost_1_36_1;boost-1_36_0;boost_1_36_0;boost/boost-1_36_0;boost/boost_1_36_0;boost-1_36;boost_1_36;boost/boost-1_36;boost/boost_1_36;boost-1_35_1;boost_1_35_1;boost/boost-1_35_1;boost/boost_1_35_1;boost-1_35_0;boost_1_35_0;boost/boost-1_35_0;boost/boost_1_35_0;boost-1_35;boost_1_35;boost/boost-1_35;boost/boost_1_35;boost-1_34_1;boost_1_34_1;boost/boost-1_34_1;boost/boost_1_34_1;boost-1_34_0;boost_1_34_0;boost/boost-1_34_0;boost/boost_1_34_0;boost-1_34;boost_1_34;boost/boost-1_34;boost/boost_1_34;boost-1_33_1;boost_1_33_1;boost/boost-1_33_1;boost/boost_1_33_1;boost-1_33_0;boost_1_33_0;boost/boost-1_33_0;boost/boost_1_33_0;boost-1_33;boost_1_33;boost/boost-1_33;boost/boost_1_33
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:714 ] location of version.hpp: /usr/local/Cellar/boost/1.58.0/include/boost/version.hpp
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:738 ] version.hpp reveals boost 1.58.0
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:824 ] guessed _boost_COMPILER =
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:834 ] _boost_MULTITHREADED = -mt
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:877 ] _boost_RELEASE_ABI_TAG = -
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:879 ] _boost_DEBUG_ABI_TAG = -d
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:933 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/Cellar/boost/1.58.0/lib;/usr/local/Cellar/boost/1.58.0/lib;/usr/local/Cellar/boost/1.58.0/stage/lib;/usr/local/Cellar/boost/1.58.0/include/lib;/usr/local/Cellar/boost/1.58.0/include/../lib;/usr/local/Cellar/boost/1.58.0/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/Cellar/boost/1.58.0/lib;/usr/local/Cellar/boost/1.58.0/lib;/usr/local/Cellar/boost/1.58.0/stage/lib;/usr/local/Cellar/boost/1.58.0/include/lib;/usr/local/Cellar/boost/1.58.0/include/../lib;/usr/local/Cellar/boost/1.58.0/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:1045 ] Searching for OPTIONAL_LIBRARY_RELEASE: boost_optional-mt-1_58;boost_optional-mt;boost_optional-mt-1_58;boost_optional-mt;boost_optional
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:1087 ] Searching for OPTIONAL_LIBRARY_DEBUG: boost_optional-mt-d-1_58;boost_optional-mt-d;boost_optional-mt-d-1_58;boost_optional-mt-d;boost_optional-mt;boost_optional
-- [ /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:1153 ] Boost_FOUND = 1
CMake Error at /usr/local/Cellar/cmake/3.4.1/share/cmake/Modules/FindBoost.cmake:1247 (message):
Unable to find the requested Boost libraries.
Boost version: 1.58.0
Boost include path: /usr/local/Cellar/boost/1.58.0/include
Could not find the following static Boost libraries:
boost_optional
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:6 (find_package)
CMake Warning (dev) at CMakeLists.txt:9 (target_link_libraries):
Cannot specify link libraries for target "hash" which is not built by this
project.
CMake does not support this but it used to work accidentally and is being
allowed for compatibility.
Policy CMP0016 is not set: target_link_libraries() reports error if its
only argument is not a target. Run "cmake --help-policy CMP0016" for
policy details. Use the cmake_policy command to set the policy and
suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring incomplete, errors occurred!
I execute by running cmake .
Edit. The problem has been solved. The correct CMakeLists.txt should be :
cmake_minimum_required(VERSION 2.6)
SET(BOOST_ROOT /usr/local/Cellar/boost/1.58.0)
SET(BOOST_INCLUDEDIR /usr/local/Cellar/boost/1.58.0/include)
find_package(Boost REQUIRED)
include_directories(${BOOST_INCLUDEDIR})
add_executable(myProgram main.cc)
The error occurred because Boost.Optional is a header-only file and I do not need to locate the lib for it.
Boost.Optional is a head only libraries:
see http://www.boost.org/doc/libs/1_60_0/libs/optional/doc/html/index.html
The COMPONENTS in find_package is required only for built libraries. So, you only need to write:
find_package(Boost 1.58.0 REQUIRED)
see similar link: CMake Boost 1.59.0 geometry
Well, Boost.Optional is a header-only library so it's not possible to locate its shared lib which name, according to docs, should be specified in the components argument. I guess it's the root of the problem, and you should simply search for boost itself without any component:
find_package(Boost REQUIRED)
In this case there's no additional precompiled library so target_link_libraries for Boost.Optional is not needed (but may be required for other 3rd-party libs in the project.
i want to build stp on Debian Jessy with CMake which use the boost library, I got the errror:
Could not find the following Boost libraries:
boost_program_options
boost_system
I have tried to set the include path direct but no succes.
For me it seems that there are only headers and no lib. What can I do?
Here the complete output with Boost_DEBUG=ON and Boost_DETAILED_FAILURE=ON:
-- Doing a RelWithDebInfo build
-- Building shared library currently broken due to mix of C++/C code
-- Checking for C++ hash_set implementation...
-- C++ hash_set found as std::unordered_set in <unordered_set>
-- Checking for C++ hash_multiset implementation...
-- C++ hash_multiset found as std::unordered_multiset in <unordered_set>
-- Checking for C++ hash_map implementation...
-- C++ hash_map found as std::unordered_map in <unordered_map>
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:492 ] _boost_TEST_VERSIONS = 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
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:494 ] Boost_USE_MULTITHREADED = TRUE
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:496 ] Boost_USE_STATIC_LIBS =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:498 ] Boost_USE_STATIC_RUNTIME =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:500 ] Boost_ADDITIONAL_VERSIONS =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:502 ] Boost_NO_SYSTEM_PATHS =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:554 ] Declared as CMake or Environmental Variables:
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:556 ] BOOST_ROOT = /usr/include/boost
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:558 ] BOOST_INCLUDEDIR =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:560 ] BOOST_LIBRARYDIR =
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:562 ] _boost_TEST_VERSIONS = 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
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:655 ] location of version.hpp: /usr/include/boost/version.hpp
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:679 ] version.hpp reveals boost 1.54.0
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:755 ] guessed _boost_COMPILER = -gcc48
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:765 ] _boost_MULTITHREADED = -mt
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:808 ] _boost_RELEASE_ABI_TAG = -
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:810 ] _boost_DEBUG_ABI_TAG = -d
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:858 ] _boost_LIBRARY_SEARCH_DIRS = /usr/include/boost/lib;/usr/include/boost/stage/lib;/usr/include/lib;/usr/include/../lib;/usr/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:946 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc48-mt-1_54;boost_program_options-gcc48-mt;boost_program_options-mt-1_54;boost_program_options-mt;boost_program_options
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:982 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc48-mt-d-1_54;boost_program_options-gcc48-mt-d;boost_program_options-mt-d-1_54;boost_program_options-mt-d;boost_program_options-mt;boost_program_options
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:946 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc48-mt-1_54;boost_system-gcc48-mt;boost_system-mt-1_54;boost_system-mt;boost_system
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:982 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc48-mt-d-1_54;boost_system-gcc48-mt-d;boost_system-mt-d-1_54;boost_system-mt-d;boost_system-mt;boost_system
-- [ /usr/share/cmake-2.8/Modules/FindBoost.cmake:1033 ] Boost_FOUND = 1
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1130 (message):
Unable to find the requested Boost libraries.
Boost version: 1.54.0
Boost include path: /usr/include
Could not find the following Boost libraries:
boost_program_options
boost_system
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:190 (find_package)
Adding public header(s) /home/michael/Downloads/stp/src/interface/C/c_interface.h to target libstp
Adding public header(s) /home/michael/Downloads/stp/src/interface/CPP/cpp_interface.h to target libstp
CMake Warning at CMakeLists.txt:269 (message):
Testing is disabled
-- Configuring incomplete, errors occurred!
I have seen the same problem on CentOS.
$ cat /etc/redhat-release
CentOS Linux release 7.0.1406 (Core)
First, i ensured libboost-system.so is exist in /usr/lib64.
$ find /usr -name "*boost*"
Then, in findBoost.cmake, i found it only looks boost in somedir/lib. So i installed x86 version
$ yum install boost-devel.x86_64
Not working.
Finally, it occurred to me, there is only .so files. So i tried to edit stp/CMakeLists.txt, and set
set(Boost_USE_STATIC_LIBS OFF)
if(NOT BUILD_SHARED_LIBS)
# If we are building libstp as static we will want to
# make sure there are no unresolved symbols to Boost
# library functions. Later we'll merge them into the
# archive so we'll need static boost libraries.
message("Trying to use static Boost libraries")
# set(Boost_USE_STATIC_LIBS ON)
endif()
It works!