I compile command is: g + + -o test test02. CPP - lQuantLib - lQuantPlus - I/usr/local/QuantPlus/QuantPlus
Error://usr/local/lib/libQuantPlus. So: to "boost: : match_results & lt; __gnu_cxx: : __normal_iterator & lt; , char * const STD: : __cxx11: : basic_string & lt; Char, STD: : char_traits & lt; char> , STD: : allocator
//usr/local/lib/libQuantPlus. So: to "boost: : re_detail_107500: : verify_options (unsigned int, boost: : regex_constants: : _match_flags) 'undefined reference
//usr/local/lib/libQuantPlus. So: to "boost: : re_detail_107500: : get_mem_block () 'undefined reference
//usr/local/lib/libQuantPlus. So: to "boost: : re_detail_107500: : get_default_error_string (boost: : regex_constants: : error_type) 'undefined reference
//usr/local/lib/libQuantPlus. So: to "boost: : basic_regex & lt; Char, boost: : regex_traits & lt; Char, boost: : cpp_regex_traits & lt; char>> : : do_assign (char const *, char * const, unsigned int) 'undefined reference
//usr/local/lib/libQuantPlus. So: the 'boost: : re_detail_107500: : cpp_regex_traits_implementation & lt; char> : : transform_primary (char const *, char const *) const undefined reference to '
//usr/local/lib/libQuantPlus. So: to "boost: : re_detail_107500: : put_mem_block undefined reference to (void *) '
//usr/local/lib/libQuantPlus. So: the 'boost: : re_detail_107500: : cpp_regex_traits_implementation & lt; char> : : transform (char const *, char const *) const undefined reference to '
//usr/local/lib/libQuantPlus. So: to "boost: : re_detail_107500: : raise_runtime_error (STD: : runtime_error const&) Undefined reference to '
//usr/local/lib/libQuantPlus. So: the 'boost: : re_detail_107500: : perl_matcher & lt; __gnu_cxx: : __normal_iterator & lt; , char * const STD: : __cxx11: : basic_string & lt; Char, STD: : char_traits & lt; char> , STD: : allocator
Collect2: error: ld returned 1 exit status
CodePudding user response:
Bosses, please help to look at, is my generation libQuantPlus. So the library has a problem or problems in the g + + compiler