|AWARE [SYSTEMS]||Imaging expertise for the Delphi developer|
|TIFF and LibTiff Mailing List Archive|
LibTiff Mailing List
2012.06.24 18:59 "Update of tiffgt.c", by Christophe Deroulers
Dear all, As I understand, since tiff 4.0 the configure script doesn't recognize the option --with_apple_opengl_framework anymore. Indeed, this option was removed from autoconf-gl-macros (from which AX_CHECK_GL in m4/acinclude.m4 is taken) as of 2007-11-29. Therefore, I suggest cleaning up tools/tiffgt.c to remove the use of HAVE_APPLE_OPENGL_FRAMEWORK -- here is a patch. Best wishes, Christophe Deroulers Laboratory IMNC & Physics Dept. of the University Paris Diderot-Paris 7 --- tiffgt.c.orig 2010-07-01 17:56:56.000000000 +0200 +++ tiffgt.c 2012-06-24 20:46:29.000000000 +0200 @@ -31,13 +31,8 @@ #include <string.h> #include <unistd.h> -#if HAVE_APPLE_OPENGL_FRAMEWORK -# include <OpenGL/gl.h> -# include <GLUT/glut.h> -#else -# include <GL/gl.h> -# include <GL/glut.h> -#endif +#include <GL/gl.h> +#include <GL/glut.h> #include "tiffio.h" #include "tiffiop.h"