Use Boost Library compilation error
- Dominant language
- HTML
- Stars
- 8.6k
- Forks
- 1.9k
- Avg merge
- 39m
- Merged PRs (30d)
- 2
Description
My boost library version is 1.65. Then, when compiling the code, an exception occurred. The exception is as follows:
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator, std::allocator > > > >, boost::regex_traits > >::construct_init(boost::basic_regex > > const&, boost::regex_constants::_match_flags)'
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator, std::allocator > > > >, boost::regex_traits > >::find()'
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::basic_regex > >::do_assign(char const*, char const*, unsigned int)'
collect2: error: ld returned 1 exit status
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator, std::allocator > > > >, boost::regex_traits > >::construct_init(boost::basic_regex > > const&, boost::regex_constants::_match_flags)'
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator, std::allocator > >, std::allocator, std::allocator > > > >, boost::regex_traits > >::find()'
/usr/bin/ld: ../../lib/liblepton_core.so: undefined reference to `boost::basic_regex > >::do_assign(char const*, char const*, unsigned int)'
collect2: error: ld returned 1 exit status
make[2]: *** [examples/print_results/CMakeFiles/print_results.dir/build.make:127:bin/print_results] error 1
make[2]: *** [examples/enum/CMakeFiles/enum.dir/build.make:127:bin/enum] error 1
make[1]: *** [CMakeFiles/Makefile2:295:examples/print_results/CMakeFiles/print_results.dir/all] error 2
make[1]: *** [CMakeFiles/Makefile2:243:examples/enum/CMakeFiles/enum.dir/all] error 2
I'm not sure if it's caused by the high boost version
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.