eclipse - Beginning OpenCV in Android -
i have knowledge in android , learn opencv,for have followed several tutorials , ended doing following steps.
1. download eclipse c/c++ developers 2. added android plugin 3. set path ndk 4. downloaded opencv library , samples 5. imported library , samples in eclipse 6. installed opencv manager in device
but, dismay,a cross appears in library folder , other sample folders shows foot-mark or build error, step missing out. please help. thx in advance.
right click on project -> properties->android
. add android library android project
add opencv library project. right click on project -> properties->android
add library
to convert project c/c++ project
right click on project -> new -> other -> c/c++ -> convert c/c++ project
if have converted project c/c++ project
ensure follows
right click on
project -> properties->c/c++ general -> paths , symbols -> includes -> gnu c , gnu c++ add path e:/android-ndk-r8d/platforms/android-14/arch-arm/usr/include
similar this
also add path c:\opencv-2.4.5-android-sdk\sdk\native\jni\include
above
Comments
Post a Comment