Tag: undefined symbol

Xcode给苹果Mach-O链接器错误

我只是编译一个项目,Xcode返回这两个似乎不是我的代码错误的错误。 我如何解决它们? Undefined symbols for architecture i386: "_vImageBoxConvolve_ARGB8888", referenced from: -[UIImage(Blur) boxblurImageWithBlur:] in UIImage+Blur.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)

iPhone libxml2未定义符号(带有gdata,kissxml,touchxml等)

我试图使用任何一个基于libxml的第三方XMLparsing器,但我不能,因为我认为我有某种libxml2的问题 我将其他链接器标志设置为-lxml2 和头文件searchpath到/ usr / include / libxml2 但是当我尝试编译时,我仍然会遇到大量未定义的符号。 下面的错误是试图编译TouchXML的结果。 Undefined symbols: "_xmlDocDumpFormatMemory", referenced from: -[CXMLDocument description] in CXMLDocument.o "_xmlXPathNewContext", referenced from: -[CXMLNode nodesForXPath:error:] in CXMLNode.o -[CXMLNode(CXMLNode_NamespaceExtensions) nodesForXPath:namespaceMappings:error:] in CXMLNode_XPathExtensions.o "_xmlOutputBufferFlush", referenced from: -[CXMLNode XMLStringWithOptions:] in CXMLNode.o "_xmlNodeListGetString", referenced from: -[CXMLNode stringValue] in CXMLNode.o "_xmlFree", referenced from: _xmlFree$non_lazy_ptr in CXMLDocument.o _xmlFree$non_lazy_ptr in CXMLNode.o (maybe you […]