Problem with libsdl2-32

Wawrzek Niewodniczanski main at wawrzek.name
Sat Nov 2 23:49:40 UTC 2019


Hi,
I try to build libsdl2-32 and hit following problem (libsdl2 is fine).

Wawrzek


  CC     build/SDL_video.lo
In file included from include/SDL_opengles.h:33,
                 from
/home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41:
/usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr'
 typedef khronos_ssize_t GLsizeiptr;
                         ^~~~~~~~~~
In file included from include/SDL_opengl.h:2105,
                 from
/home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37:
include/SDL_opengl_glext.h:472:19: note: previous declaration of
'GLsizeiptr' was here
 typedef ptrdiff_t GLsizeiptr;
                   ^~~~~~~~~~
In file included from include/SDL_opengles.h:33,
                 from
/home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41:
/usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr'
 typedef khronos_intptr_t GLintptr;
                          ^~~~~~~~
In file included from include/SDL_opengl.h:2105,
                 from
/home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37:
include/SDL_opengl_glext.h:473:19: note: previous declaration of
'GLintptr' was here
 typedef ptrdiff_t GLintptr;
                   ^~~~~~~~
make: *** [Makefile:551: build/SDL_video.lo] Error 1
=======> ERROR: Building
'/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz'
failed.
prt-get: error while install





-- 
Dr  Wawrzyniec Niewodniczański    or Wawrzek for short
  PhD in Quantum Chemistry  & MSc in Molecular Engineering
   WWW: http://wawrzek.name E-MAIL: jobs at wawrzek.name
      Linux User #177124


More information about the CRUX mailing list