Also, make sure I patched exroutput.cpp correctly:

diff -Naur oiio-Release-1.3.10.orig/src/openexr.imageio/exroutput.cpp
oiio-Release-1.3.10/src/openexr.imageio/exroutput.cpp
--- oiio-Release-1.3.10.orig/src/openexr.imageio/exroutput.cpp  2014-01-02
12:17:48.000000000 -0600
+++ oiio-Release-1.3.10/src/openexr.imageio/exroutput.cpp       2014-01-07
16:12:19.447873293 -0600
@@ -675,12 +675,14 @@
                        spec.extra_attribs[p].type(),
                        spec.extra_attribs[p].data(), header);

+#ifdef USE_OPENEXR_VERSION2
     // Multi-part EXR files required to have a name. Make one up if not
     // supplied.
     if (m_nsubimages > 1 && ! header.hasName()) {
         std::string n = Strutil::format ("subimage%02d", subimage);
         header.insert ("name", Imf::StringAttribute (n));
     }
+#endif

     return true;
 }


Thanks,
Richard
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to