FW: [Expat-discuss] Cannot link expat

Glynn Beeken Glynn.Beeken at generaldynamics.uk.com
Wed Aug 11 10:35:56 CEST 2004


Are you using XML_STATIC as a preprocessor definition?

-----Original Message-----
From: expat-discuss-bounces at libexpat.org
[mailto:expat-discuss-bounces at libexpat.org]On Behalf Of Golibasku
Sent: 11 August 2004 07:33
To: expat-discuss at libexpat.org
Subject: [Expat-discuss] Cannot link expat


I download the src code and create a new project (static library) by using
embedded visual c++ 4.0.
I can compile expat without problem. But when I use the static library in
other problem. It show the following errors during linking. What is the
problem ???

...: error LNK2019: unresolved external symbol __imp_XML_ParserFree
referenced in function ...
...: error LNK2019: unresolved external symbol __imp_XML_ErrorString
referenced in function ...
...: error LNK2019: unresolved external symbol __imp_XML_GetErrorCode
referenced in function ...
...: error LNK2019: unresolved external symbol
__imp_XML_GetCurrentLineNumber referenced in function ...
...: error LNK2019: unresolved external symbol __imp_XML_Parse referenced in
function ...
...: error LNK2019: unresolved external symbol __imp_XML_SetElementHandler
referenced in function ...
...: error LNK2019: unresolved external symbol __imp_XML_SetUserData
referenced in function ...
...: error LNK2019: unresolved external symbol __imp_XML_ParserCreate
referenced in function ...
_______________________________________________
Expat-discuss mailing list
Expat-discuss at libexpat.org
http://mail.libexpat.org/mailman/listinfo/expat-discuss


General Dynamics United Kingdom Limited
Registered in England and Wales No. 1911653
Registered Office: 100 New Bridge Street, London, EC4V 6JA 


More information about the Expat-discuss mailing list