Ask Your Question
0

OpenCv Library won't import, does all steps twice.

asked 2013-08-16 18:36:52 -0600

vedtam gravatar image

Hi,

I am new to OpenCv, and trying follow the steps in the basic tutorial to set it up on OSx, using latest version of Eclipse.

Steps I have done:

  • Got latest Android SDK
  • Added Android SDK components, (Tools and Android 3.0 API)
  • Downloaded and set the path for ADT
  • Downloaded the Android NDK
  • set application native path to android-ndk-r8

But while importing the examples, I get errors starting from the first line (where importing opencv ) in the main activity file: "The import org.opencv.android cannot be resolved".

image description

Could someone please suggest, where am I wrong? Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-17 01:06:18 -0600

berak gravatar image

you (additionally) need to :

  • import the opencv library project into your workspace

  • add the opencv lib to your project

image description

edit flag offensive delete link more

Comments

1

Many thanks! As I have imported the "/opencv/sdk/java" into the workspace, the library was loaded successfully. Thanks!

vedtam gravatar imagevedtam ( 2013-08-17 02:58:51 -0600 )edit

Question Tools

Stats

Asked: 2013-08-16 18:36:52 -0600

Seen: 1,142 times

Last updated: Aug 17 '13