You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc -c -g -O0 -Wall -Icommon -o common/u2gl.o common/u2gl.c
In file included from /usr/include/GL/gl.h:2085:0,
from /usr/include/GL/glu.h:38,
from common/u2gl.c:4:
/usr/include/GL/glext.h:459:19: error: conflicting types for ‘GLsizeiptr’
typedef ptrdiff_t GLsizeiptr;
^
In file included from common/u2gl.c:3:0:
/usr/include/GLES2/gl2.h:39:26: note: previous declaration of ‘GLsizeiptr’ was here
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /usr/include/GL/gl.h:2085:0,
from /usr/include/GL/glu.h:38,
from common/u2gl.c:4:
/usr/include/GL/glext.h:460:19: error: conflicting types for ‘GLintptr’
typedef ptrdiff_t GLintptr;
^
In file included from common/u2gl.c:3:0:
/usr/include/GLES2/gl2.h:38:26: note: previous declaration of ‘GLintptr’ was here
typedef khronos_intptr_t GLintptr;
^
make: *** [common/u2gl.o] Error 1
Removing glu include fixed the problem
The text was updated successfully, but these errors were encountered:
gcc -c -g -O0 -Wall -Icommon -o common/u2gl.o common/u2gl.c
In file included from /usr/include/GL/gl.h:2085:0,
from /usr/include/GL/glu.h:38,
from common/u2gl.c:4:
/usr/include/GL/glext.h:459:19: error: conflicting types for ‘GLsizeiptr’
typedef ptrdiff_t GLsizeiptr;
^
In file included from common/u2gl.c:3:0:
/usr/include/GLES2/gl2.h:39:26: note: previous declaration of ‘GLsizeiptr’ was here
typedef khronos_ssize_t GLsizeiptr;
^
In file included from /usr/include/GL/gl.h:2085:0,
from /usr/include/GL/glu.h:38,
from common/u2gl.c:4:
/usr/include/GL/glext.h:460:19: error: conflicting types for ‘GLintptr’
typedef ptrdiff_t GLintptr;
^
In file included from common/u2gl.c:3:0:
/usr/include/GLES2/gl2.h:38:26: note: previous declaration of ‘GLintptr’ was here
typedef khronos_intptr_t GLintptr;
^
make: *** [common/u2gl.o] Error 1
Removing glu include fixed the problem
The text was updated successfully, but these errors were encountered: