Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ferdna
Copy link

@ferdna ferdna commented Mar 15, 2021

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)

removed "REQUIRED COMPONENTS system thread filesystem" from find_package command. It wont compile with this line using cmake.
@AppVeyorBot
Copy link

@ferdna
Copy link
Author

ferdna commented Mar 15, 2021

it does needs the filesystem boost library. build breaks at 98% :(

[ 98%] Linking CXX executable slic3r_test
/usr/bin/cmake -E cmake_link_script CMakeFiles/slic3r_test.dir/link.txt --verbose=1
/usr/bin/c++ -O2 -fPIC -O3 -DNDEBUG CMakeFiles/slic3r_test.dir/test/test_harness.cpp.o CMakeFiles/slic3r_test.dir/test/test_data.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_config.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_fill.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_flow.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_gcodewriter.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_gcode.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_geometry.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_log.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_model.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_polygon.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_print.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_printgcode.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_printobject.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_skirt_brim.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_test_data.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_transformationmatrix.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_trianglemesh.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_extrusion_entity.cpp.o CMakeFiles/slic3r_test.dir/test/libslic3r/test_3mf.cpp.o -o slic3r_test liblibslic3r.a libadmesh.a libBSpline.a libclipper.a libexpat.a libpolypartition.a libpoly2tri.a libZipArchive.a -lpthread
/usr/bin/ld: liblibslic3r.a(Model.cpp.o): in function Slic3r::ModelObject::print_info() const': Model.cpp:(.text+0x3856): undefined reference to boost::filesystem::path::filename() const'
/usr/bin/ld: liblibslic3r.a(Model.cpp.o): in function Slic3r::Model::read_from_file(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': Model.cpp:(.text+0x4a5e): undefined reference to boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'
/usr/bin/ld: liblibslic3r.a(Model.cpp.o): in function Slic3r::ModelObject::cut(Slic3r::Axis, double, Slic3r::Model*) const': Model.cpp:(.text+0x7b67): undefined reference to boost::filesystem::path::stem() const'
/usr/bin/ld: Model.cpp:(.text+0x7b77): undefined reference to boost::filesystem::path::parent_path() const' /usr/bin/ld: Model.cpp:(.text+0x7b82): undefined reference to boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/bin/ld: Model.cpp:(.text+0x7d42): undefined reference to boost::filesystem::path::stem() const' /usr/bin/ld: Model.cpp:(.text+0x7d4d): undefined reference to boost::filesystem::path::parent_path() const'
/usr/bin/ld: Model.cpp:(.text+0x7d58): undefined reference to boost::filesystem::path::operator/=(boost::filesystem::path const&)' /usr/bin/ld: liblibslic3r.a(Print.cpp.o): in function Slic3r::Print::output_filepath(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
Print.cpp:(.text+0x2f45): undefined reference to boost::filesystem::path::parent_path() const' /usr/bin/ld: Print.cpp:(.text+0x2f50): undefined reference to boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/bin/ld: Print.cpp:(.text+0x30cf): undefined reference to boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)' /usr/bin/ld: Print.cpp:(.text+0x3186): undefined reference to boost::filesystem::path::operator/=(boost::filesystem::path const&)'
/usr/bin/ld: liblibslic3r.a(Print.cpp.o): in function Slic3r::Print::add_model_object(Slic3r::ModelObject*, int)': Print.cpp:(.text+0x6972): undefined reference to boost::filesystem::path::filename() const'
/usr/bin/ld: liblibslic3r.a(PrintConfig.cpp.o): in function Slic3r::PrintConfigDef::PrintConfigDef()': PrintConfig.cpp:(.text+0xe138): undefined reference to boost::thread::hardware_concurrency()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>), boost::_bi::list3<boost::_bi::value<std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (Slic3r::Layer*)> > > > >::~thread_data()': PrintObject.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED5Ev]+0x44): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>), boost::_bi::list3<boost::_bi::value<std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (Slic3r::SurfaceCollection*)> > > > >::~thread_data()': PrintObject.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED5Ev]+0x44): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>), boost::_bi::list3<boost::_bi::value<std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (Slic3r::Layer*)> > > > >::~thread_data()': PrintObject.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED0Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED5Ev]+0x43): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>), boost::_bi::list3<boost::_bi::value<std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (Slic3r::SurfaceCollection*)> > > > >::~thread_data()': PrintObject.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED0Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEED5Ev]+0x43): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::thread_group::~thread_group()': PrintObject.cpp:(.text._ZN5boost12thread_groupD2Ev[_ZN5boost12thread_groupD5Ev]+0x25): undefined reference to boost::thread::detach()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function void Slic3r::_parallelize_do<Slic3r::SurfaceCollection*>(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>)': PrintObject.cpp:(.text._ZN6Slic3r15_parallelize_doIPNS_17SurfaceCollectionEEEvPSt5queueIT_St5dequeIS4_SaIS4_EEEPN5boost5mutexENSA_8functionIFvS4_EEE[_ZN6Slic3r15_parallelize_doIPNS_17SurfaceCollectionEEEvPSt5queueIT_St5dequeIS4_SaIS4_EEEPN5boost5mutexENSA_8functionIFvS4_EEE]+0x88): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function void Slic3r::_parallelize_do<Slic3r::Layer*>(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>)': PrintObject.cpp:(.text._ZN6Slic3r15_parallelize_doIPNS_5LayerEEEvPSt5queueIT_St5dequeIS4_SaIS4_EEEPN5boost5mutexENSA_8functionIFvS4_EEE[_ZN6Slic3r15_parallelize_doIPNS_5LayerEEEvPSt5queueIT_St5dequeIS4_SaIS4_EEEPN5boost5mutexENSA_8functionIFvS4_EEE]+0x88): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)': PrintObject.cpp:(.text._ZN5boost18condition_variable4waitERNS_11unique_lockINS_5mutexEEE[_ZN5boost18condition_variable4waitERNS_11unique_lockINS_5mutexEEE]+0x17): undefined reference to boost::detail::get_current_thread_data()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN5boost18condition_variable4waitERNS_11unique_lockINS_5mutexEEE[_ZN5boost18condition_variable4waitERNS_11unique_lockINS_5mutexEEE]+0x1ce): undefined reference to boost::this_thread::interruption_point()' /usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::thread_group::join_all()':
PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x1f): undefined reference to boost::this_thread::disable_interruption::disable_interruption()' /usr/bin/ld: PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x7a): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x9d): undefined reference to boost::thread::joinable() const' /usr/bin/ld: PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0xae): undefined reference to boost::thread::native_handle()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0xc8): undefined reference to boost::thread::join_noexcept()' /usr/bin/ld: PrintObject.cpp:(.text._ZN5boost12thread_group8join_allEv[_ZN5boost12thread_group8join_allEv]+0x255): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::thread::thread<void (*)(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>), std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)> >(void (*)(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>), std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >*, boost::mutex*, boost::function<void (Slic3r::Layer*)>)': PrintObject.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_]+0x132): undefined reference to vtable for boost::detail::thread_data_base'
/usr/bin/ld: PrintObject.cpp:(.text.ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2[ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2]+0x30c): undefined reference to boost::thread::start_thread_noexcept()' /usr/bin/ld: PrintObject.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_]+0x689): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function void Slic3r::parallelize<Slic3r::Layer*>(std::queue<Slic3r::Layer*, std::deque<Slic3r::Layer*, std::allocator<Slic3r::Layer*> > >, boost::function<void (Slic3r::Layer*)>, int)': PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x1b0): undefined reference to boost::this_thread::disable_interruption::disable_interruption()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x202): undefined reference to boost::detail::get_current_thread_data()' /usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x43e): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x563): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()' /usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_5LayerEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x94e): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function boost::thread::thread<void (*)(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>), std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)> >(void (*)(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>), std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >*, boost::mutex*, boost::function<void (Slic3r::SurfaceCollection*)>)': PrintObject.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_]+0x132): undefined reference to vtable for boost::detail::thread_data_base'
/usr/bin/ld: PrintObject.cpp:(.text.ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2[ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2]+0x30c): undefined reference to boost::thread::start_thread_noexcept()' /usr/bin/ld: PrintObject.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS5_SaIS5_EEEPNS_5mutexENS_8functionIFvS5_EEEESA_SC_SF_EET_T0_T1_T2_]+0x689): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o): in function void Slic3r::parallelize<Slic3r::SurfaceCollection*>(std::queue<Slic3r::SurfaceCollection*, std::deque<Slic3r::SurfaceCollection*, std::allocator<Slic3r::SurfaceCollection*> > >, boost::function<void (Slic3r::SurfaceCollection*)>, int)': PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x1b0): undefined reference to boost::this_thread::disable_interruption::disable_interruption()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x202): undefined reference to boost::detail::get_current_thread_data()' /usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x43e): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x563): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()' /usr/bin/ld: PrintObject.cpp:(.text._ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi[_ZN6Slic3r11parallelizeIPNS_17SurfaceCollectionEEEvSt5queueIT_St5dequeIS4_SaIS4_EEEN5boost8functionIFvS4_EEEi]+0x94e): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o):(.data.rel.ro._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEEE[_ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r5LayerESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEEE]+0x10): undefined reference to typeinfo for boost::detail::thread_data_base' /usr/bin/ld: liblibslic3r.a(PrintObject.cpp.o):(.data.rel.ro._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEEE[_ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIPN6Slic3r17SurfaceCollectionESt5dequeIS7_SaIS7_EEEPNS_5mutexENS_8functionIFvS7_EEEENS2_5list3INS2_5valueISC_EENSL_ISE_EENSL_ISH_EEEEEEEE]+0x10): undefined reference to typeinfo for boost::detail::thread_data_base'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>), boost::_bi::list3<boost::_bi::value<std::queue<int, std::deque<int, std::allocator<int> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (int)> > > > >::~thread_data()': TriangleMesh.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED5Ev]+0x44): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>), boost::_bi::list3<boost::_bi::value<std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (unsigned long)> > > > >::~thread_data()': TriangleMesh.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED2Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED5Ev]+0x44): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>), boost::_bi::list3<boost::_bi::value<std::queue<int, std::deque<int, std::allocator<int> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (int)> > > > >::~thread_data()': TriangleMesh.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED0Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED5Ev]+0x43): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>), boost::_bi::list3<boost::_bi::value<std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*>, boost::_bi::value<boost::mutex*>, boost::_bi::value<boost::function<void (unsigned long)> > > > >::~thread_data()': TriangleMesh.cpp:(.text._ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED0Ev[_ZN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEED5Ev]+0x43): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function void Slic3r::_parallelize_do<int>(std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>)': TriangleMesh.cpp:(.text._ZN6Slic3r15_parallelize_doIiEEvPSt5queueIT_St5dequeIS2_SaIS2_EEEPN5boost5mutexENS8_8functionIFvS2_EEE[_ZN6Slic3r15_parallelize_doIiEEvPSt5queueIT_St5dequeIS2_SaIS2_EEEPN5boost5mutexENS8_8functionIFvS2_EEE]+0x88): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function void Slic3r::_parallelize_do<unsigned long>(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>)': TriangleMesh.cpp:(.text._ZN6Slic3r15_parallelize_doImEEvPSt5queueIT_St5dequeIS2_SaIS2_EEEPN5boost5mutexENS8_8functionIFvS2_EEE[_ZN6Slic3r15_parallelize_doImEEvPSt5queueIT_St5dequeIS2_SaIS2_EEEPN5boost5mutexENS8_8functionIFvS2_EEE]+0x88): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::thread::thread<void (*)(std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>), std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)> >(void (*)(std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>), std::queue<int, std::deque<int, std::allocator<int> > >*, boost::mutex*, boost::function<void (int)>)': TriangleMesh.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2_]+0x1d7): undefined reference to vtable for boost::detail::thread_data_base'
/usr/bin/ld: TriangleMesh.cpp:(.text.ZN5boost6threadC2IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2[ZN5boost6threadC5IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2]+0x3bf): undefined reference to boost::thread::start_thread_noexcept()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEES7_S9_SC_EET_T0_T1_T2_]+0x7d0): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function void Slic3r::parallelize<int>(std::queue<int, std::deque<int, std::allocator<int> > >, boost::function<void (int)>, int)': TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x1af): undefined reference to boost::this_thread::disable_interruption::disable_interruption()'
/usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x1f2): undefined reference to boost::detail::get_current_thread_data()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x42e): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x553): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeIiEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x9a2): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function boost::thread::thread<void (*)(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>), std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)> >(void (*)(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>), std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >*, boost::mutex*, boost::function<void (unsigned long)>)': TriangleMesh.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2_]+0x1d7): undefined reference to vtable for boost::detail::thread_data_base'
/usr/bin/ld: TriangleMesh.cpp:(.text.ZN5boost6threadC2IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2[ZN5boost6threadC5IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2]+0x3bf): undefined reference to boost::thread::start_thread_noexcept()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN5boost6threadC2IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2_[_ZN5boost6threadC5IPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEES7_S9_SC_EET_T0_T1_T2_]+0x7d0): undefined reference to boost::detail::thread_data_base::~thread_data_base()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function void Slic3r::parallelize<unsigned long>(std::queue<unsigned long, std::deque<unsigned long, std::allocator<unsigned long> > >, boost::function<void (unsigned long)>, int)': TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x1af): undefined reference to boost::this_thread::disable_interruption::disable_interruption()'
/usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x1f2): undefined reference to boost::detail::get_current_thread_data()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x42e): undefined reference to boost::this_thread::interruption_point()'
/usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x553): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi[_ZN6Slic3r11parallelizeImEEvSt5queueIT_St5dequeIS2_SaIS2_EEEN5boost8functionIFvS2_EEEi]+0x9a2): undefined reference to boost::this_thread::disable_interruption::~disable_interruption()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function Slic3r::TriangleMeshSlicer<(Slic3r::Axis)0>::slice(std::vector<float, std::allocator<float> > const&, std::vector<std::vector<Slic3r::Polygon, std::allocator<Slic3r::Polygon> >, std::allocator<std::vector<Slic3r::Polygon, std::allocator<Slic3r::Polygon> > > >*) const': TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE0EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE0EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x12d): undefined reference to boost::thread::hardware_concurrency()'
/usr/bin/ld: TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE0EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE0EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x53a): undefined reference to boost::thread::hardware_concurrency()' /usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function Slic3r::TriangleMeshSlicer<(Slic3r::Axis)1>::slice(std::vector<float, std::allocator > const&, std::vector<std::vector<Slic3r::Polygon, std::allocatorSlic3r::Polygon >, std::allocator<std::vector<Slic3r::Polygon, std::allocatorSlic3r::Polygon > > >) const':
TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE1EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE1EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x12d): undefined reference to boost::thread::hardware_concurrency()' /usr/bin/ld: TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE1EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE1EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x53a): undefined reference to boost::thread::hardware_concurrency()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o): in function Slic3r::TriangleMeshSlicer<(Slic3r::Axis)2>::slice(std::vector<float, std::allocator<float> > const&, std::vector<std::vector<Slic3r::Polygon, std::allocator<Slic3r::Polygon> >, std::allocator<std::vector<Slic3r::Polygon, std::allocator<Slic3r::Polygon> > > >*) const': TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE2EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE2EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x12d): undefined reference to boost::thread::hardware_concurrency()'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o):TriangleMesh.cpp:(.text._ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE2EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE[_ZNK6Slic3r18TriangleMeshSlicerILNS_4AxisE2EE5sliceERKSt6vectorIfSaIfEEPS3_IS3_INS_7PolygonESaIS8_EESaISA_EE]+0x53a): more undefined references to boost::thread::hardware_concurrency()' follow /usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o):(.data.rel.ro._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEEE[_ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueIiSt5dequeIiSaIiEEEPNS_5mutexENS_8functionIFviEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEEE]+0x10): undefined reference to typeinfo for boost::detail::thread_data_base'
/usr/bin/ld: liblibslic3r.a(TriangleMesh.cpp.o):(.data.rel.ro._ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEEE[_ZTIN5boost6detail11thread_dataINS_3_bi6bind_tIvPFvPSt5queueImSt5dequeImSaImEEEPNS_5mutexENS_8functionIFvmEEEENS2_5list3INS2_5valueIS9_EENSI_ISB_EENSI_ISE_EEEEEEEE]+0x10): undefined reference to typeinfo for boost::detail::thread_data_base' /usr/bin/ld: liblibslic3r.a(IO.cpp.o): in function Slic3r::IO::STL::read(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, Slic3r::Model
)':
IO.cpp:(.text+0x2290): undefined reference to boost::filesystem::path::filename() const' /usr/bin/ld: liblibslic3r.a(IO.cpp.o): in function Slic3r::IO::OBJ::read(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, Slic3r::Model*)':
IO.cpp:(.text+0x8f0f): undefined reference to `boost::filesystem::path::filename() const'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/slic3r_test.dir/build.make:396: slic3r_test] Error 1
make[2]: Leaving directory '/tmp/SBo/Slic3r-1.3.0/build'
make[1]: *** [CMakeFiles/Makefile2:204: CMakeFiles/slic3r_test.dir/all] Error 2
make[1]: Leaving directory '/tmp/SBo/Slic3r-1.3.0/build'
make: *** [Makefile:114: all] Error 2

Copy link
Member

@lordofhyphens lordofhyphens left a 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?

@ferdna
Copy link
Author

ferdna commented Mar 16, 2021

ok, found the problem. cmake is not pointing to the right boost library path. it is using /usr/lib instead of /usr/lib64.

@lordofhyphens
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants