Errors build ObjectHandler

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Errors build ObjectHandler

laotze00
I really appreciate your help on this!!!!

Based on latest version from CVS. got the following:

------ Build started: Project: ohxll, Configuration: Release CRTDLL Win32 ------

Linking...
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::locale::facet::_Incref(void)" (?_Incref@facet@locale@std@@QAEXXZ)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: static unsigned int
__cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)"
(?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) already defined in
xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class
std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::flush(void)"
(?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)"
(?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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(unsigned
int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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@@std@@QBEIXZ)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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@@QAEAAV12@II@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::locale::~locale(void)" (??1locale@std@@QAE@XZ) already defined in
xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class std::locale
__thiscall std::ios_base::getloc(void)const "
(?getloc@ios_base@std@@QBE?AVlocale@2@XZ) already defined in
xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: int __thiscall
std::basic_streambuf<char,struct std::char_traits<char>
>::sputc(char)"
(?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: char __thiscall
std::basic_ios<char,struct std::char_traits<char> >::widen(char)const
" (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDD@Z) already
defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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
*,unsigned int)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDI@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: __thiscall
std::basic_streambuf<char,struct std::char_traits<char>
>::basic_streambuf<char,struct std::char_traits<char> >(void)"
(??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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) already
defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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<<(int)"
(??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z) already
defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "class
std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
std::operator<<<struct std::char_traits<char> >(class
std::basic_ostream<char,struct std::char_traits<char> > &,char const
*)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::basic_ostringstream<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_ostringstream<char,struct
std::char_traits<char>,class std::allocator<char> >(int)"
(??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: void __thiscall
std::basic_ios<char,struct std::char_traits<char> >::init(class
std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
(?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::basic_ostream<char,struct std::char_traits<char>
>::basic_ostream<char,struct std::char_traits<char> >(class
std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
(??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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 const
*,unsigned int)"
(?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
msvcprt.lib(MSVCP71.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)"
(??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
LINK : fatal error LNK1104: cannot open file 'ObjectHandler-vc71-mt-0_1_3.lib'

Build log was saved at
"file://e:\QuantStudioDev\ObjectHandler\ohxl\ohxll\build\vc71\ReleaseCRTDLL\BuildLog.htm"
ohxll - 29 error(s), 0 warning(s)


Reply | Threaded
Open this post in threaded view
|

Re: Errors build ObjectHandler

eric ehlers
Hello,

Hopefully my reply to your other message will help get you going on
compiling the latest released versions of QL/OH/QLA.

If you do need to work from the latest CVS snapshots then pls get back
to me and we can try to work through any errors.

Thanks,
Eric

On 4/12/06, [hidden email] <[hidden email]> wrote:

> I really appreciate your help on this!!!!
>
> Based on latest version from CVS. got the following:
>
> ------ Build started: Project: ohxll, Configuration: Release CRTDLL Win32 ------
>
> Linking...
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
> std::locale::facet::_Incref(void)" (?_Incref@facet@locale@std@@QAEXXZ)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: static unsigned int
> __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)"
> (?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) already defined in
> xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class
> std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
> std::basic_ostream<char,struct std::char_traits<char> >::flush(void)"
> (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
> std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)"
> (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
> defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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(unsigned
> int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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@@std@@QBEIXZ)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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@@QAEAAV12@II@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> std::locale::~locale(void)" (??1locale@std@@QAE@XZ) already defined in
> xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class std::locale
> __thiscall std::ios_base::getloc(void)const "
> (?getloc@ios_base@std@@QBE?AVlocale@2@XZ) already defined in
> xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: int __thiscall
> std::basic_streambuf<char,struct std::char_traits<char>
> >::sputc(char)"
> (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: char __thiscall
> std::basic_ios<char,struct std::char_traits<char> >::widen(char)const
> " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDD@Z) already
> defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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
> *,unsigned int)"
> (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDI@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: __thiscall
> std::basic_streambuf<char,struct std::char_traits<char>
> >::basic_streambuf<char,struct std::char_traits<char> >(void)"
> (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
> defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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) already
> defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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<<(int)"
> (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z) already
> defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "class
> std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
> std::operator<<<struct std::char_traits<char> >(class
> std::basic_ostream<char,struct std::char_traits<char> > &,char const
> *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> std::basic_ostringstream<char,struct std::char_traits<char>,class
> std::allocator<char> >::basic_ostringstream<char,struct
> std::char_traits<char>,class std::allocator<char> >(int)"
> (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: void __thiscall
> std::basic_ios<char,struct std::char_traits<char> >::init(class
> std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
> (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> std::basic_ostream<char,struct std::char_traits<char>
> >::basic_ostream<char,struct std::char_traits<char> >(class
> std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
> (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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 const
> *,unsigned int)"
> (?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> msvcprt.lib(MSVCP71.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)"
> (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
> already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> LINK : fatal error LNK1104: cannot open file 'ObjectHandler-vc71-mt-0_1_3.lib'
>
> Build log was saved at
> "file://e:\QuantStudioDev\ObjectHandler\ohxl\ohxll\build\vc71\ReleaseCRTDLL\BuildLog.htm"
> ohxll - 29 error(s), 0 warning(s)
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> <a href="http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642">http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> _______________________________________________
> Quantlib-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/quantlib-users
>


Reply | Threaded
Open this post in threaded view
|

Re: Errors build ObjectHandler

laotze00
After following your instruction, I still failed to build OH,etc. I
was pretty comfortable with
QuantLibXL_0_8, do you think the new way of doing things in QL_addin
is superior to
QuantLibXL? how easy is it for me to adapt QL_XL to the latest QL version.
Thanks a lot!


On 4/13/06, eric ehlers <[hidden email]> wrote:

> Hello,
>
> Hopefully my reply to your other message will help get you going on
> compiling the latest released versions of QL/OH/QLA.
>
> If you do need to work from the latest CVS snapshots then pls get back
> to me and we can try to work through any errors.
>
> Thanks,
> Eric
>
> On 4/12/06, [hidden email] <[hidden email]> wrote:
> > I really appreciate your help on this!!!!
> >
> > Based on latest version from CVS. got the following:
> >
> > ------ Build started: Project: ohxll, Configuration: Release CRTDLL Win32 ------
> >
> > Linking...
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
> > std::locale::facet::_Incref(void)" (?_Incref@facet@locale@std@@QAEXXZ)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: static unsigned int
> > __cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)"
> > (?_Getcat@?$ctype@D@std@@SAIPAPBVfacet@locale@2@@Z) already defined in
> > xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class
> > std::basic_ostream<char,struct std::char_traits<char> > & __thiscall
> > std::basic_ostream<char,struct std::char_traits<char> >::flush(void)"
> > (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
> > std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)"
> > (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) already
> > defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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(unsigned
> > int,char)" (?append@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@ID@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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@@std@@QBEIXZ)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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@@QAEAAV12@II@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> > std::locale::~locale(void)" (??1locale@std@@QAE@XZ) already defined in
> > xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class std::locale
> > __thiscall std::ios_base::getloc(void)const "
> > (?getloc@ios_base@std@@QBE?AVlocale@2@XZ) already defined in
> > xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: int __thiscall
> > std::basic_streambuf<char,struct std::char_traits<char>
> > >::sputc(char)"
> > (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QAEHD@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: char __thiscall
> > std::basic_ios<char,struct std::char_traits<char> >::widen(char)const
> > " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QBEDD@Z) already
> > defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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
> > *,unsigned int)"
> > (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@PBDI@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: __thiscall
> > std::basic_streambuf<char,struct std::char_traits<char>
> > >::basic_streambuf<char,struct std::char_traits<char> >(void)"
> > (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IAE@XZ) already
> > defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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) already
> > defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@2@XZ)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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<<(int)"
> > (??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@H@Z) already
> > defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "class
> > std::basic_ostream<char,struct std::char_traits<char> > & __cdecl
> > std::operator<<<struct std::char_traits<char> >(class
> > std::basic_ostream<char,struct std::char_traits<char> > &,char const
> > *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> > std::basic_ostringstream<char,struct std::char_traits<char>,class
> > std::allocator<char> >::basic_ostringstream<char,struct
> > std::char_traits<char>,class std::allocator<char> >(int)"
> > (??0?$basic_ostringstream@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@H@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "protected: void __thiscall
> > std::basic_ios<char,struct std::char_traits<char> >::init(class
> > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
> > (?init@?$basic_ios@DU?$char_traits@D@std@@@std@@IAEXPAV?$basic_streambuf@DU?$char_traits@D@std@@@2@_N@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
> > std::basic_ostream<char,struct std::char_traits<char>
> > >::basic_ostream<char,struct std::char_traits<char> >(class
> > std::basic_streambuf<char,struct std::char_traits<char> > *,bool)"
> > (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@PAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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 const
> > *,unsigned int)"
> > (?assign@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAEAAV12@PBDI@Z)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > msvcprt.lib(MSVCP71.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)"
> > (??0?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
> > already defined in xlsdk-vc71-mt-s.lib(framewrk.obj)
> > LINK : fatal error LNK1104: cannot open file 'ObjectHandler-vc71-mt-0_1_3.lib'
> >
> > Build log was saved at
> > "file://e:\QuantStudioDev\ObjectHandler\ohxl\ohxll\build\vc71\ReleaseCRTDLL\BuildLog.htm"
> > ohxll - 29 error(s), 0 warning(s)
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> > that extends applications into web and mobile media. Attend the live webcast
> > and join the prime developer group breaking into this new coding territory!
> > <a href="http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642">http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
> > _______________________________________________
> > Quantlib-users mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/quantlib-users
> >
>


Reply | Threaded
Open this post in threaded view
|

Re: Errors build ObjectHandler

eric ehlers
Hello,

On 4/13/06, [hidden email] <[hidden email]> wrote:
> After following your instruction, I still failed to build OH,etc.

If you let me know the error message you're getting I can try and help.
Have you tried the binary installation of QuantLibAddin?

> I was pretty comfortable with
> QuantLibXL_0_8, do you think the new way of doing things in QL_addin
> is superior to
> QuantLibXL?

http://www.quantlib.org/quantlibaddin/faq.html#faq_excel

> how easy is it for me to adapt QL_XL to the latest QL version.

A lot harder than compiling QuantLibAddin!  :-)  Seriously, QuantLibXL
queries do continue to come in so the software is still being used and
I'm sure an upgrade would be appreciated if you'd care to undertake
it.

> Thanks a lot!

You're welcome.

Regards,
Eric