Will GifLastError() work for both libgif 4.1 as well as 5? Or do we need some kind of #ifdef switch?
On Oct 9, 2013, at 3:03 AM, Ben De Luca wrote: > Hey, > trying to compile oiio against libgiff 4.1 ( system provided) > > compilation fails like > /mnt/homes/bdeluca/src/oiio/oiio/src/gif.imageio/gifinput.cpp: In member > function ‘void OpenImageIO::v1_3::GIFInput::report_last_error()’: > /mnt/homes/bdeluca/src/oiio/oiio/src/gif.imageio/gifinput.cpp:476:27: error: > ‘GifErrorString’ was not declared in this scope > > > GifErrorString seems to be part of libgiff 5 > > changing it too > GifLastError(); > probably does some thing closer to what we want. > > -- Larry Gritz [email protected] _______________________________________________ Oiio-dev mailing list [email protected] http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org
