Eclipse underline everything in native part of FastCV sample app
Join Date: 30 Sep 14
Posts: 5
Posted: Mon, 2014-12-29 15:14
I followed steps in Compiling and Running sample fastcv application. Everything is OK (app works on my device) until I select some cpp file under jni/apis or jni/util folder. Then eclipse cannot resolve neither a fastcv function, nor for example NULL variable (any piece of native code). When I rebuild application, console gives me this output:
Android NDK: WARNING:jni/apis/featureDetection/Android.mk:fastcvFeatDetect: non-system libraries in linker flags: -lfastcv
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
and others like this
I have copied libfastcv.a to NDK lib directory and created fastcv folder under NDK include directory, where I have put fastcv.h file