Are we at a place yet where I can compile and test this on a Mac, given it's location of OpenGL in the agl directory?
Michael
On Jul 9, 2008, at 12:36 AM, <grass-dev-request@lists.osgeo.org> <grass-dev-request@lists.osgeo.org > wrote:
Date: Tue, 08 Jul 2008 18:48:05 +0200
From: Moritz Lennert <mlennert@club.worldonline.be>
Subject: [GRASS-dev] nvizlib compile error
To: grass-dev <grass-dev@lists.osgeo.org>
Message-ID: <48739A45.3050606@club.worldonline.be>
Content-Type: text/plain; charset=windows-1252; format=flowedI get an error trying to compile lib/nviz on a Debian system with a
fresh SVN checkout of trunk:"~/SRC/GRASS/grass_trunk/lib/nviz$ make
gcc
-I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include
-Wall -g -O2 -fPIC -DPACKAGE=\""grasslibs"\" -I/usr/include
-DPACKAGE=\""grasslibs"\"
-I/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include -o
OBJ.i486-pc-linux-gnu/cplanes_obj.o -c cplanes_obj.c
In file included from cplanes_obj.c:19:
/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/nviz.h:31:4:
error: #error Unsupported platform, or confused platform defines...
In file included from cplanes_obj.c:19:
/home/mlennert/SRC/GRASS/grass_trunk/dist.i486-pc-linux-gnu/include/grass/nviz.h:113:
error: expected specifier-qualifier-list before Display
make: *** [OBJ.i486-pc-linux-gnu/cplanes_obj.o] Erreur 1"- configure output shows:
checking for location of OpenGL library...
checking for glBegin in -lGL... yes
checking for gluBeginCurve in -lGLU... yes
checking for glXCreatePbuffer... yes
checking for glXCreateGLXPixmap... yes
[...]
OpenGL support: yesMoritz