Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to launch cygpath

iam new on openCV and i have download version 2.4.6 and i am working on eclipse JUNO i have download NDK version R9 and i am working on windows platform and still can't run the tutorials of openCV because of the following errors : [2013-10-29 18:06:56 - Unable to launch cygpath. Is Cygwin on the path?] java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified [2013-10-29 18:07:12 - ManagerActivity] Manifest attribute 'minSdkVersion' is set to '@ANDROID_NATIVE_API_LEVEL@'. Integer is expected. [2013-10-29 18:07:13 - package] Manifest attribute 'minSdkVersion' is set to '@ANDROID_SDK_VERSION@'. Integer is expected.

also when i try to run it i see the following lines on the console : 18:22:19 * Auto Build of configuration Default for project Tutorial3Activity * "C:\android-ndk\android-ndk-r9\ndk-build.cmd" NDK_DEBUG=1 Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk
C:/android-ndk/android-ndk-r9/build/core/add-application.mk:176: * Android NDK: Aborting... . Stop.

18:22:20 Build Finished (took 132ms)

also i tried to write this line on the build path : C:\android-ndk\android-ndk-r9\ndk-build.cmd NDK_DEBUG=1

but still it doesn't work !!

and i followed all of the steps on this documentation: http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html#android-dev-intro

click to hide/show revision 2
retagged

updated 2013-10-29 11:38:02 -0600

berak gravatar image

Unable to launch cygpath

iam new on openCV and i have download version 2.4.6 and i am working on eclipse JUNO i have download NDK version R9 and i am working on windows platform and still can't run the tutorials of openCV because of the following errors : [2013-10-29 18:06:56 - Unable to launch cygpath. Is Cygwin on the path?] java.io.IOException: Cannot run program "cygpath": CreateProcess error=2, The system cannot find the file specified [2013-10-29 18:07:12 - ManagerActivity] Manifest attribute 'minSdkVersion' is set to '@ANDROID_NATIVE_API_LEVEL@'. Integer is expected. [2013-10-29 18:07:13 - package] Manifest attribute 'minSdkVersion' is set to '@ANDROID_SDK_VERSION@'. Integer is expected.

also when i try to run it i see the following lines on the console : 18:22:19 * Auto Build of configuration Default for project Tutorial3Activity * "C:\android-ndk\android-ndk-r9\ndk-build.cmd" NDK_DEBUG=1 Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: ./jni/Android.mk
C:/android-ndk/android-ndk-r9/build/core/add-application.mk:176: * Android NDK: Aborting... . Stop.

18:22:20 Build Finished (took 132ms)

also i tried to write this line on the build path : C:\android-ndk\android-ndk-r9\ndk-build.cmd NDK_DEBUG=1

but still it doesn't work !!

and i followed all of the steps on this documentation: http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/android_dev_intro.html#android-dev-intro