logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: Xerces with another library : link edition problem: msg#00022

Subject: Re: Xerces with another library : link edition problem
Check two things:
1) Is the Xerces lib directory in the LIB path?
2) Did you build Xerces with the setting 'Treat wchar_t as a built-in type' set to TRUE?

Alberto

At 17.00 10/07/2007 +0200, Adrien-externe COSSA wrote:
Hello,

I'd like to use CGAL (http://www.cgal.org) and Xerces-C in the same
project. The compiler is MSVC 7. Here's what happen at link edition :

X3DLoader.obj : error LNK2019: symbole externe non résolu
"__declspec(dllimport) public: static char * __cdecl
xercesc_2_7::XMLString::transcode(wchar_t const * const)"
(__imp_?transcode@XMLString@xercesc_2_7@@SAPADQB_W@Z) référencé dans la
fonction "public: __thiscall StrX::StrX(wchar_t const * const)"
(??0StrX@@QAE@QB_W@Z)
[...]
Handlers.obj : error LNK2001: symbole externe non résolu "public: virtual
class xercesc_2_7::InputSource * __thiscall
xercesc_2_7::DefaultHandler::resolveEntity(wchar_t const * const,wchar_t
const * const)"
(?resolveEntity@DefaultHandler@xercesc_2_7@@UAEPAVInputSource@2@QB_W0@Z)

The Xerces library (xerces-c_2.lib) is well given as the link edition
parameter and #pragma comment(lib, "xerces-c_2") appears in stdafx.h. So,
I don't know where could be the problem !

Can you help me ?

--
Adrien





Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>