Hello guys,
i am new to cocos2dx, i currently read lots of topic about how to use Cocos2d-x and i am very confused about it.
I am using window 7 and wanna to use cocos2dx in eclipse.
Which tutorial should i follow?
Hello guys,
i am new to cocos2dx, i currently read lots of topic about how to use Cocos2d-x and i am very confused about it.
I am using window 7 and wanna to use cocos2dx in eclipse.
Which tutorial should i follow?
Try Ray Wenderlich’s tutorial and do the android section of it. Its easy to follow and explains things well.
Lochlann Andrews wrote:
Try Ray Wenderlich’s tutorial and do the android section of it. Its easy to follow and explains things well.
>
Cocos2D-X Tutorial for iOS and Android: Getting Started | Kodeco
hi there, i follow the instruction, and when i got to title “Building the Project”,he ask me to run the ./build_native.sh, am i need to use cygwin to run it? i try with it, but when i run it
Using prebuilt externals
./build_native.sh: line 89: /c/Development/android-ndk-r8e/ndk-build: No such file or directory
it give me this, i dont know why, but there is a ndk-build in the ndk directory…
Your NDK_ROOT should look like:-
/cygdrive/C/Development/whatever
If you are building on windows you need to run through cygwin / bash.
When running from cygwin, all the folders start with cygdrive/DRIVELETTER
Ray does his android builds from OSX so does not need to use cygwin.
Add cygwin/bin
to your PATH variable.
Then on Eclipse add bash ${ProjDirPath}/build_native.sh
on the build command.