Closed jayzhen521 closed 9 months ago
I should have removed that file long ago. I have a new file BuildAndroid.bat
in my local repository, but I haven't spent any time on it in a while so the Android port never got out of an experimental state. The new batch script was supposed to follow a similar pattern as the other Build*
scripts, but if you found a fix to make it work, please feel free to file a PR.
Are you working with Android Studio or what IDE do you generate the project files for with this script?
( I also just realized that there's still my hard coded project path in there 😳 )
Thank you for your reply!
Are you working with Android Studio or what IDE do you generate the project files for with this script?
I'm using cygwin + androidndk(windows edition) + cmake(windows edition) to create LLGL and LLGL_OpenGL library.
My project mainly contains three layers:
rendering layer can create render context and run rendering command( so business layer don't care about surface creation...) logic layer contains data and operation top layer written in java/kotlin for creating activity, etc.
I found some building errors. They are all small mistakes(It has been able to compile successfully, so far I have not actually run it, it may take a while to process and then test): 1: It seems that the Surface::ProcessEvents method appears suddenly, and PostQuit(); does not belong to this class either.
2:
3: It seems POSIXDebug.cpp not needed for Android, so I commented them all out
4: Is the function declaration not updated?
5: should be:
6: should be: with adding head files
7: adding
Thanks for the pointers. I can reproduce the issues with MSYS2 (based on Cygwin). I will try to find some time over the weekend to get the Android port back into a better state.
I went ahead and fixed the issues with the commit above. Please open a new ticket for any runtime related issues.
I tried to run ./GenerateProjectAndroid.sh, an error occurred: If I cut sinppet from example/CMakeLists.txt and paste to top CMakeLists.txt to It works.
Is this an error needing to be fixed or a better way to modify?