Build failure
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 section of ImguiDemoSdl/build.gradle (lines 13-19) to read
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.