0

从 XCode 4.3 + llvm 3.1 升级到 XCode 4.5 GM 后,我开始收到以下链接器错误。我已验证定义“_InvokeBridge”的静态库已正确链接。

知道什么可能导致错误吗?此外,是否有一般调查 Mach-o 链接器错误的提示?

undefined symbols for architecture i386:
  "void     pplx::details::_UnrealizedChore::_InvokeBridge<pplx::details::_PPLTaskHandle<std::__1::shared_ptr<BI::Url const>, pplx::task<std::__1::shared_ptr<BI::Url const> >::_InitialTaskHandle<std::__1::shared_ptr<BI::Url const>, BI::ServicesDocumentSession::GetViewUriAsync()::$_3, pplx::details::_TypeSelectorNoAsync>, pplx::details::_UnrealizedChore> >(pplx::details::_PPLTaskHandle<std::__1::shared_ptr<BI::Url const>, pplx::task<std::__1::shared_ptr<BI::Url const> >::_InitialTaskHandle<std::__1::shared_ptr<BI::Url const>, BI::ServicesDocumentSession::GetViewUriAsync()::$_3, pplx::details::_TypeSelectorNoAsync>, pplx::details::_UnrealizedChore>*)", referenced from:
  pplx::details::_PPLTaskHandle<std::__1::shared_ptr<BI::Url const>, pplx::task<std::__1::shared_ptr<BI::Url const> >::_InitialTaskHandle<std::__1::shared_ptr<BI::Url const>, BI::ServicesDocumentSession::GetViewUriAsync()::$_3, pplx::details::_TypeSelectorNoAsync>, pplx::details::_UnrealizedChore>::_PPLTaskHandle(std::__1::shared_ptr<pplx::details::_Task_impl<std::__1::shared_ptr<BI::Url const> > > const&) in libDataPlatform.a(ServicesDocumentSession.o)

非常感谢,A

4

1 回答 1

2

尝试这个:

转到项目目标,构建设置,然后将架构设置为其他,

删除 $(ARCHS_STANDARD_32_BIT) ,然后写armv7

让我知道这是否有效,我也有类似的问题。

于 2012-09-17T03:45:29.203 回答