[xml] Linking problems with CxImage



Hi all,
   if i ignore the libs 'libcmtd.lib;nafxcwd.lib'
the linker 
error messages reduce and remain the following:
1>msvcprtd.lib(MSVCP80D.
dll) : error LNK2005: "public: __thiscall std::_Container_base::
~_Container_base(void)" (??1_Container_base std@@QAE XZ) already 
defined in XMLLoader.lib(Configurazione.obj)
1>msvcprtd.lib(MSVCP80D.
dll) : error LNK2005: "public: __thiscall std::_Container_base::
_Container_base(void)" (??0_Container_base std@@QAE XZ) already defined 
in XMLLoader.lib(Configurazione.obj)
1>msvcprtd.lib(MSVCP80D.dll) : 
error LNK2005: "public: __thiscall std::basic_string<char,struct std::
char_traits<char>,class std::allocator<char> >::~basic_string<char,
struct std::char_traits<char>,class std::allocator<char> >(void)" (??
1?$basic_string DU?$char_traits@D std@@V?$allocator D@2@@std@@QAE XZ) 
already defined in XMLLoader.lib(Configurazione.obj)
1>msvcprtd.lib
(MSVCP80D.dll) : error LNK2005: "public: void __thiscall std::
_Container_base::_Orphan_all(void)const " (?
_Orphan_all _Container_base@std@@QBEXXZ) already defined in XMLLoader.
lib(Configurazione.obj)
1>msvcprtd.lib(MSVCP80D.dll) : error LNK2005: 
"public: __thiscall std::basic_string<char,struct std::
char_traits<char>,class std::allocator<char> >::basic_string<char,
struct std::char_traits<char>,class std::allocator<char> >(char const 
*)" (??
0?$basic_string DU?$char_traits@D std@@V?$allocator D@2@@std@@QAE PBD@Z) 
already defined in XMLLoader.lib(Configurazione.obj)
1>msvcprtd.lib
(MSVCP80D.dll) : error LNK2005: "public: __thiscall std::
basic_string<char,struct std::char_traits<char>,class std::
allocator<char> >::basic_string<char,struct std::char_traits<char>,
class std::allocator<char> >(class std::basic_string<char,struct std::
char_traits<char>,class std::allocator<char> > const &)" (??
0?$basic_string DU?$char_traits@D std@@V?$allocator D@2@@std@@QAE ABV01@@Z) 
already defined in XMLLoader.lib(Xml_Element.obj)
1>msvcprtd.lib
(MSVCP80D.dll) : error LNK2005: "public: char const * __thiscall std::
basic_string<char,struct std::char_traits<char>,class std::
allocator<char> >::c_str(void)const " (?
c_str ?$basic_string@DU?$char_traits D@std@@V?$allocator D@2@@std@@QBEPBDXZ) 
already defined in XMLLoader.lib(Xml_Element.obj)
1>   Creating library 
../bin/demod.lib and object ../bin/demod.exp
1>../bin/demod.exe : fatal 
error LNK1169: one or more multiply defined symbols found

Thanks,
  
Alex


----Messaggio originale----
Da: alexpdn tiscali it
Data: 
10/04/2012 20.22
A: <xml gnome org>
Ogg: Linking problems with CxImage


Hi All,
      i try to use LibXml with the use of CxImage (http://www.

codeproject.com/Articles/1300/CxImage)
but i have a lot of linking 

problems:

1>------ Build started: Project: demo, Configuration: Debug 

Win32 ------
1>Compiling...
1>Linking...
1>msvcprtd.lib(MSVCP80D.dll) 
: 
error LNK2005: "public: __thiscall std::_Container_base::

~_Container_base(void)" (??1_Container_base std@@QAE XZ) already 

defined in XMLLoader.lib(Configurazione.obj)
1>msvcprtd.lib(MSVCP80D.

dll) : error LNK2005: "public: __thiscall std::_Container_base::

_Container_base(void)" (??0_Container_base std@@QAE XZ) already 
defined 
in XMLLoader.lib(Configurazione.obj)
....
1>nafxcwd.lib
(thrdcore.obj) : 
error LNK2005: "public: virtual void __thiscall 
CWinThread::Delete
(void)" (?Delete CWinThread@@UAEXXZ) already defined 
in mfc80d.lib
(MFC80D.DLL)
1>nafxcwd.lib(thrdcore.obj) : error LNK2005: 
"public: 
virtual int __thiscall CWinThread::IsIdleMessage(struct 
tagMSG *)" (?
IsIdleMessage CWinThread@@UAEHPAUtagMSG@@@Z) already 
defined in mfc80d.
lib(MFC80D.DLL)
....


Can You help me?
Thanks in 
advance
  Alex


Invita i tuoi amici e Tiscali ti premia! Il consiglio 
di un amico vale pià di uno spot in TV.Per ogni nuovo abbonato 30 â di 
premio per te e per lui! Un amico al mese e parli e navighisempre 
gratis: http://freelosophy.tiscali.it/




Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale pià di uno spot in TV.Per ogni nuovo 
abbonato 30 â di premio per te e per lui! Un amico al mese e parli e navighisempre gratis: 
http://freelosophy.tiscali.it/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]