openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] All-Static Build on Windows?


From: Simon Eves
Subject: [Openexr-devel] All-Static Build on Windows?
Date: Fri, 8 Apr 2011 13:27:10 -0700

Hello there,

I'm trying to do an all-static build of OpenEXR on Windows (32 and
64-bit) with VS2008 SP1, and I'm hitting a wierd problem.

I removed the OPENEXR_DLL define from the projects, changed the
project type from DLL to LIB, and removed the self-referential
Additional Dependencies.

I haven't even got to OpenEXR yet, and am having problems with IlmBase itself.

On 32-bit, it all builds, but when I throw any of the four resulting
.lib files into DependencyWalker, it says they are not .lib files.

On 64-bit, Half and Iex build, but both IlmThread and Imath complain
that Iex.lib is corrupted. DependencyWalker, on the other hand, is
quite happy with both Half.lib and Iex.lib.

Needless to say, this is rather confusing...

If anyone can tell me the right incantatation to get IlmBase 1.0.2 and
OpenEXR 1.7.0 converted to static build, I will buy them a beer (if
within a ten mile radius of SF).

Thanks,

Simon



reply via email to

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