BxCppDev / Bayeux

Core Persistency, Geometry and Data Processing C++ Library for Particle and Nuclear Physics Experiments
GNU General Public License v3.0
4 stars 9 forks source link

Bayeux Fails to make #55

Closed MHoballah closed 4 years ago

MHoballah commented 4 years ago

Hello, I have a problem with the installation of Bayeux, here is the cmake and make: Thanks in advance

hoballah@nb-hoballah:~/BxCppDev/Bayeux-3.4.1/Bayeux-build$ cmake -DCMAKE_INSTALL_PREFIX=$~/BxCppDev \ -DCMAKE_PREFIX_PATH=$/home/linuxbrew \.. -- [info] bx_version_set: Major = 3 -- [info] bx_version_set: Minor = 4 -- [info] bx_version_set: Patch = 1 -- [info] bx_version_set: Version = 3.4.1 -- [info] bx_version_set: Setting project version... -- [info] bx_version_set: Setting project version major... -- [info] bx_version_set: Setting project version minor... -- [info] bx_version_set: Setting project version patch... -- [info] bx_version_set: Project version = '3.4.1' -- [info] Project version = '3.4.1' -- [info] Define Bayeux dependencies -- Boost version: 1.69.0 -- Found the following Boost libraries: -- filesystem -- system -- serialization -- iostreams -- program_options -- regex -- thread -- thread -- chrono -- date_time -- atomic -- Boost version 106900 has been detected. -- Supported Boost versions: 106300;106900. -- Found Boost 106900 -- - Boost include dirs : '/usr/local/include' -- - Boost library dirs : '/usr/local/lib' -- Bayeux_USE_EOS_ARCHIVES = 0 -- Bayeux_USE_EPA_ARCHIVES = 1 -- Found CAMP at CAMP_DIR = '/home/hoballah/falaise/snemo-sdk/lib/camp/cmake' -- Found CLHEP at CLHEP_DIR = '/home/hoballah/falaise/snemo-sdk/lib/CLHEP-2.1.3.1' -- Found ROOT at ROOT_DIR = '/home/hoballah/root/cmake' -- Geant4_DIR = '/home/hoballah/falaise/snemo-sdk/lib/Geant4-9.6.4' -- Geant4_VERSION = '9.6.4' -- CLHEP_INCLUDE_DIRS = '/home/hoballah/falaise/snemo-sdk/lib/CLHEP-2.1.3.1/../../include' -- ROOT_INCLUDE_DIRS = '/home/hoballah/root/include' -- CAMP_INCLUDE_DIRS = '/home/hoballah/falaise/snemo-sdk/include' -- Boost_INCLUDE_DIRS = '/usr/local/include' -- Using special EPA archives for Boost version 106900 -- Building Bayeux module 'datatools'... -- bxdatatools: Readline library not found! -- Building Bayeux module 'epa'... -- Building Bayeux module 'cuts'... -- Building Bayeux module 'materials'... -- Building Bayeux module 'mygsl'... -- Building Bayeux module 'brio'... -- Building Bayeux module 'dpp'... -- Building Bayeux module 'geomtools'... -- Building Bayeux module 'emfield'... -- Building Bayeux module 'genbb_help'... -- Building Bayeux module 'genvtx'... -- Building Bayeux module 'mctools'... -- Bayeux_WITH_GEANT4_MODULE=1 -- Documentation support for Bayeux_mctools_geant4 -- Configuring done -- Generating done -- Build files have been written to: /home/hoballah/BxCppDev/Bayeux-3.4.1/Bayeux-build hoballah@nb-hoballah:~/BxCppDev/Bayeux-3.4.1/Bayeux-build$ make -j6 [ 5%] Built target Bayeux_mctools_geant4 [ 95%] Built target Bayeux [ 95%] Linking CXX executable ../BuildProducts/bin/bxquery [ 95%] Linking CXX executable ../BuildProducts/bin/bxmaterials_inspector [ 96%] Linking CXX executable ../BuildProducts/bin/bxvariant_inspector [ 96%] Linking CXX executable ../BuildProducts/bin/bxocd_manual [ 96%] Linking CXX executable ../BuildProducts/bin/bxg4_seeds [ 96%] Linking CXX executable ../BuildProducts/bin/bxg4_production ../BuildProducts/lib/libBayeux.so.3.4.1: undefined reference toboost::re_detail_106900::cpp_regex_traits_implementation::transform_primary(char const, char const) const' //home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to __cxa_init_primary_exception@CXXABI_1.3.11' //home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference tostd::__exception_ptr::exception_ptr::exception_ptr(void)@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux.so.3.4.1: undefined reference to `boost::re_detail_106900::cpp_regex_traits_implementation::transform(char const, char const*) const' collect2: error: ld returned 1 exit status source/CMakeFiles/bxquery.dir/build.make:113: recipe for target 'BuildProducts/bin/bxquery-3.4.1' failed make[2]: [BuildProducts/bin/bxquery-3.4.1] Error 1 CMakeFiles/Makefile2:304: recipe for target 'source/CMakeFiles/bxquery.dir/all' failed make[1]: [source/CMakeFiles/bxquery.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... ....//BuildProductsBuildProducts//liblib//libBayeux.so.3.4.1libBayeux.so.3.4.1:: undefinedundefined referencereference toto ``boostboost::::re_detail_106900re_detail_106900::::cpp_regex_traits_implementationcpp_regex_traits_implementation<>::::transform_primarytransform_primary((charchar constconst,, charchar constconst**)) constconst''

////homehome//hoballahhoballah//falaisefalaise//snemosnemo--sdksdk//liblib//libtbb.so.2libtbb.so.2:: undefinedundefined referencereference toto ``__cxa_init_primary_exception__cxa_init_primary_exception@@CXXABI_1.3.11CXXABI_1.3.11''

////homehome//hoballahhoballah//falaisefalaise//snemosnemo--sdksdk//liblib//libtbb.so.2libtbb.so.2:: undefinedundefined referencereference toto ``stdstd::::__exception_ptr__exception_ptr::::exception_ptrexception_ptr::::exception_ptrexception_ptr((voidvoid**))@@CXXABI_1.3.11CXXABI_1.3.11''

....//BuildProductsBuildProducts//liblib//libBayeux.so.3.4.1libBayeux.so.3.4.1:: undefinedundefined referencereference toto ``boostboost::::re_detail_106900re_detail_106900::::cpp_regex_traits_implementationcpp_regex_traits_implementation<>::::transformtransform((charchar constconst,, charchar constconst)) constconst''

collect2: error: ld returned 1 exit status collect2: error: ld returned 1 exit status source/CMakeFiles/bxmaterials_inspector.dir/build.make:113: recipe for target 'BuildProducts/bin/bxmaterials_inspector-3.4.1' failed source/CMakeFiles/bxvariant_inspector.dir/build.make:113: recipe for target 'BuildProducts/bin/bxvariant_inspector-3.4.1' failed make[2]: [BuildProducts/bin/bxmaterials_inspector-3.4.1] Error 1 make[2]: [BuildProducts/bin/bxvariant_inspector-3.4.1] Error 1 CMakeFiles/Makefile2:267: recipe for target 'source/CMakeFiles/bxmaterials_inspector.dir/all' failed make[1]: [source/CMakeFiles/bxmaterials_inspector.dir/all] Error 2 CMakeFiles/Makefile2:230: recipe for target 'source/CMakeFiles/bxvariant_inspector.dir/all' failed make[1]: [source/CMakeFiles/bxvariant_inspector.dir/all] Error 2 ../BuildProducts/lib/libBayeux.so.3.4.1: undefined reference to boost::re_detail_106900::cpp_regex_traits_implementation<char>::transform_primary(char const*, char const*) const' //home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference tocxa_init_primary_exception@CXXABI_1.3.11' //home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to `std::exception_ptr::exception_ptr::exception_ptr(void)@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux.so.3.4.1: undefined reference to `boost::re_detail_106900::cpp_regex_traits_implementation::transform(char const, char const*) const' collect2: error: ld returned 1 exit status source/CMakeFiles/bxocd_manual.dir/build.make:113: recipe for target 'BuildProducts/bin/bxocd_manual-3.4.1' failed make[2]: [BuildProducts/bin/bxocd_manual-3.4.1] Error 1 CMakeFiles/Makefile2:193: recipe for target 'source/CMakeFiles/bxocd_manual.dir/all' failed make[1]: [source/CMakeFiles/bxocd_manual.dir/all] Error 2 /home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to std::__exception_ptr::exception_ptr::exception_ptr(void*)@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux_mctools_geant4.so.3.4.1: undefined reference toboost::re_detail_106900::cpp_regex_traits_implementation::transform_primary(char const, char const) const' /home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to __cxa_init_primary_exception@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux_mctools_geant4.so.3.4.1: undefined reference toboost::re_detail_106900::cpp_regex_traits_implementation::transform(char const, char const) const' collect2: error: ld returned 1 exit status source/CMakeFiles/bxg4_production.dir/build.make:113: recipe for target 'BuildProducts/bin/bxg4_production-3.4.1' failed make[2]: [BuildProducts/bin/bxg4_production-3.4.1] Error 1 CMakeFiles/Makefile2:156: recipe for target 'source/CMakeFiles/bxg4_production.dir/all' failed make[1]: [source/CMakeFiles/bxg4_production.dir/all] Error 2 /home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to std::__exception_ptr::exception_ptr::exception_ptr(void*)@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux_mctools_geant4.so.3.4.1: undefined reference toboost::re_detail_106900::cpp_regex_traits_implementation::transform_primary(char const, char const) const' /home/hoballah/falaise/snemo-sdk/lib/libtbb.so.2: undefined reference to __cxa_init_primary_exception@CXXABI_1.3.11' ../BuildProducts/lib/libBayeux_mctools_geant4.so.3.4.1: undefined reference toboost::re_detail_106900::cpp_regex_traits_implementation::transform(char const, char const) const' collect2: error: ld returned 1 exit status source/CMakeFiles/bxg4_seeds.dir/build.make:113: recipe for target 'BuildProducts/bin/bxg4_seeds-3.4.1' failed make[2]: [BuildProducts/bin/bxg4_seeds-3.4.1] Error 1 CMakeFiles/Makefile2:118: recipe for target 'source/CMakeFiles/bxg4_seeds.dir/all' failed make[1]: [source/CMakeFiles/bxg4_seeds.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 `