[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] Compiling on MinGW
From: |
Drew Hess |
Subject: |
Re: [Openexr-devel] Compiling on MinGW |
Date: |
Sun, 17 Dec 2006 14:39:54 -0800 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.91 (gnu/linux) |
We don't support mingw officially, nor do we support pthreads on
Win32, but if you compile with --disable-threading, the build system
should build a "dummy" thread implementation in IlmThread. The dummy
implementation doesn't rely on any POSIX or Win32 thread libraries, it
just supplies no-op symbols for the OpenEXR threading abstraction.
When you run configure in a mingw shell with --disable-threading, does
it attempt to link against pthreads symbols? Or does IlmThread fail
for some other reason? Output from gcc or libtool would be helpful in
diagnosing your problems.
thanks
d
"Paul Gregory" <address@hidden> writes:
> Hi All,
>
> I've been trying to get OpenEXR to compile on MinGW for some time now so
> that we (the Aqsis team) can release a version of Aqsis that supports
> OpenEXR on both Windows and Posix. However, as others have found on this
> list, it doesn't seem that OpenEXR is well setup to compile on MinGW.
>
> The main stumbling block I've hit so far is threading, I've tried to fool it
> into using the Win32 threading code, no joy, I've tried to install and get
> it to use the Win32 port of pthreads, again no joy. The wierdest of all is
> that --disable-threading doesn't actually seem to disable threading, it
> still tries and fails to build the IlmThread project of ilmbase. I've hit
> these problems with both the stable 1.4.0 source archive, and the newer
> split 1.5.0 of OpenEXR and 0.9.0 IlmBase source archive.
>
> If anyone has any suggestions on how to get this all to compile on
> MinGW/MSYS, it would be most appreciated.
>
> Thanks
>
> --
> Paul Gregory
> http://www.aqsis.org
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/openexr-devel