If you verify that this fix will compile for you, I'll merge it immediately.


On Jan 7, 2014, at 11:49 AM, Larry Gritz <[email protected]> wrote:

> Ah, sorry, I think it should be changed to this:
> 
> #ifdef USE_OPENEXR_VERSION2
>     // EXR "name" also gets passed along as "oiio:subimagename".
>     if (header->hasName())
>         spec.attribute ("oiio:subimagename", header->name());
> #endif
> 
> 
> I didn't realize that the hasName method was a new addition.
> 
> 
> On Jan 7, 2014, at 11:23 AM, Richard Shaw <[email protected]> wrote:
> 
>> On Mon, Jan 6, 2014 at 2:09 PM, Larry Gritz <[email protected]> wrote:
>> I've tagged Release-1.3.10.  It's a bug-fix release with the following 
>> release notes:
>> 
>> i just tried a build on Fedora 19 x86_64 and got the following error:
>> 
>> [ 60%] Building CXX object 
>> src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/rla.imageio/rlaoutput.cpp.o
>> cd 
>> /home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/build/linux/src/libOpenImageIO
>>  && /usr/lib64/ccache/c++   -DBOOST_TEST_DYN_LINK -DEMBED_PLUGINS=1 -DNDEBUG 
>> -DOpenImageIO_EXPORTS -DPTEX_EXPORTS -DUSE_BOOST_ASIO=1 -DUSE_FIELD3D=1 
>> -DUSE_FREETYPE -DUSE_OCIO=1 -DUSE_OPENJPEG -DUSE_OPENSSL=1 -DUSE_TBB=0 
>> -DUSE_WEBP=1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
>> -fstack-protector --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 
>> -mtune=generic  -O2 -g -DNDEBUG -fPIC -I/usr/include/OpenEXR 
>> -I/home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/src/include 
>> -I/home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/build/linux/include
>>  -I/usr/include/openjpeg-1.5 -I/usr/include/freetype2    -Wall -Werror -o 
>> CMakeFiles/OpenImageIO.dir/__/rla.imageio/rlaoutput.cpp.o -c 
>> /home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/src/rla.imageio/rlaoutput.cpp
>> /home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/src/openexr.imageio/exrinput.cpp:
>>  In member function 'void 
>> OpenImageIO::v1_3::OpenEXRInput::PartInfo::parse_header(const Imf::Header*)':
>> /home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/src/openexr.imageio/exrinput.cpp:635:17:
>>  error: 'const class Imf::Header' has no member named 'hasName'
>>      if (header->hasName())
>>                  ^
>> /home/build/rpmbuild/OpenImageIO/BUILD/oiio-Release-1.3.10/src/openexr.imageio/exrinput.cpp:636:54:
>>  error: 'const class Imf::Header' has no member named 'name' 
>>          spec.attribute ("oiio:subimagename", header->name());
>>                                                       ^
>> make[2]: *** 
>> [src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/__/openexr.imageio/exrinput.cpp.o]
>>  Error 1
>> make[2]: *** Waiting for unfinished jobs....
>> 
>> Any ideas?
>> 
>> Thanks,
>> Richard
>> 
>> _______________________________________________
>> Oiio-dev mailing list
>> [email protected]
>> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
> 
> --
> Larry Gritz
> [email protected]
> 
> 
> 
> _______________________________________________
> Oiio-dev mailing list
> [email protected]
> http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

--
Larry Gritz
[email protected]



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

Reply via email to