Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to launch cygpath

I am new to openCV and I downloaded it to work with it in Eclipse Juno.

I have download version 2.4.6 and 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. I followed the steps on this documentation .

I tried to change the path on the build path part (C:\android-ndk\android-ndk-r9\ndk-build.cmd NDK_DEBUG=1)

[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.
like image 329
Sereen Shalby Avatar asked Oct 02 '22 13:10

Sereen Shalby


1 Answers

I don't think you need Cygwin when using NDK-R9. I think it was integrated in with R8 (or whatever they did to get around it). So you can ignore that error. I get that error as well, I'm looking how to get rid of it. But this error does not stop me from compiling. I've been ignoring it.

As far as the other two errors, they mention it needs an integer value. You need to put this element into your Manifest.xml file:

<uses-sdk
        android:minSdkVersion="10"
        android:targetSdkVersion="18" />

... Or use the API level range you plan to comply with

like image 131
Pimp Trizkit Avatar answered Oct 11 '22 13:10

Pimp Trizkit