How to compile OpenCV on Windows?

What do you suggest to import OpenCV to Android (Eclipse) 4.4.2 on Windows 7 errors?

  • Description Resource Path Location Type make.exe: * No rule to make target ../../sdk/native/jni/DetectionBasedTracker_jni.cpp', needed byobj/local/armeabi-v7a/objs/detection_based_tracker/DetectionBasedTracker_jni.o'. Stop. OpenCV Sample - face-detection C/C++ Problem Location Type make.exe: * No rule to make target ../../sdk/native/jni/jni_part.cpp', needed byobj/local/armeabi-v7a/objs/mixed_sample/jni_part.o'. Stop. OpenCV Tutorial 2 - Mixed Processing C/C++ Problem Location Type make.exe: * [libs/armeabi-v7a/gdbserver] Error 1 OpenCV Sample - native-activity C/C++ Problem

  • Answer:

    First of all, you need to follow this tutorial : http://web.stanford.edu/class/ee368/Android/Tutorial-2-OpenCV-for-Android-Setup-Windows-API11.pdf to setup everything. The issue you are having seems like a simple configuration issue. Follow the steps mentioned in the tutorial and it won't be a problem.

Lakshya Jain at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.