Replies: 1 comment 2 replies
-
Ah, sorry about that. I've been trying to get some things harmonized with the openGL target I have as an experiment, in the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I tried bumping Amiberry to latest master on my own Batocera (buildroot based) build and ran into this:
It seems that changes in b6e94d5 cause it. The reason why
GL/gl.h
is not found is that Mesa3d in buildroot provides libgl only "for a full xorg stack" (https://github.com/batocera-linux/buildroot/blob/br2-external/package/mesa3d/mesa3d.mk#L187) and Batocera doesn't use xorg.Changing
#include <OpenGL/gl.h>
includes back to#include <SDL_opengl.h>
fixes the build for me and Amiberry seems to work:I don't really have experience with graphics stacks so I thought to ask advice here for resolving this. At the moment it seems to boil down to these options:
SDL_opengl.h
include back like described above. We could add a new flag to Makefile for this keeping#include <GL/gl.h>
is preferred (something likeUSE_SDL_OPENGL
maybe). SoGL/gl.h
would be included by default andSDL_opengl.h
if set so by the new flag. I can make a PR for this.I'm good with either option 🙂 Any opinions or suggestions about this?
Beta Was this translation helpful? Give feedback.
All reactions