jceipek / pyShiva

Very easy 2d drawing library for python.
9 stars 5 forks source link

Compilation fails on Ubuntu #16

Open jkpubsrc opened 6 years ago

jkpubsrc commented 6 years ago

Following the tutorial I try to compile "ShivaVG" with "make". This is the result:

[  2%] Building C object src/CMakeFiles/OpenVG.dir/shExtensions.c.o
In file included from /usr/include/GL/glx.h:333:0,
                 from /home/woodoo/DevOS/Experiments/PythonGUI/pyShiva/ShivaVG/src/shDefs.h:170,
                 from /home/woodoo/DevOS/Experiments/PythonGUI/pyShiva/ShivaVG/src/shExtensions.c:23:
/usr/include/GL/glxext.h:508:143: error: unknown type name ‘GLintptr’
 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLint
                                                                                                                                               ^
/usr/include/GL/glxext.h:508:164: error: unknown type name ‘GLintptr’
 f void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr wr
                                                                                                                                                              ^
/usr/include/GL/glxext.h:508:186: error: unknown type name ‘GLsizeiptr’
 FFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr 
                                                                                                                                                              ^
/usr/include/GL/glxext.h:509:148: error: unknown type name ‘GLintptr’
 typedef void ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, 
                                                                                                                                                    ^
/usr/include/GL/glxext.h:509:169: error: unknown type name ‘GLintptr’
 d ( *PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr wr
                                                                                                                                                              ^
/usr/include/GL/glxext.h:509:191: error: unknown type name ‘GLsizeiptr’
 FFERSUBDATANVPROC) (Display *dpy, GLXContext readCtx, GLXContext writeCtx, GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr 
                                                                                                                                                              ^
src/CMakeFiles/OpenVG.dir/build.make:62: recipe for target 'src/CMakeFiles/OpenVG.dir/shExtensions.c.o' failed
make[2]: *** [src/CMakeFiles/OpenVG.dir/shExtensions.c.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/OpenVG.dir/all' failed
make[1]: *** [src/CMakeFiles/OpenVG.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Very likely that's not what you intended.

I'm looking for a library I can use for implementing simple (and lightning fast) GUIs. I'd like to try out your library for that purpose. If you want to get in contact with me, please send an EMail to pubsrc (@) binary-overflow.de