-
Notifications
You must be signed in to change notification settings - Fork 297
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 libRocket for Android (on Windows/Linux) #283
Comments
At this time, the build process does not directly support Android. Doesn’t mean it won’t work, but I haven’t had any way to test it until fairly recently and haven’t tried it since then. I might be able to put some time into this over the weekend as my recent experimentation in Android dev work has pushed me towards revisiting this issue for libRocket. I know libRocket has been used on Android, but I can’t confirm if/what changes were required and if they were reintegrated into the main libRocket repo. That would have happened before I was involved in the project. In theory, CMake handles all the details for you but Android is not directly supported by CMake (Last I looked anyway). A quick google search points me at this as a start: http://stackoverflow.com/questions/19207721/build-android-ndk-project-with-cmake http://stackoverflow.com/questions/19207721/build-android-ndk-project-with-cmake Sorry to be less than helpful, just not something I’ve done. Someone else may have some input though. I’d be happy to merge a pull request that added android build support.
|
I created some NDK build scripts for Android.. see if they help you out Note: This works to create only one library, all sources together.. I'll have rewrite to separate the 3 libraries later. If you alter the paths in the script to match your file locations, an "ndk-build" command should get this compiled for you.
P.S. I can confirm that libRocket is still working very well on Android devices. |
First of all thank you both of you! Is it hard separate it into the three libraries? I use the libraries separately and I think that is a lot of work change the code inside the project instead the libraries. Besides I want to learn how to compile them so I don't have to find the library, just the source code. |
I've updated my build scripts to separate the libraries. link |
…ibRocket#283) This enables svg elements to be resized at will with the width and height attributes.
Hi guys!
I'm totally new in the Android world and I'm working with a Qt project. I'd like to port it to Android but I have some problems with the libraries. I don't understand well the compile process and since I don't use Android to compile my library for Android I don't understand what should I do.
What I want: libRocket.a, libRocketControls.a, libRocketDebugger.a for Android.
What I have: this github repository, Windows 7, Ubuntu 13.10.
Could someone give some step by step tutorial to compile libRocket for Android? Info about compile any libraries for Android or any info related will be appreciated.
Many thanks!
The text was updated successfully, but these errors were encountered: