OpenCVSample - face-detection

463 views
Skip to first unread message

sanju

unread,
Sep 19, 2012, 8:38:37 AM9/19/12
to android...@googlegroups.com

 I'm beginner 
 I Unable to build path for OpenCVSample - face-detection whenever i goes to build path the error is occur 

E:\newworkspace\OpenCVSample-face-detection>D:\NitinGuptaAndroid\SanjayBarfa\and
roid-ndk-r8b\ndk-build.cmd
jni/Android.mk:8: ../../sdk/native/jni/OpenCV.mk: No such file or directory
make: *** No rule to make target `../../sdk/native/jni/OpenCV.mk'.  Stop.

i also set build target 3.1 where is mistake plz resolve it.

Andrey Pavlenko

unread,
Sep 19, 2012, 9:30:53 AM9/19/12
to android...@googlegroups.com
The OpenCV samples configured to use relative paths inside SDK package, so you shouldn't use 'copy project to workspace'  option when imported project into your workspace.
In your case you need to replace the relative path "../../sdk/native/jni/OpenCV.mk" in the Android.mk file with full absolute path to it.
Reply all
Reply to author
Forward
0 new messages