在为与Poco 1.6.0链接的Simulator构建Xcode 6.1.1项目时,我遇到了这些链接错误。 OSX是10.10.1 Yosemite。
Undefined symbols for architecture x86_64:
"_opendir$INODE64", referenced from:
Poco::DirectoryIteratorImpl::DirectoryIteratorImpl(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libPocoFoundation.a(DirectoryIterator.o)
"_readdir$INODE64", referenced from:
Poco::DirectoryIteratorImpl::next() in libPocoFoundation.a(DirectoryIterator.o)
ld: symbol(s) not found for architecture x86_64
问题:
提前致谢。