AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.06.06 05:05 "[Tiff] Custom and EXIF directory read/write", by Frank Warmerdam
2012.06.06 13:42 "Re: [Tiff] Custom and EXIF directory read/write", by Bob Friesenhahn
2012.06.06 17:17 "Re: [Tiff] Custom and EXIF directory read/write", by Frank Warmerdam
2012.06.24 18:59 "[Tiff] Update of tiffgt.c", by Christophe Deroulers
2012.07.06 13:15 "Re: [Tiff] Update of tiffgt.c", by Robert Wilson

2012.06.24 18:59 "[Tiff] 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"