I am trying to compile OpenCV's sample Android projects, but am facing a difficulty. I get this error: Program "ndk-build.cmd" not found in PATH
The projects that use NDK C/C++ do not compile. All others compile successfully. I tried to fix the issue by editing the C/C++ Build Environment and the GNU C++ Includes. Both of these did not work. I don't think I'm doing this right. I am using Windows 7 for Android Development. An online forum suggested adding a path that includes ../android-ndk-r8/.. but this "android-ndk-r8" directory doesn't exist in OpenCV-2.4.2-android-sdk and I cannot find something thats equivalent.
I've been trying to fix this for a week but to no gain. Its really frustrating to not be able to get down to coding. Any help would be deeply appreciated.