-
Notifications
You must be signed in to change notification settings - Fork 38
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 #1
Comments
Hey @kewp, thanks for the report! The errors you are getting seem pretty strange - those PFNGL* types should be described in your NDK's GLES3/gl3.h header. Then again, seeing as this errors out for mips64, maybe NDK is broken for that ABI? Seems like there's no support for MIPS targets in recent NDKs. What is your NDK version? Could you try re-running the build with r15 or r16? Then again, I should probably update the repository. Oh, and you shouldn't need SDL2 to build this project for Android - it is built from source and is included in the repository as a submodule. |
Hey @sfalexrog . No worries. Thanks for putting the code up. I'm not at my work machine right now. Busy running it on my home computer (Windows). Will let you know. |
Getting CMAKE errors... Not sure how to debug them. Once I'm back at work I'll try re-running the build with r15/r16 |
Working fine on Windows now. |
@kewp, cmake errors could be caused by an older gradle plugin requesting unsupported ABIs (armeabi, mips and mips64 were removed from NDK starting from r17). You could try building only for a specific set of ABIs by modifying externalNativeBuild {
cmake {
cppFlags "-std=c++11"
targets "demo"
+ abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64'
}
} I'll try to update the repo to match current versions of the libraries soon. |
I'm getting a build failure. See the log below. I installed SDL2 on Ubuntu.
build.txt
The text was updated successfully, but these errors were encountered: