///////////////////
出错类型:Apple Mach-O Linker Error
///////////////////
boost.framework支持的架构
/Users/ForDrink/Desktop/librime/thirdparty/boost.framework/boost (for architecture armv7): current ar archive random library
/Users/ForDrink/Desktop/librime/thirdparty/boost.framework/boost (for architecture armv7s): current ar archive random library
/Users/ForDrink/Desktop/librime/thirdparty/boost.framework/boost (for architecture i386): current ar archive random library
/Users/ForDrink/Desktop/librime/thirdparty/boost.framework/boost (for architecture x86_64): current ar archive random library
/Users/ForDrink/Desktop/librime/thirdparty/boost.framework/boost (for architecture arm64): current ar archive random library
///////////////////
下面是出错时打印出来的信息(一部分)
Undefined symbols for architecture arm64:
"boost::cpp_regex_traits<char>::toi(char const&, char const, int) const", referenced from:
boost::re_detail::basic_regex_formatter<boost::re_detail::string_out_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::match_results<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > > >, boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > >, std::__1::__wrap_iter<char const*> >::format_escape() in librime.1.2.9.a(calculus.o)
boost::re_detail::basic_regex_formatter<boost::re_detail::string_out_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::match_results<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > > >, boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > >, std::__1::__wrap_iter<char const*> >::format_conditional() in librime.1.2.9.a(calculus.o)
boost::re_detail::basic_regex_formatter<boost::re_detail::string_out_iterator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, boost::match_results<std::__1::__wrap_iter<char const*>, std::__1::allocator<boost::sub_match<std::__1::__wrap_iter<char const*> > > >, boost::regex_traits_wrapper<boost::regex_traits<char, boost::cpp_regex_traits<char> > >, std::__1::__wrap_iter<char const*> >::format_perl() in librime.1.2.9.a(calculus.o)
"std::1::basic_istream<char, std::1::chartraits<char> >::sentry::sentry(std::1::basic_istream<char, std::_1::char_traits<char> >&, bool)", referenced from:
std::__1::basic_istream<char, std::__1::char_traits<char> >& std::__1::getline<char, std::__1::char_traits<char>, std::__1::allocator<char> >(std::__1::basic_istream<char, std::__1::char_traits<char> >&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&, char) in librime.1.2.9.a(dict_settings.o)
"vtable for std::__1::ios_base::failure", referenced from:
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::__1::ios_base::failure> >::rethrow() const in librime.1.2.9.a(string_table.o)
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::__1::ios_base::failure> >::clone_impl(boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::__1::ios_base::failure> > const&, boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::__1::ios_base::failure> >::clone_tag) in librime.1.2.9.a(string_table.o)
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::__1::ios_base::failure> >::clone_impl(boost::exception_detail::error_info_injector<std::__1::ios_base::failure> const&) in librime.1.2.9.a(string_table.o)
"std::1::cerr", referenced from:
boost::assertion::detail::assertion_failed_msg(char const, char const, char const, char const, long) in librime.1.2.9.a(deployment_tasks.o)
"std::1::basicostream<char, std::1::char_traits<char> >::operator<<(long)", referenced from:
boost::assertion::detail::assertion_failed_msg(char const, char const, char const, char const, long) in librime.1.2.9.a(deployment_tasks.o)
"std::1::basic_ostream<char, std::_1::char_traits<char> >::put(char)", referenced from:
boost::assertion::detail::assertion_failed_msg(char const, char const, char const, char const, long) in librime.1.2.9.a(deployment_tasks.o)
1
forkon OP std::__1这个到底是什么 为什么大部分出错的地方都有它
|
2
forkon OP 解决了!
在link binary with libraries里加libstdc++.dylib |