Re: [xml] Linking error



On Thu, 20 Feb 2003, David, Shaoqi wrote:
Hi,

while i compile and run the example keyword, i get the following error,
would greatly appreciate if you can help. thanks.

Linking...
main.obj : error LNK2001: unresolved external symbol __imp__xmlFree
main.obj : error LNK2001: unresolved external symbol _xmlNodeListGetString
main.obj : error LNK2001: unresolved external symbol _xmlStrcmp
main.obj : error LNK2001: unresolved external symbol _xmlFreeDoc
main.obj : error LNK2001: unresolved external symbol _xmlDocGetRootElement
main.obj : error LNK2001: unresolved external symbol _xmlParseFile
Debug/XML.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.

XML.exe - 7 error(s), 0 warning(s)

You are compiling with Visual Studio and you forgot to put libxml2.lib in
the list of libraries required for your project. Can that be?

regards,
april

Well, who are you now, David or April? :-)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]