는 오류 사람이 오류가 무엇인지 말해 줄 수 iOS6의 빌드 링크 오류
Undefined symbols for architecture armv7:
"std::_List_node_base::hook(std::_List_node_base*)", referenced from:
std::list<TSendBuf, std::allocator<TSendBuf> >::_M_insert(std::_List_iterator<TSendBuf>, TSendBuf const&) in libCardAnalyLib1.a(SendRecvThread.o)
"std::_List_node_base::unhook()", referenced from:
std::list<TSendBuf, std::allocator<TSendBuf> >::_M_erase(std::_List_iterator<TSendBuf>) in libCardAnalyLib1.a(SendRecvThread.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
에 따라 발견? 고맙습니다.
그리고 앱과 lib에 C++ 코드가 있습니다. 내 데모 앱이 lib 디렉토리를 링크 할 수 없습니다,이 오류를 보여 주며, TSendBuf 당신은 아마 프레임 워크/바이너리 애플리케이션 링크 목록에
libstdc++.dylib
를 추가 할 필요가
typedef struct {
unsigned char szBuf[1200];//1000 fah char
} TSendBuf;
amr7 아키텍처 용으로 라이브러리가 빌드 되었습니까? – danielM
예, armv6, armv7입니다. – user1904710