We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2226 - EGL build related errors
Summary: EGL build related errors
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.1
Hardware: ARM Linux
: P2 normal
Assignee: Gabriel Jacobo
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 16:19 UTC by romain145
Modified: 2013-11-11 22:18 UTC (History)
2 users (show)

See Also:


Attachments
config.log (188.30 KB, text/plain)
2013-11-11 17:56 UTC, romain145
Details
SDL_config.h (9.32 KB, text/x-csrc)
2013-11-11 17:56 UTC, romain145
Details

Note You need to log in before you can comment on or make changes to this bug.
Description romain145 2013-11-11 16:19:28 UTC
From the latest pull from Mercurial repo (today) :

After a configure/make :

/root/SDL/src/video/x11/SDL_x11window.c: In function 'X11_CreateWindow':
/root/SDL/src/video/x11/SDL_x11window.c:566:19: error: 'SDL_VideoDevice' has no member named 'egl_data'
/root/SDL/src/video/x11/SDL_x11window.c:572:19: error: 'SDL_WindowData' has no member named 'egl_surface'
/root/SDL/src/video/x11/SDL_x11window.c:572:9: warning: implicit declaration of function 'SDL_EGL_CreateSurface' [-Wimplicit-function-declaration]
/root/SDL/src/video/x11/SDL_x11window.c:572:65: error: 'NativeWindowType' undeclared (first use in this function)
/root/SDL/src/video/x11/SDL_x11window.c:572:65: note: each undeclared identifier is reported only once for each function it appears in
/root/SDL/src/video/x11/SDL_x11window.c:572:83: error: expected ')' before 'w'
/root/SDL/src/video/x11/SDL_x11window.c:574:23: error: 'SDL_WindowData' has no member named 'egl_surface'
/root/SDL/src/video/x11/SDL_x11window.c:574:40: error: 'EGL_NO_SURFACE' undeclared (first use in this function)
make: *** [build/SDL_x11window.lo] Error 1

Platform : ARM/i.MX6 kernel 3.0.35-cm-fx6-4.
Comment 1 Gabriel Jacobo 2013-11-11 16:50:57 UTC
Please attach config.log and SDL_config.h
Comment 2 romain145 2013-11-11 17:56:24 UTC
Created attachment 1418 [details]
config.log
Comment 3 romain145 2013-11-11 17:56:57 UTC
Created attachment 1419 [details]
SDL_config.h
Comment 4 Gabriel Jacobo 2013-11-11 22:18:21 UTC
This should be fixed, thanks!

https://hg.libsdl.org/SDL/rev/904d473b8845