Hi Neerav,
does the release build have the same setting used by Xerces (and by the
debug build) for 'treat wchar_t as a builtin type"?
Alberto
neerav patel wrote:
Hi,
I am usuing Xerces and I have been working with it and have gotten the
program to write out a XML file properly and nicely in DEBUG mode, I
switched it to Release mode and I got Linking errors. What is the
problem here? I have linked the xerces-c_2.lib lib file in the
release Linker->Input place, but still I get the following errors:
ScanView.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static wchar_t * __cdecl
xercesc_2_7::XMLString::transcode(char const * const)"
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]) referenced in
function "public: __thiscall XStr::XStr(char const * const)"
(??0XStr@@[EMAIL PROTECTED]@Z)
ScanView.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
xercesc_2_7::XMLString::release(wchar_t * *)"
([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]) referenced in
function "public: __thiscall XStr::~XStr(void)" (??1XStr@@[EMAIL PROTECTED])
ScanView.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static wchar_t const * const
xercesc_2_7::XMLUni::fgDOMWRTFormatPrettyPrint"
([EMAIL PROTECTED]@xercesc_2_7@@2QB_WB)
ScanView.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: static class
xercesc_2_7::DOMImplementation * __cdecl
xercesc_2_7::DOMImplementationRegistry::getDOMImplementation(wchar_t
const *)" ([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
referenced in function "private: static unsigned int __cdecl
ScanView::thrDataProc(void *)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
Release/InfeedVerifier.exe : fatal error LNK1120: 4 unresolved externals
Any help would be greatly appreciated.
Thanks
Neerav