Oh, sorry & thank you very much!

Le 27/06/2013 00:42, Halfdan Ingvarsson a écrit :
See: http://sourceforge.net/p/mingw-w64/bugs/242/

 - ½

On 13-06-26 05:48 PM, natureh wrote:
Hi,

I'm actually trying to evaluate the possibility to support OpenEXR in our open-source project. I'm trying to build ilmbase2.0.0 on Win7/64 through *MinGW*(+MSYS)+"*gcc (tdm64-1) 4.6.1*", but it failed with this error message:

*Building CXX object Iex/CMakeFiles/Iex.dir/IexThrowErrnoExc.cpp.obj*
C:\Users\Jean-Christophe\Developpement\Ressources\OpenEXR\ilmbase-2.0.0\Iex\IexThrowErrnoExc.cpp:
 In function 'void Iex::throwErrnoExc(const string&, int)':
C:\Users\Jean-Christophe\Developpement\Ressources\OpenEXR\ilmbase-2.0.0\Iex\IexThrowErrnoExc.cpp:423:4:
 error:*duplicate case value*
C:\Users\Jean-Christophe\Developpement\Ressources\OpenEXR\ilmbase-2.0.0\Iex\IexThrowErrnoExc.cpp:203:4:
 error:*previously used here*
Iex\CMakeFiles\Iex.dir\build.make:81: recipe for target 
`Iex/CMakeFiles/Iex.dir/IexThrowErrnoExc.cpp.obj' failed
mingw32-make[2]: *** [Iex/CMakeFiles/Iex.dir/IexThrowErrnoExc.cpp.obj] Error 1
CMakeFiles\Makefile2:202: recipe for target `Iex/CMakeFiles/Iex.dir/all' failed
mingw32-make[1]: *** [Iex/CMakeFiles/Iex.dir/all] Error 2
makefile:115: recipe for target `all' failed
mingw32-make: *** [all] Error 2
I've tried the *CMake* way, but it failed for the same reason with *configure* through MSYS.

When looking at IexThrowErrnoExc.cpp, i can see that there are 2 different 'case' : EOVERFLOW (l. 423) and EFBIG (l. 203), but can't find where they have been defined in the source tree!

I don't know if that's relevant, but exception handling doesn't seem to work on my system, is there a way to avoid using them?

Thanks for your help.

---
   Jean-Christophe
   aka Hombre



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


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

Reply via email to