On 2/1/2010 8:10 AM, ning ji wrote:

hi, i didn't find the details from
http://xerces.apache.org/xerces-c/install-3.html#Windows

guess someone might asked it before, but don't know where to search.

basically i'm using VC 2005 (VC 8.0) to try the 1st example,
got this,


Error 2 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: static void __cdecl
xercesc_3_0::XMLPlatformUtils::Terminate(void)"
(__imp_?termin...@xmlplatformutils@xercesc_3_0@@SAXXZ) referenced in
function __catch$_wmain$0 xml1.obj
You need to specify the Xerces-C import library as input to the linker.



my install is in C:\opt\xercesc
i have C:\opt\xercesc\bin in the path,
i have the additional include/lib directories in the VC property page.
C:\opt\xercesc\include
C:\opt\xercesc\lib

What else could be missing ?
Add the import library to Configuration Properties | Linker | Input | Additional Dependencies.

Please take a look at the linker options in one of the sample applications for an example.

Also, please post questions like this to the user list, rather than the developer list.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to