-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Building on Odroid XU4 fails #10664
Comments
Looks like both our ES headers and desktop gl headers are getting included, strange... |
Should I try a build with the desktop gl headers removed? Where would I need to change the Makefile? And thanks for being so super fast in your response btw!! |
No wait, that's not it. It's your gl2ext headers that defining stuff that we already also define in gl3stub.h, we should avoid getting that included. Just to test, open ext/native/gfx/gl_common.h and remove the line that includes gl3stub.h and see if that helps. |
Building again - will know more in about 8-10mins :) |
And this is what we get now: I would assume there's no Vulkan support on the XU4, is there? |
That was just a silly mistake from my side, I've fixed it now. It should still be able to build the Vulkan code, even if it's not using it. |
Ok - pulled again and rebuilding now. :) |
After a new pull this what I am getting now: |
Vulkan should be in even if not used, don't worry about that. This is a GL header problem. Seems like your gl2ext has some gl3 stuff, but not all of it so now something's missing :( We should really move to use our own gl headers... Might want to try to hack the CMakeLists.txt to make it not have USING_GLES2 defined and see if desktop gl works on your device? |
The retropie build script is using a cmake file called "generic.armv7.cmake" on the Odroid XU4. set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=armv7-a -mfpu=neon -mcpu=cortex-a9") However still no joy: |
If you have any further ideas I am happy to try them. :) |
Looking at the same problem, but building in an arm chroot env (tuned for XU4) |
I've managed to compile ppsspp in an odroid flavoured arm chroot by patching /usr/include/GLES2/gl2ext.h
Then I ran into this problem: Which I solved by supplying __ARM_PCS_VFP to the asm, c and cxx flags like suggested in the forum. |
Is this still a problem? If ppsspp/Core/MIPS/ARM/ArmCompVFPU.cpp Lines 2223 to 2230 in aa927e0
-[Unknown] |
It's not a problem in the sense that I stopped trying to cross-compile ppsspp. But if you think cross-compiling ppsspp is worthwile (e.g. speed, Travis test building) this will come up again. |
I think we've fixed the ARM problem. Since this is an older issue and hasn't gotten feedback recently, I'm going to close it in favor of #13840 which has more detail by now on the GL header issue. -[Unknown] |
Building current master on Odroid XU4 fails.
See attached log.
Any idea how to fix this?
https://pastebin.com/2mEuHyhA
The text was updated successfully, but these errors were encountered: