[GRASS-user] GRASS-6.2.3: Compilation problems with NVIZ

roberto caselli roberto.caselli at yahoo.it
Tue Mar 11 12:50:01 EDT 2008


Hi everyone,
I tryed to compile GRASS-6.2.3 sources on my machine with ubuntu 7.10.
configure step went well but I had an error during MAKE.

the message error told to CD on "/visualization/nviz"  and then type MAKE.

Now the message errors are:

make[1]: Entering directory `/home/roberto/grass-6.2.3/visualization/nviz/src'
gcc -I/home/roberto/grass-6.2.3/dist./include  -g -O2      -I/home/roberto/grass-6.2.3/dist./include    -I/usr/include      -DPACKAGE=\""grassmods"\"  -I/home/roberto/grass-6.2.3/dist./include \
                -o OBJ./nvizAppInit.o -c nvizAppInit.c
In file included from togl.h:16,
                 from nvizAppInit.c:8:
togl_ws.h:4:26: error: grass/config.h: Nessun file o directory
togl_ws.h:14:3: error: #error None of OPENGL_X11, OPENGL_AQUA or OPENGL_WINDOWS defined
In file included from nvizAppInit.c:8:
togl.h:53:23: error: GL/gl.h: Nessun file o directory
In file included from nvizAppInit.c:8:
togl.h:165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Togl_LoadBitmapFont’
togl.h:166: error: expected declaration specifiers or ‘...’ before ‘GLuint’
togl.h:215: error: expected ‘)’ before ‘left’
In file included from nvizAppInit.c:9:
interface.h:21:23: error: grass/gis.h: Nessun file o directory
interface.h:22:25: error: grass/gsurf.h: Nessun file o directory
interface.h:23:27: error: grass/gstypes.h: Nessun file o directory
In file included from nvizAppInit.c:9:
interface.h:67: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘FontBase’
interface.h:86: error: ‘MAX_CPLANES’ undeclared here (not in a function)
interface.h:90: error: ‘MAX_LIGHTS’ undeclared here (not in a function)
interface.h:280: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘load_font’
interface.h:363: error: expected ‘)’ before ‘*’ token
interface.h:364: error: expected ‘)’ before ‘*’ token
interface.h:365: error: expected ‘)’ before ‘*’ token
interface.h:366: error: expected ‘)’ before ‘*’ token
interface.h:367: error: expected ‘)’ before ‘*’ token
interface.h:368: error: expected ‘)’ before ‘*’ token
interface.h:369: error: expected declaration specifiers or ‘...’ before ‘geosite’
interface.h:370: error: expected declaration specifiers or ‘...’ before ‘geosite’
interface.h:371: error: expected declaration specifiers or ‘...’ before ‘geosite’
interface.h:372: error: expected ‘)’ before ‘*’ token
interface.h:373: error: expected ‘)’ before ‘*’ token
interface.h:374: error: expected ‘)’ before ‘*’ token
interface.h:375: error: expected ‘)’ before ‘*’ token
interface.h:376: error: expected ‘)’ before ‘*’ token
make[1]: *** [OBJ./nvizAppInit.o] Error 1
make[1]: Leaving directory `/home/roberto/grass-6.2.3/visualization/nviz/src'
make: *** [nvwish] Error 2

Any suggestion to fix the problem?

Thank you,

Roberto



       
---------------------------------
Inviato da Yahoo! Mail.
La web mail più usata al mondo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080311/0a5184aa/attachment.html


More information about the grass-user mailing list