Aha, thanks for the alert. Fix coming right up...
> On Oct 30, 2017, at 7:51 PM, Jean-Francois Panisset <[email protected]> > wrote: > > On CentOS 7.2 with freetype-devel not installed (which was an > oversight), building 1.8.5 failed with: > > [ 51%] Building CXX object > src/libOpenImageIO/CMakeFiles/OpenImageIO.dir/imagebufalgo_draw.cpp.o > /home/PSYOP/panisset/projects/oiio-Release-1.8.5/src/libOpenImageIO/imagebufalgo_draw.cpp:616:1: > error: ‘bool OpenImageIO_v1_8::resolve_font(int, > OpenImageIO_v1_8::string_view, std::string&)’ defined but not used > [-Werror=unused-function] > resolve_font (int fontsize, string_view font_, std::string &result) > ^ > cc1plus: all warnings being treated as errors > > > The problem is that resolve_font() is defined outside of USE_FREETYPE: > > static bool > resolve_font (int fontsize, string_view font_, std::string &result) > { > result.clear (); > #ifdef USE_FREETYPE > ... > > but only called from code that's inside #ifdef USE_FREETYPE. > Workaround / solution is to make sure freetype-devel is installed. > > JF Panisset > _______________________________________________ > 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
