-
Notifications
You must be signed in to change notification settings - Fork 22
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
Odroid C1 build problems (armv7, OPENGL ES) #19
Comments
Could you please post the first few lines for the cmake output - and please run make with |
about the GLenum error: see src/modules/gfx/CMakeLists.txt - this is currently included if the platform is not android - because android is basically what you wanna compile it for, too (arm + gles). That means we have several options - the best would maybe be to provide a dedicated toolchain file for cmake which exports a proper system name so I can identify it later on. Another option would also be to just skip the GL1Frontend code compilation if SDL_VIDEO_OPENGL is not 1 |
I'm going to provide the requested info shortly. |
cmake says:
make -j4 VERBOSE=1 ends with:
|
there was a SDL_VIDEO_OPENGL guard missing
That particular issue should be fixed now. |
Indeed it builds fine now. I'm getting a crash on startup though - would you like to continue here or move to a new issue?
|
No wait, the build process likes x86 too much :) I tried a Release build but got: g++-4.9.real: error: unrecognized command line option ‘-msse3’ You probably meant EDIT: |
looks like the lua error is related to #18 Could you please reexecute cmake and attach the lines of this output:
(you need to pull to latest master) |
-- Target processor: armv7l |
Thanks a lot - please give latest master a try. Should be fixed now. |
Yeah, that's what I manually did yesterday - the release build is ok now. The lua issue is also present on that 32bit x86. Thanks! |
The lua issue is also present there? I thought you are able to run it. What exactly is the output? segfault? |
ah - amd64. no sse3 - there was this cmake module FindSSE.cmake - but I found this a little bit overkill. But as far as I can see there is no way around it if I wanna support more platforms and still use -msse3 |
The default debug build has the lua issue on both platforms whereas the release doesn't. If you meant to see the GL3 segfault, here you are:
|
I think issue can be closed then, I will take care of the lua stuff in issue #18 |
Removing all config files and typing ./caveexpress still segfaults after starting the opengl3 frontend in arm GLES-only SDL2 environment. |
I switched back to sdl by default for now. This is currently the safest. |
Build fails on Linux against a gles-only SDL2:
For some reason, even though LDFLAGS=-ldl is passed to make -j4 I'm getting these:
and afterwards the build finally fails with:
Doing a make -j4 and then after the above dlsym errors finishing with LDFLAGS=-ldl make ends with:
The text was updated successfully, but these errors were encountered: