我正在开展一个工作项目,其中包括使用Poco库构建的项目。当我尝试编译项目时,XCode给了我很多与STL相关的错误。在互联网上进行了一些搜索之后,我能够推断出包括Poco在内的原因,但是如何解决这个问题没有答案。
以下是错误:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:298:9:名称空间'std'
中没有名为'memmove'的成员/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:321:7:使用未声明的标识符'ostreambuf_iterator'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:321:27: '_CharT'没有引用值
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:321:35:预期不合格的身份
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:326:9:使用未声明的标识符'ostreambuf_iterator'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:326:29: '_CharT'没有引用值
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:326:37:预期不合格的身份
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:331:5:变量'__copy_aux'声明为模板
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:331:16:使用未声明的标识符'istreambuf_iterator'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:331:36: '_CharT'没有引用值
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:331:43:预期表达
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:407:18:使用未声明的标识符'ostreambuf_iterator'
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:407:38: '_CharT'没有引用值
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:407:46:预期不合格的身份
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:446:9:名称空间'std'
中没有名为'memmove'的成员/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:600:10:名称空间'std'
中没有名为'memset'的成员/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:608:10:名称空间'std'
中没有名为'memset'的成员/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:616:10:名称空间'std'
中没有名为'memset'的成员/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/usr/include/c ++ / 4.2.1 /比特/ stl_algobase.h:908:31:名称空间'std'
中没有名为'memcmp'的成员
任何帮助都会非常感激。我应该注意到我没有直接调用Poco库,但是另一个项目中的一些代码引用了它。