Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure with ./configure --enable-video-wayland --disable-video-opengles #1482

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2014-05-12 15:46:48 +0000, Julian Ospald wrote:

libtool: compile: gcc -g -O3 -DUSING_GENERATED_CONFIG_H -Iinclude -I/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/include -mmmx -m3dnow -msse -msse2 -fvisibility=hidden -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -D_REENTRANT -DHAVE_LINUX_VERSION_H -Wall -MMD -MT build/SDL_waylandvideo.lo -c /home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c -fPIC -DPIC -o build/.libs/SDL_waylandvideo.o
In file included from /home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:34:0:
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c: In function 'Wayland_CreateDevice':
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: error: 'SDL_EGL_GetSwapInterval' undeclared (first use in this function)
#define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:113:34: note: in expansion of macro 'Wayland_GLES_GetSwapInterval'
device->GL_GetSwapInterval = Wayland_GLES_GetSwapInterval;
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:38:38: note: each undeclared identifier is reported only once for each function it appears in
#define Wayland_GLES_GetSwapInterval SDL_EGL_GetSwapInterval
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:113:34: note: in expansion of macro 'Wayland_GLES_GetSwapInterval'
device->GL_GetSwapInterval = Wayland_GLES_GetSwapInterval;
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:37:38: error: 'SDL_EGL_SetSwapInterval' undeclared (first use in this function)
#define Wayland_GLES_SetSwapInterval SDL_EGL_SetSwapInterval
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:114:34: note: in expansion of macro 'Wayland_GLES_SetSwapInterval'
device->GL_SetSwapInterval = Wayland_GLES_SetSwapInterval;
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:36:36: error: 'SDL_EGL_UnloadLibrary' undeclared (first use in this function)
#define Wayland_GLES_UnloadLibrary SDL_EGL_UnloadLibrary
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:118:32: note: in expansion of macro 'Wayland_GLES_UnloadLibrary'
device->GL_UnloadLibrary = Wayland_GLES_UnloadLibrary;
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandopengles.h:35:37: error: 'SDL_EGL_GetProcAddress' undeclared (first use in this function)
#define Wayland_GLES_GetProcAddress SDL_EGL_GetProcAddress
^
/home/jule/tmp/SDL2-2.0.3/SDL2-2.0.3/src/video/wayland/SDL_waylandvideo.c:119:33: note: in expansion of macro 'Wayland_GLES_GetProcAddress'
device->GL_GetProcAddress = Wayland_GLES_GetProcAddress;
^
make: *** [build/SDL_waylandvideo.lo] Error 1

On 2014-05-12 15:47:34 +0000, Julian Ospald wrote:

if we are not supposed to use this combination, then it shouldn't be allowed by ./configure

On 2014-05-13 22:43:18 +0000, Gabriel Jacobo wrote:

Fixed: https://hg.libsdl.org/SDL/rev/3e2b3019a879

Thanks for the report!

1bsyl added a commit that referenced this issue Apr 30, 2021
- especially because we can be promoted to true color 888
  make sure we don't select a potentially software implementation

- hopefully fix bug #1482 (EGL ChooseConfig selects software renderer on Android)
Cacodemon345 pushed a commit to Cacodemon345/SDL that referenced this issue May 2, 2021
- especially because we can be promoted to true color 888
  make sure we don't select a potentially software implementation

- hopefully fix bug libsdl-org#1482 (EGL ChooseConfig selects software renderer on Android)
joolswills pushed a commit to RetroPie/SDL that referenced this issue May 22, 2021
- especially because we can be promoted to true color 888
  make sure we don't select a potentially software implementation

- hopefully fix bug libsdl-org#1482 (EGL ChooseConfig selects software renderer on Android)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant