On 08/07/08 19:41, Martin Landa wrote:
Hi,

2008/7/8 Moritz Lennert <[EMAIL PROTECTED]>:
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

should be fixed,

http://trac.osgeo.org/grass/changeset/32051

Now it compiles, but when I display the elevation map from the NC data set and then chose the nviz tool in the map display, the entire wx gui crashes...

...

Just found out why: it's a locale problem. LANG is set to fr_BE.UTF-8 on my system. When I set it to C nviz runs (great job !!), but when I leave the default setting, wxgrass crashes and I get the following error in the terminal window where I launch g.gui:

GRASS_INFO_ERROR(22238,1): région pour le jeu de données (mapset) courant ligne 1: <n-s resol: 29.349241>

GRASS_INFO_ERROR(22238,1): lancer "g.region"
GRASS_INFO_END(22238,1)


Moritz
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to