[SOLVED] Weird problem while trying to compile on eclipse


I just installed Fresh Win7, Visual Studio 2013, Android NDK SDK, cocos2d-x 3.0, jre7, phyton 2.75, cygwin with make, and added Enviromental Variables (but screwd up something with PATH variable as it seems… probably…)
While compiling on Visual Studio (win32) works perfectly fine, under Eclipse i get:

Program "" is not found in PATH

Yes, that’s right there is nothing between the brackets.
I wonder if i got my PATH variable right:

C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Java\jdk1.7.0_45\bin;C:\Program Files\Java\jre7\bin;C:\cygwin\bin;C:\Python25

Can somebody compare and/or paste theirs?
Or is it some other problem?

Thanks in Advance.


i don’t know how you config your eclipse,but if you want to compile with eclipse you must let it know NDK_ROOT and android_sdk/platform-tools and android_sdk/tools and Cygwin/bin.


NDK_ROOT are set both as variable and inside eclipse
I don’t know where to put cygwin’s path in Eclipse - i tought i only need to write it to sysem’s ‘PATH’.

Anyway i installed it on another computer and now i get other errors.
However I’m trying to install cygwin’s additional packages:


I will see if it will have any effect at all.


Done Some Googling and…

Changed Build Path had to be:

bash ${workspace_loc:/HelloCpp}/build_native.sh NDK_DEBUG=1 V=1

Changed whole cocos2d-x folder permissions to ‘Everyone’ with checked ‘Replace all child objects permissions (…)’

Connected my HTC One X and it works like a charm :slight_smile: