openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] static linking issues


From: Fabian Mathews
Subject: [Openexr-devel] static linking issues
Date: Sat, 04 Jun 2005 12:47:40 +0000

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@@address@hidden@address@hidden@@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/





reply via email to

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