Cannot import samples project

161 views
Skip to first unread message

Andrew Menkov

unread,
Oct 31, 2011, 1:29:51 PM10/31/11
to android...@googlegroups.com
I'm trying to install openCV and samples using this tutorial http://opencv.itseez.com/doc/tutorials/introduction/android_binary_package/android_binary_package.html.
I have problem with "Open OpenCV library and samples in Eclipse" step 3 "Import OpenCV and samples into workspace."
As we import Java-project, not Android-project Eclipse looks for .project file in folder, doesn't it? So when I choose my folder when openCV has been extracted - it finds nothing to import. How did you solve this problem?

Andrey Kamaev

unread,
Nov 1, 2011, 4:06:56 AM11/1/11
to android...@googlegroups.com
Hi,

It seems you are using recent SDK (revision 14 or 15). Unfortunately Google has significantly changed compilation process with revision 14 release. And now binary release of OpenCV 2.3.1 is not fully compatible with the latest SDK.
Probably it will be enough to rename all `default.properties` files inside the package to the `project.properties`. Or you can try to build OpenCV trunk yourself. The problem seems to be already fixed in trunk.

/Andrey
Reply all
Reply to author
Forward
0 new messages