openexr-devel
[Top][All Lists]
Advanced

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

Re: [Openexr-devel] Compiling OpenEXR on Windows


From: Gonzalo Garramuño
Subject: Re: [Openexr-devel] Compiling OpenEXR on Windows
Date: Tue, 18 Mar 2014 14:20:58 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8

On 18/03/2014 01:22 p.m., Dexterous Programmer wrote:
These are compile errors and have nothing with OpenEXR or IlmBase. Maybe you forgot to include some .h/.cpp files in your CTL project?

I managed to compile all correctly and make it work on my software on x64 using CTL-1.4.1 and OpenEXR_CTL-1.0.1. The Half.dll linker error was related to not having rebuilt CTL.

The CTL git HEAD compilation errors are definitively due to a bug in MSVC 2010, as all exists in the files and the code is valid (works on Linux without a hitch), so I am for now sticking to CTL-1.4.1.

Now, I have tried compiling for win32. I face a linker error in Win32 IlmImf. It complains about _compress and _uncompress not being found. I checked that I am linking against a Win32 zlibwapi.lib and the _compress/_decompress functions are present there. I compiled zlibwapi.dll myself so I am really puzzled as the cause.

1>ImfPxr24Compressor.obj : error LNK2019: unresolved external symbol _compress referenced in function "private: int __thiscall Imf::Pxr24Compressor::compress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" (address@hidden@Imf@@address@hidden@address@hidden@@@Imath@@address@hidden)
1>ImfZipCompressor.obj : error LNK2001: unresolved external symbol _compress
1>ImfPxr24Compressor.obj : error LNK2019: unresolved external symbol _uncompress referenced in function "private: int __thiscall Imf::Pxr24Compressor::uncompress(char const *,int,class Imath::Box<class Imath::Vec2<int> >,char const * &)" (address@hidden@Imf@@address@hidden@address@hidden@@@Imath@@address@hidden) 1>ImfZipCompressor.obj : error LNK2001: unresolved external symbol _uncompress




reply via email to

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