[GRASS-dev] Re: nvizlib compile error

Michael Barton michael.barton at asu.edu
Wed Jul 9 19:08:39 EDT 2008


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 at lists.osgeo.org> <grass-dev-request at lists.osgeo.org 
 > wrote:

> Date: Tue, 08 Jul 2008 18:48:05 +0200
> From: Moritz Lennert <mlennert at club.worldonline.be>
> Subject: [GRASS-dev] nvizlib compile error
> To: grass-dev <grass-dev at lists.osgeo.org>
> Message-ID: <48739A45.3050606 at club.worldonline.be>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> I 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:             yes
>
>
> Moritz



More information about the grass-dev mailing list