From a1919e6db4e20f1ab16646d3cbb273f569af23e1 Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Fri, 11 Mar 2005 20:16:14 +0000 Subject: Gernot Ziegler's patch to add OpenEXR support to blender. To enable it you will need to download OpenEXR and install it. For the Makefiles you will need to set WITH_OPENEXR=true and set NAN_OPENEXR to point to where OpenEXR is installed. For scons you'll need to remove config.opts to get the new options so you can enable OpenEXR, I was not able to get blender to link with scons so the scons stuff may need to be tweaked a little but I think it should work. For other platform managers The OpenEXR stuff is similar to QUICKTIME you need to define WITH_OPENEXR and setup the library stuff and as you'll notice in this commit there are two extra files. Kent --- tools/scons/bs/bs_libs.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/scons/bs/bs_libs.py') diff --git a/tools/scons/bs/bs_libs.py b/tools/scons/bs/bs_libs.py index 3783b926dfb..f2a8ec9fa2e 100644 --- a/tools/scons/bs/bs_libs.py +++ b/tools/scons/bs/bs_libs.py @@ -123,6 +123,9 @@ def system_libs(env): env.Append (LIBPATH=bs_globals.user_options_dict['SDL_LIBPATH']) env.Append (LIBS=bs_globals.user_options_dict['PNG_LIBRARY']) env.Append (LIBPATH=bs_globals.user_options_dict['PNG_LIBPATH']) + if bs_globals.user_options_dict['USE_OPENEXR'] == 1: + env.Append (LIBS=bs_globals.user_options_dict['OPENEXR_LIBRARY']) + env.Append (LIBPATH=bs_globals.user_options_dict['OPENEXR_LIBPATH']) env.Append (LIBS=bs_globals.user_options_dict['JPEG_LIBRARY']) env.Append (LIBPATH=bs_globals.user_options_dict['JPEG_LIBPATH']) env.Append (LIBS=bs_globals.user_options_dict['GETTEXT_LIBRARY']) -- cgit v1.2.3