-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Issue
trying to build with boost 1.63 , and visual studio 2022.
Boost was build without errors and in c:\dev\boost_1_63_0\
with issuing cmake i get the following error.
ERROR: BOOST_LIBRARYDIR is not the correct spelling. The proper spelling
is BOOST_LIBRARYDIR.
To Reproduce
D:\Github\Slic3r\build>cmake ../src -D BOOST_ROOT=C:\dev\boost_1_63_0 -D SLIC3R_BUILD_TESTS=OFF -D SLIC3R_STATIC=ON -D BOOST_LIBRARYDIR=C:\dev\boost_1_63_0\stage\lib -G "Visual Studio 17 2022"
-- Selecting Windows SDK version 10.0.26100.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.38.33145.0
-- The CXX compiler identification is MSVC 19.38.33145.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/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/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.38.33130/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 Error at C:/Program Files/CMake/share/cmake-3.27/Modules/FindBoost.cmake:855 (message):
ERROR: BOOST_LIBRARYDIR is not the correct spelling. The proper spelling
is BOOST_LIBRARYDIR.
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.27/Modules/FindBoost.cmake:1717 (_Boost_CHECK_SPELLING)
CMakeLists.txt:123 (find_package)
Desktop (please complete the following information):
- OS: Windows
- Version 10
- Visual Studio 2022
Additional context
pulled master at ->
commit 026c138 (HEAD -> master, origin/master, origin/HEAD)
Author: Alessandro Ranellucci [email protected]
Date: Fri Oct 28 16:18:24 2022 +0200
Do not try to reinstall modules that were installed manually