-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
Android, Build : Build dependencies using official tools and from source #720
Comments
I'll submit a pull request to fix these issues. I currently have the fix and successfully building HelloWorld. |
Here are the source repositories for the dependencies libxml2
libpng
libjpeg
|
Great. What's your opinion? |
I will commit changes and let you decide : I did not see significant On Feb 12, 2012, at 6:01 PM, minggo
|
FYI, changes are here : https://github.com/folecr/cocos2d-x/tree/externals I am tracking down a crash in libjpeg when running HelloLua. When I am satisfied that it is stable I will submit a pull request. |
Ok, thank you. |
BTW, where can I find the scripts/makefiles used to build the currently used binary libraries? I want to check the build flags used. Thanks. |
You can refer HelloWorld/android/build_native.sh. |
I have submitted a pull request.
Thanks - that only builds from prebuilt binaries. I wanted to check what the original flags and options were to generate the binaries. |
Cocos2D-X on Android depends on the following external BINARY libraries :
libxml2
libjpeg
libpng
... also due to the current build system it automatically incorporates
some Crystax libraries
libiconv
unneeded portions of libjpeg in the prebuilt binaries
This needs to be fixed.
Explanation
Currently external depenencies are built using Crystax's toolchain and distributed as prebuilt binaries.
Reasons :
The fix is now possible because Android NDK has
Suggested fix
The text was updated successfully, but these errors were encountered: