-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
removed cmake required components. #5065
base: master
Are you sure you want to change the base?
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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)