Recently, I followed Plicatibu tutorials for Cocos2d-x development under Linux (I have Ubuntu 32 bit):
Part 1: Developing with cocos2d-x for android on Linux
Part 2: How to debug cocos2d-x and Java code using Eclipse
When I tried to build project, I got error:
**** Build of configuration Default for project HelloJni ****
ndk-build all
Cannot run program "ndk-build”: Unknown reason
Error: Program "ndk-build” is not found in PATH
PATH=[/usr/bin:/bin:/usr/sbin:/sbin]
**** Build Finished ****
Solution is:
Go to Window -> Preferences in MOTODEV. From there go to "C/C++ ->Environment" like on picture:
... Читать дальше »