AnonimoVeneziano
14-11-2004, 12:15
Qualcuno ci è riuscito??
Io sulla mia debian ho parecchi problemi.
Sono riuscito a compilare XMAME 0.86 senza problemi con supporto OpenGL , ma lo 0.88 proprio no , ecco gli errori :
melchior@melchior:~/xmame-0.88$ make -f makefile.unix DISPLAY_METHOD=xgl
[OSDEPEND] Compiling src/unix/video-drivers/xgl.c ...
In file included from src/unix/video-drivers/glxtool.h:34,
from src/unix/video-drivers/xgl.c:24:
src/unix/video-drivers/glx-disp-var.h:10: error: parse error before "GLXPixmap"
src/unix/video-drivers/glx-disp-var.h:13: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:13: warning: type defaults to `int' in declaration of `GLXPixmap'
src/unix/video-drivers/glx-disp-var.h:13: error: `GLXPixmap' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:15: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:15: error: parse error before "GLXContext"
src/unix/video-drivers/glx-disp-var.h:15: warning: type defaults to `int' in declaration of `GLXContext'
src/unix/video-drivers/glx-disp-var.h:15: error: `GLXContext' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:16: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:16: warning: type defaults to `int' in declaration of `GLXContext'
src/unix/video-drivers/glx-disp-var.h:16: error: `GLXContext' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:17: error: parse error before "GLXContext"
src/unix/video-drivers/glx-disp-var.h:19: error: parse error before "GLXDrawable"
src/unix/video-drivers/glx-disp-var.h:20: error: parse error before "GLXDrawable"
In file included from src/unix/video-drivers/xgl.c:24:
src/unix/video-drivers/glxtool.h:38: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:38: warning: no semicolon at end of struct or union
src/unix/video-drivers/glxtool.h:40: error: parse error before '}' token
src/unix/video-drivers/glxtool.h:40: warning: type defaults to `int' in declaration of `VisualGC'
src/unix/video-drivers/glxtool.h:40: warning: data definition has no type or storage class
src/unix/video-drivers/glxtool.h:44: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:51: error: parse error before "findVisualGlX"
src/unix/video-drivers/glxtool.h:59: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:63: warning: type defaults to `int' in declaration of `findVisualGlX'
src/unix/video-drivers/glxtool.h:63: warning: data definition has no type or storage class
src/unix/video-drivers/xgl.c:42: error: parse error before "glContext"
src/unix/video-drivers/xgl.c:42: warning: type defaults to `int' in declaration of `glContext'
src/unix/video-drivers/xgl.c:42: warning: initialization makes integer from pointer without a cast
src/unix/video-drivers/xgl.c:42: warning: data definition has no type or storage class
src/unix/video-drivers/xgl.c: In function `xgl_open_display':
src/unix/video-drivers/xgl.c:158: error: parse error before "vgc"
src/unix/video-drivers/xgl.c:184: error: `vgc' undeclared (first use in this function)
src/unix/video-drivers/xgl.c:184: error: (Each undeclared identifier is reported only once
src/unix/video-drivers/xgl.c:184: error: for each function it appears in.)
make: *** [xmame.obj/unix.xgl/video-drivers/xgl.o] Error 1
melchior@melchior:~/xmame-0.88$
Qualche idea? :(
Ciao
Io sulla mia debian ho parecchi problemi.
Sono riuscito a compilare XMAME 0.86 senza problemi con supporto OpenGL , ma lo 0.88 proprio no , ecco gli errori :
melchior@melchior:~/xmame-0.88$ make -f makefile.unix DISPLAY_METHOD=xgl
[OSDEPEND] Compiling src/unix/video-drivers/xgl.c ...
In file included from src/unix/video-drivers/glxtool.h:34,
from src/unix/video-drivers/xgl.c:24:
src/unix/video-drivers/glx-disp-var.h:10: error: parse error before "GLXPixmap"
src/unix/video-drivers/glx-disp-var.h:13: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:13: warning: type defaults to `int' in declaration of `GLXPixmap'
src/unix/video-drivers/glx-disp-var.h:13: error: `GLXPixmap' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:15: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:15: error: parse error before "GLXContext"
src/unix/video-drivers/glx-disp-var.h:15: warning: type defaults to `int' in declaration of `GLXContext'
src/unix/video-drivers/glx-disp-var.h:15: error: `GLXContext' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:16: error: parse error before '*' token
src/unix/video-drivers/glx-disp-var.h:16: warning: type defaults to `int' in declaration of `GLXContext'
src/unix/video-drivers/glx-disp-var.h:16: error: `GLXContext' declared as function returning a function
src/unix/video-drivers/glx-disp-var.h:17: error: parse error before "GLXContext"
src/unix/video-drivers/glx-disp-var.h:19: error: parse error before "GLXDrawable"
src/unix/video-drivers/glx-disp-var.h:20: error: parse error before "GLXDrawable"
In file included from src/unix/video-drivers/xgl.c:24:
src/unix/video-drivers/glxtool.h:38: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:38: warning: no semicolon at end of struct or union
src/unix/video-drivers/glxtool.h:40: error: parse error before '}' token
src/unix/video-drivers/glxtool.h:40: warning: type defaults to `int' in declaration of `VisualGC'
src/unix/video-drivers/glxtool.h:40: warning: data definition has no type or storage class
src/unix/video-drivers/glxtool.h:44: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:51: error: parse error before "findVisualGlX"
src/unix/video-drivers/glxtool.h:59: error: parse error before "GLXContext"
src/unix/video-drivers/glxtool.h:63: warning: type defaults to `int' in declaration of `findVisualGlX'
src/unix/video-drivers/glxtool.h:63: warning: data definition has no type or storage class
src/unix/video-drivers/xgl.c:42: error: parse error before "glContext"
src/unix/video-drivers/xgl.c:42: warning: type defaults to `int' in declaration of `glContext'
src/unix/video-drivers/xgl.c:42: warning: initialization makes integer from pointer without a cast
src/unix/video-drivers/xgl.c:42: warning: data definition has no type or storage class
src/unix/video-drivers/xgl.c: In function `xgl_open_display':
src/unix/video-drivers/xgl.c:158: error: parse error before "vgc"
src/unix/video-drivers/xgl.c:184: error: `vgc' undeclared (first use in this function)
src/unix/video-drivers/xgl.c:184: error: (Each undeclared identifier is reported only once
src/unix/video-drivers/xgl.c:184: error: for each function it appears in.)
make: *** [xmame.obj/unix.xgl/video-drivers/xgl.o] Error 1
melchior@melchior:~/xmame-0.88$
Qualche idea? :(
Ciao