Pointing out the obvious, have you performed a complete rebuild since migration 
to 2008?
john

-----Original Message-----
From: Alberto Massari [mailto:[email protected]] 
Sent: Tuesday, November 03, 2009 3:15 AM
To: [email protected]
Subject: Re: xerces and MS VS2008

The linker is complaining about the method

   void Attribute<long,1>::set(DOMNode *)

that is, the "set" method in a template Attribute<long, 1>; DOMNode is 
simply the argument for this method. AFAIK, there is no such template in 
the current Xerces code, not even in version 2.2.

Alberto


Christofer Weßeling wrote:
> Hi!
>
> I thought the linker was claiming about a "set" function in class
> xercesc_2_2::DOMNode, so that isn't what the linker means?
> DOMNode belongs to xerces - there is a file includes called
> "<xercesc/dom/DOMNode.hpp>" ) isn't it?
>
> Dependencies: Yes we have checked it twice. seems to be the same then in
> VS2003
>
> Christofer
>
> 2009/11/3 Alberto Massari <[email protected]>
>
>   
>> Hi Christofer,
>> the linker is complaining about a symbol that doesn't belong to Xerces
>> (apart for having an argument of type DOMNode). Are you sure you have
>> correctly set the dependencies between your projects?
>>
>> Alberto
>>
>>
>> Christofer Weßeling wrote:
>>
>>     
>>> Hi there!
>>>
>>> We are using xerces since years in our project using MS VS 2003. Now I try
>>> to move the whole projekt to MS VS2008.
>>>
>>> I'm getting this error, and can't find a solution:
>>> error LNK2001: Nicht aufgelöstes externes Symbol ""public: void __thiscall
>>> Attribute<long,1>::set(class xercesc_2_2::DOMNode *)" (?...@?$attribute@J
>>> $00@@qaexpavdomn...@xercesc_2_2@@@Z)".
>>> We are using the xerces-c_1D.lib and xerces-c_2D.lib - that worked fine in
>>> Visual Studio 2003....
>>> Treat wchar_t as built-in type is checked in our project. Using
>>> XML_LIBRARY
>>> as precompiler option takes no effect
>>>
>>> What else could it be?
>>>
>>> greets!
>>> Christofer
>>>
>>>
>>>
>>>       
>>     
>
>   

Reply via email to