As part of my self teaching program I like to document my progress and failures as much as I can.
Among many other stuffs I’m learning cocos2d-x so I wrote a tutorial explaining how to set up cocos2d-x environment on Linux in order to develop for android and how to import it into Eclipse.
It’s based in my own experience and I hope it will be helpful to someone.
I dissapointed that in linux port cocos2d-x depends on fmod, which free only for non-commercial.
And why in repo placed samples, ogg files from fmod distrib? Looks that repository transform into junkyard of many unnessesary files.
Now both windows and linux versions really only for developing, but i think that cocos2d-x already very good not for only mobile platforms If in future powervr, fmod dependency would be removed then i believe we can make our community bigger and stronger.
Hey I’m having problems trying to apply your tutorial. I got to the point of building the hello world example, however I got this error:
mkdir: cannot create directory `/home/dany/local/sdk/cocos2d/HelloWorld/android/assets': No such file or directory ./build_native.sh: line 26: pushd: /home/dany/local/sdk/android-ndk: No such file or directory ./build_native.sh: line 27: ./ndk-build: No such file or directory ./build_native.sh: line 28: popd: directory stack empty
Can you help me please? Also a lot of the software you’re using is very old, weird for a 17 days old post. Well never mind I use latest JDK 7 installed via ubuntu sw center, latest android ndk and sdk according to your tutorial and latest cocos2d-x which also has little differences. So I’ve spent whole day installing Ubuntu and cocos2d-x and got here… not nice.
OK there is no folder like this there. I have even added the folder manually but no success. How do I check I have all the prerequisites installed right?