openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Compiling woes on windows


From: Frantz Joseph
Subject: Re: [Openexr-devel] Compiling woes on windows
Date: Thu, 28 Jul 2005 18:49:02 -0700

Good point, I wasn't.  Even after doing that I still get linker errors
(see below).  When I don't include msvcprt.lib or msvcrt.lib then I
get a ton of errors in ilmimf.lib about std functions not being
declared.  Yet I can get the imfexamples to build and run correctly. 
This is happening when I create a new project.

- Frantz

Linker errors:
================

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<<(float)"
(address@hidden@address@hidden@@@std@@address@hidden@Z) already
defined in rgbaInterfaceExamples.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> >(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@@Z)
already defined in generalInterfaceExamples.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)"
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden)
already defined in generalInterfaceExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::_Mutex::_Unlock(void)" (address@hidden@std@@QAEXXZ) already
defined in libcpmtd.lib(xmutex.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::_Mutex::_Lock(void)" (address@hidden@std@@QAEXXZ) already defined
in libcpmtd.lib(xmutex.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::locale::facet::_Register(void)"
(address@hidden@address@hidden@@QAEXXZ) already defined in
libcpmtd.lib(locale0.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::locale::facet::_Incref(void)" (address@hidden@address@hidden@@QAEXXZ)
already defined in lowLevelIoExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: static unsigned int
__cdecl std::ctype<char>::_Getcat(class std::locale::facet const * *)"
(address@hidden@address@hidden@@address@hidden@2@@Z) already defined in
lowLevelIoExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: class
std::locale::facet const * __thiscall std::locale::_Getfacet(unsigned
int)const " (address@hidden@std@@address@hidden@address@hidden) already
defined in libcpmtd.lib(locale0.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::_Lockit::~_Lockit(void)" (address@hidden@@address@hidden) already defined
in libcpmtd.lib(xlock.obj)
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::_Lockit::_Lockit(int)" (address@hidden@@address@hidden@Z) already defined
in libcpmtd.lib(xlock.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 *)"
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@Z)
already defined in generalInterfaceExamples.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> >(unsigned
int,char)" 
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@Z)
already defined in libcpmtd.lib(cout.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)"
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden)
already defined in lowLevelIoExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "bool __cdecl
std::uncaught_exception(void)" (address@hidden@@YA_NXZ)
already defined in libcpmtd.lib(uncaught.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)"
(address@hidden@address@hidden@std@@@std@@address@hidden)
already defined in generalInterfaceExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::basic_ostream<char,struct std::char_traits<char> >::_Osfx(void)"
(address@hidden@address@hidden@std@@@std@@QAEXXZ) already
defined in generalInterfaceExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: void __thiscall
std::ios_base::clear(int,bool)" (address@hidden@std@@address@hidden)
already defined in libcpmtd.lib(ios.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)" 
(address@hidden@address@hidden@std@@address@hidden@2@@std@@address@hidden@Z)
already defined in rgbaInterfaceExamples.obj
msvcprt.lib(MSVCP71.dll) : error LNK2005: "public: __thiscall
std::basic_stringstream<char,struct std::char_traits<char>,class
std::allocator<char> >::basic_stringstream<char,struct
std::char_traits<char>,class std::allocator<char> >(int)"
(address@hidden@address@hidden@@address@hidden@2@@std@@address@hidden@Z)
already defined in lowLevelIoExamples.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_stringstream<char,struct
std::char_traits<char>,class std::allocator<char> >::str(void)const "
(address@hidden@address@hidden@std@@address@hidden@2@@std@@address@hidden@address@hidden@@address@hidden@2@@address@hidden)
already defined in lowLevelIoExamples.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(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(address@hidden@address@hidden@std@@address@hidden@2@@std@@address@hidden@@Z)
already defined in rgbaInterfaceExamples.obj
MSVCRT.lib(MSVCR71.dll) : error LNK2005: _strncpy already defined in
LIBCMTD.lib(strncpy.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: "public: virtual __thiscall
exception::~exception(void)" (??1exception@@address@hidden) already defined in
LIBCMTD.lib(stdexcpt.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: "public: __thiscall
exception::exception(void)" (??0exception@@address@hidden) already defined in
LIBCMTD.lib(stdexcpt.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: "public: __thiscall
bad_cast::bad_cast(char const *)" (??0bad_cast@@address@hidden@Z) already
defined in LIBCMTD.lib(stdexcpt.obj)
MSVCRT.lib(MSVCR71.dll) : error LNK2005: "public: __thiscall
exception::exception(class exception const &)"
(??0exception@@address@hidden@@Z) already defined in
LIBCMTD.lib(stdexcpt.obj)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]