Conversation
removed "REQUIRED COMPONENTS system thread filesystem" from find_package command. It wont compile with this line using cmake.
|
✅ Build Slic3r 1.3.0-master-2474 completed (commit b3f8d2bfae by @ferdna) |
|
it does needs the filesystem boost library. build breaks at 98% :( [ 98%] Linking CXX executable slic3r_test |
lordofhyphens
left a comment
There was a problem hiding this comment.
Strange, I tested this on my system with 1.74.0.
Are you sure you don't have a dirty building directory?
|
ok, found the problem. cmake is not pointing to the right boost library path. it is using /usr/lib instead of /usr/lib64. |
Sounds like a local configuration problem. |
removed "REQUIRED COMPONENTS system thread filesystem" from find_package command. It wont compile with this line using cmake.
USING boost 1.75.0 & cmake 3.19.6
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- 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 - found
-- Found Threads: TRUE
CMake Error at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
Could NOT find Boost (missing: system thread filesystem) (found version "1.75.0")
Call Stack (most recent call first):
/usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.19/Modules/FindBoost.cmake:2208 (find_package_handle_standard_args)
CMakeLists.txt:118 (find_package)