Ask Your Question
0

Where will I locate "android-opencv.mk"?

asked 2012-11-08 10:37:53 -0500

Karl gravatar image

I am new to OpenCV. I am trying to build OpenCV library through Cygwin. I followed the instructions on the image below but I can't locate the file android-opencv.mk in $OPCV/android/build. I need to edit the file to avoid errors in the future as what the image implies. image description

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-11-09 00:05:14 -0500

It looks like you use very old version of OpenCV or some other unofficial version. Use 2.4.3 from sourceforge. OpenCV.mk file for Android builds is already included in sdk.

edit flag offensive delete link more

Comments

Thanks for your reply Alexander. Yesterday, I tried to get the current OpenCV source code by cloning "git clone git://code.opencv.org/opencv.git" . I followed the instruction from http://code.opencv.org/projects/opencv/wiki/Working_with_OpenCV_git_repository , in replacement for the instruction here (Page 3, Downloading and installing OpenCV) http://www.stanford.edu/class/ee368/Android/Tutorial-2-OpenCV-for-Android-Setup-Windows.pdf . I stumbled across the instruction in the image above where I can't find the android-opencv.mk file.

Now, do I need to download the file from sourceforge, overwrite my current opencv files and execute these commands again?

cd $OPCV/android mkdir build cd build cmake ..

Sorry for the long reply.

Karl gravatar imageKarl ( 2012-11-09 05:20:34 -0500 )edit
0

answered 2012-11-12 05:24:36 -0500

Standford's tutorial is very-very old. Use the official tutorial instead.

edit flag offensive delete link more

Comments

I tried the new tutorial but it's also old. Can you help me install the new OpenCV4Android? Please. I'm desperate.

Karl gravatar imageKarl ( 2012-11-12 06:17:52 -0500 )edit

Here is the link for the OPENCV slides. Some links in the slides (slide 7 link for detailed instruction) gave 404 errors. Do you think it's UPDATED? https://docs.google.com/presentation/d/1EO_1kijgBg_BsjNp2ymk-aarg-0K279_1VZRcPplSuk/present#slide=id.g14d10b04_0_59

Karl gravatar imageKarl ( 2012-11-12 07:11:23 -0500 )edit

Please help me install OpenCV4Android on Eclipse.

Karl gravatar imageKarl ( 2012-11-12 07:26:21 -0500 )edit

Question Tools

Stats

Asked: 2012-11-08 10:37:53 -0500

Seen: 648 times

Last updated: Nov 12 '12