Hi!

thanks for responding.

Yes I've tried that.  And I get the following horrible link errors:

Thanks for any more clues
-Julie

--------------------Configuration: NeuroServerNSE - Win32 Release
MinDependency--------------------
The NeuroServer Multi-vRep Controller service is not started.
More help is available by typing NET HELPMSG 3521.
Linking...
msvcrt.lib(MSVCRT.dll) : error LNK2005: _memmove already defined in
libcmt.lib(memmove.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __mbsicmp already defined in
libcmt.lib(mbsicmp.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __mbstok already defined in
libcmt.lib(mbstok.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __ismbcspace already defined in
libcmt.lib(ismbspc.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: "public: virtual __thiscall
exception::~exception(void)" (??1exception@@UAE@XZ) already defined in
libcmt.lib(stdexcpt.obj)
msvcrt.lib(MSVCRT.dll) : error LNK2005: "public: __thiscall
exception::exception(char const * const &)" (??0exception@@QAE@ABQBD@Z)
already defined in libcmt.lib(stdexcpt.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Copy(unsigned int)"
(?_Copy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEXI@Z
)
 already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Tidy(bool)"
(?_Tidy@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEX_N@
Z) alread
y defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "void __cdecl std::_Xlen(void)"
(?_Xlen@std@@YAXXZ) already defined in libcpmt.lib(string.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (??1_Lockit@std@@QAE@XZ) already defined in
libcpmt.lib(xlock.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(void)" (??0_Lockit@std@@QAE@XZ) already defined in
libcpmt.lib(xlock.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::assign(class s
td::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,unsigned int,unsigned int)"
(?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV
12@ABV12@II@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Eos(unsigned int)"
(?_Eos@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEXI@Z)
a
lready defined in HttpLight.lib(HttpResponse.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: bool __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Grow(unsigned int,bool)"
(?_Grow@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAE
_NI_N@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Split(void)"
(?_Split@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEXXZ
) alread
y defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "void __cdecl std::_Xran(void)"
(?_Xran@std@@YAXXZ) already defined in libcpmt.lib(string.obj)
msvcprt.lib(MSVCP60.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
basic_string<char,str
uct std::char_traits<char>,class std::allocator<char>
>::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 ComRunt
imeRequest.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::erase(unsigned
 int,unsigned int)"
(?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV1
2@II@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::assign(char co
nst *,unsigned int)"
(?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV
12@PBDI@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.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 *,class
basic_st
ring<char,struct std::char_traits<char>,class std::allocator<char>
>::allocator<char> const &)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDABV?
$allocator@D@1@@Z) already defined in ComRuntimeRequest.obj
msvcprt.lib(MSVCP60.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
HttpLight.lib(HttpDef.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: unsigned int __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::max_size(void)const "
(?max_size@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@st
d@@QBEIXZ) already defined in HttpLight.lib(HttpResponse.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::append(class s
td::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,unsigned int,unsigned int)"
(?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV
12@ABV12@II@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_ostringstream<char,struct std::char_traits<char>,class
std::allocator<char> >::`vbase destructor'(void)"
(??_D?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2
@@std@@QAEXXZ) already defined in HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::~basic_ostream<char,struct std::char_traits<char> >(void)"
(??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UAE@XZ) alread
y defined in HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct
std::char_traits<char> >(void)"
(??1?$basic_ios@DU?$char_traits@D@std@@@std@@UAE@XZ) already defined in
 HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::ios_base::~ios_base(void)" (??1ios_base@std@@UAE@XZ) already defined in
libcpmt.lib(ios.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: virtual __thiscall
std::basic_streambuf<char,struct std::char_traits<char>
>::~basic_streambuf<char,struct std::char_traits<char> >(void)"
(??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UAE@XZ) 
already defined in HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: void __thiscall
std::basic_stringbuf<char,struct std::char_traits<char>,class
std::allocator<char> >::_Tidy(void)"
(?_Tidy@?$basic_stringbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@IAEX
XZ) 
already defined in HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >  __thiscall std::basic_ostringstream<char,struct
std::char_traits<char>,class std::allocator<char> >::str(void
)const "
(?str@?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QB
E?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ) already
defined in HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::operator<<(unsigned
int)" (??6?$basic_ostream@DU?$char_traits@D@st
d@@@std@@QAEAAV01@I@Z) already defined in
HttpLight.lib(HttpProtocolFile.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<(class std::basic_ostream<char,struct std::char_traits<char>
> &,char const *)" (??6std@@YAAAV?$basic_ostream@DU?$char_
traits@D@std@@@0@AAV10@PBD@Z) already defined in
HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_stringbuf<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_stringbuf<char,struct
std::char_traits<char>,class std::allocator<char> >(int)" (??0?$basic_str
ingbuf@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z) already
defined in HttpLight.lib(HttpProtocolFile.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::basic_ostream<char,struct std::char_traits<char> >(class
basic_ostream<char,struct std::char_traits<char> >::basic_streambuf<char,
struct std::char_traits<char> > *,bool,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU
?$char_traits@D@std@@@1@_N1@Z) already defined in
HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "protected: __thiscall
std::ios_base::ios_base(void)" (??0ios_base@std@@IAE@XZ) already defined in
HttpLight.lib(HttpProtocol.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::append(char co
nst *,unsigned int)"
(?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV
12@PBDI@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >  __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::substr(unsigned
 int,unsigned int)const "
(?substr@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QBE?AV
12@II@Z) already defined in HttpLight.lib(HttpDef.obj)
msvcprt.lib(MSVCP60.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
basic_string<char,str
uct std::char_traits<char>,class std::allocator<char> >::allocator<char>
const &)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@ABV?$al
locator@D@1@@Z) already defined in ComRuntimeReply.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "private: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::_Freeze(void)"
(?_Freeze@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AAEXX
Z) alre
ady defined in HttpLight.lib(HttpDef.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: unsigned int __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::find(char const *,unsigned int,unsigned int)const "
(?find@?$basic_string@DU?$char_traits@D
@std@@V?$allocator@D@2@@std@@QBEIPBDII@Z) already defined in
HttpLight.lib(HttpDef.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > & __thiscall std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >::append(unsigne
d int,char)"
(?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV
12@ID@Z) already defined in libcpmt.lib(locale.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "bool __cdecl
std::operator==(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,char const *)"
(??8std@@YA_NABV?$basic_string@DU?$char_traits@D@std@@V?$allocator
@D@2@@0@PBD@Z) already defined in HtmlRuntimeRequest.obj
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::logic_error::logic_error(class logic_error::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(??0logic_error@std@@QAE@ABV?$basic_string@DU?$char
_traits@D@std@@V?$allocator@D@2@@1@@Z) already defined in
libcpmt.lib(string.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: char * __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::erase(char *,char *)"
(?erase@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEPAD
PAD0@Z) already defined in HttpLight.lib(HttpRequest.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: char & __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::at(unsigned int)"
(?at@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAADI@Z)
al
ready defined in HttpLight.lib(HttpDef.obj)
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: void __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::resize(unsigned int)"
(?resize@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEXI@
Z
) already defined in libcpmt.lib(xlocale.obj)
LINK : warning LNK4098: defaultlib "mfc42.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "mfcs42.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
../bin/NSRE.exe : fatal error LNK1169: one or more multiply defined symbols
found
Error executing link.exe.

BuildAll - 47 error(s), 3 warning(s)


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 1:00 PM
To: [EMAIL PROTECTED]
Subject: Re: Linking with Xerces as a static library with VC++?


Julia,

      You may build the XercesClib using "MultiThreaded" instead
of "MultiThreaded DLL".

      .downlaod the source package
      .in MSVC, project->setting->clikc on XercesLib ->C/C++->
                          Category->Code Generation,
                          from Use run-time library, select
"MultiThreaded".


Regards,

Peiyong Zhang
____________________________________________
XML Parsers Development
IBM Toronto Laboratory email: [EMAIL PROTECTED]
Phone: (416)448-4088; Fax: (416)448-4414; T/L: 778-4088



Julia Larson <[EMAIL PROTECTED]> on 08/20/2001 03:40:52 PM

Please respond to [EMAIL PROTECTED]

To:   "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject:  Linking with Xerces as a static library with VC++?




Hello,

We have a huge product that uses all static libraries built
with the "Multithreaded" run-time library option.  Xerces
uses the "Multithreaded DLL" which produces horrible link
errors when I try to link with the library in release mode.

What can I do about this?

Please help
Thanks
-Julie

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to