[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38280] trunk/lib/windows/gcc/openexr/lib: Updating OpenEXR library used for MinGW to Unwind exceptions model.

Αντώνης Ρυακιωτάκης kalast at gmail.com
Sun Jul 10 21:10:16 CEST 2011


Hi, the patch following is needed too for cmake to work (Iex is
missing from lib list+OpenEXR is forced off). Also now that I reverted
to dwarf2 model I get link time errors with itasc_plugin.cpp:

..\..\lib\libbf_ikplugin.a(itasc_plugin.cpp.obj):itasc_plugin.cpp:(.text+0x2de5):
undefined reference to `__gxx_personality_sj0'
...and so on...

This is the patch, tested on latest MinGW windows 7:


Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt	(revision 38290)
+++ CMakeLists.txt	(working copy)
@@ -789,11 +789,8 @@
 		if(WITH_IMAGE_OPENEXR)
 			set(OPENEXR ${LIBDIR}/gcc/openexr)
 			set(OPENEXR_INCLUDE_DIRS ${OPENEXR}/include/OpenEXR)
-			set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread)
+			set(OPENEXR_LIBRARIES Half IlmImf Imath IlmThread Iex)
 			set(OPENEXR_LIBPATH ${OPENEXR}/lib)
-
-			# TODO, gives linking errors, force off
-			set(WITH_IMAGE_OPENEXR OFF)
 		endif()

 		if(WITH_IMAGE_TIFF)


More information about the Bf-committers mailing list