-
Notifications
You must be signed in to change notification settings - Fork 748
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
how to compile a libCommon.a that can be used on Android Platform? #64
Comments
It sounds like it's building the Linux/X11 version instead of the Android version. It should be using this: https://github.com/danginsburg/opengles3-book/blob/master/Common/Source/Android/esUtil_Android.c @javedrabbani can you advise? |
@perfectworld0415 Can you please share how you are building on Ubuntu? I mean please share how you are invoking CMake to build for android? |
Cmakelist.txt: Win32 Platform filesif(WIN32) Cmake : cmake -DCMAKE_TOOLCHAIN_FILE=/home/codingbo/Liuqc/android-ndk-r20/build/cmake/android.toolchain.cmake error : CMakeFiles/Common.dir/Source/Android/esUtil_Android.c.o: In function |
I compiled it with NDK toolchains on Ubuntu , errors happened like X11/Xlib.h' file not found? Anyone knows how to solve it?
The text was updated successfully, but these errors were encountered: