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

Boost 1.57 / 1.60 and Clang 3.7 with C++11 on Linux x64 #14

Closed
magnific0 opened this issue Feb 1, 2016 · 1 comment
Closed

Boost 1.57 / 1.60 and Clang 3.7 with C++11 on Linux x64 #14

magnific0 opened this issue Feb 1, 2016 · 1 comment

Comments

@magnific0
Copy link
Member

I just ran into the issue that Boost 1.57 would not build for me if I force Clang. Downgrading to 1.53 (arbitrary) solved the issue for me. Upgrading to 1.60 (latest) doesn't work. I am cloing the issue immidiately (as the Mac is likely unaffected and downgrading should be no problem, but I wanted to document the issue for postperity.

NB it is not entirely known which versions > 1.53 are affected.

Scanning dependencies of target test_TabulatedAtmosphere
[ 90%] Building CXX object tudat/Tudat/Astrodynamics/Aerodynamics/CMakeFiles/test_TabulatedAtmosphere.dir/UnitTests/unitTestTabulatedAtmosphere.cpp.o
[ 90%] Linking CXX executable ../../../../../tudat/bin/unit_tests/test_TabulatedAtmosphere
../../../../../tudat/lib/libtudat_input_output.a(streamFilters.cpp.o): In function `__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > boost::re_detail::re_is_set_member<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> >, unsigned int>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::re_detail::re_set_long<unsigned int> const*, boost::re_detail::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool)':
/home/jacco/Gits/tudatBundle-tudat/tudat/Tudat/InputOutput/streamFilters.cpp:(.text._ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x275): undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
/home/jacco/Gits/tudatBundle-tudat/tudat/Tudat/InputOutput/streamFilters.cpp:(.text._ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost9re_detail16re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x3c5): undefined reference to `boost::re_detail::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
tudat/Tudat/Astrodynamics/Aerodynamics/CMakeFiles/test_TabulatedAtmosphere.dir/build.make:103: recipe for target '../tudat/bin/unit_tests/test_TabulatedAtmosphere' failed
make[2]: *** [../tudat/bin/unit_tests/test_TabulatedAtmosphere] Error 1
CMakeFiles/Makefile2:542: recipe for target 'tudat/Tudat/Astrodynamics/Aerodynamics/CMakeFiles/test_TabulatedAtmosphere.dir/all' failed
make[1]: *** [tudat/Tudat/Astrodynamics/Aerodynamics/CMakeFiles/test_TabulatedAtmosphere.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
@magnific0
Copy link
Member Author

Downgrade to Boost 1.53 solves the issue.

DominicDirkx added a commit to DominicDirkx/tudat that referenced this issue Sep 17, 2021
…or_new

Fixing some errors in mission_segments
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

No branches or pull requests

1 participant