openexr-devel
[Top][All Lists]
Advanced

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

RE: [Fwd: [Openexr-devel] static linking issues]


From: Nick Porcino
Subject: RE: [Fwd: [Openexr-devel] static linking issues]
Date: Wed, 22 Jun 2005 12:34:01 -0700

 Sorry, I missed this email.
 
 The issue is that Code Generation on your project is set inconsistently
 vs. OpenEXR's.
 
 OpenEXR out of the box is linked against the Multithreaded DLL standard
 libs. So the issue is one or more of
 
 1) your engine is linked against the single threaded standard libraries
 2) your engine is linked against the non-DLL standard libraries
 3) your engine is linked against release standard libraries and debug
 OpenEXR
 4) your engine is linked against debug standard libraries and release
 OpenEXR
 
 Hope this helps
 
> 
> -------- Original Message --------
> Subject: [Openexr-devel] static linking issues
> Date: Sat, 04 Jun 2005 12:47:40 +0000
> From: Fabian Mathews <address@hidden>
> To: address@hidden
> 
> I'm trying to get the openexr library linking with my engine so i can
> load
> hdr files.
> 
> Now, i can compile/link okay with the dll versions, but get  a crash
in
> "RgbaInputFile" constructor.
> 
> so im trying to compile/link against the static libraries.
> 
> now, i get conflicts with
> "msvcprtd.lib"
> 
> saying:
> 
> Error 131     error LNK2001: unresolved external symbol
>
address@hidden@address@hidden@std@@address@hidden@2@@std
> @@QBEPBDXZ 
> IlmImf_d.lib
> 
> 
> 
> if i set visual studio to ignore this library ("msvcprtd.lib"), then i
> get
> errors like the following:
> 
> Error 3       error LNK2005: "class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > __cdecl
> std::operator+<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 &,class std::basic_string<char,struct
> std::char_traits<char>,class std::allocator<char> > const &)"
>
(address@hidden@std@@address@hidden@1@@std@@YA?AV?$basic_string@
> address@hidden@std@@address@hidden@2@@address@hidden@address@hidden) 
> 
> already defined in msvcprtd.lib(MSVCP80D.dll) IlmImf_d.lib
> 
> 
> it appears to be conflicting with std::string
> 
> all errors appear to be comming from
> IlmImf_d.lib  or IlmImf.lib   (tried linking with both versions)
> 
> any ideas?
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's
FREE!
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> 
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/openexr-devel
> 
> 





reply via email to

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