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 * &)" (?compress@Pxr24Compressor@Imf@@AAEHPBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AAPBD@Z)
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 * &)" (?uncompress@Pxr24Compressor@Imf@@AAEHPBDHV?$Box@V?$Vec2@H@Imath@@@Imath@@AAPBD@Z) 1>ImfZipCompressor.obj : error LNK2001: unresolved external symbol _uncompress


_______________________________________________
Openexr-devel mailing list
Openexr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to