Forums - Eclipse underline everything in native part of FastCV sample app

1 post / 0 new
Eclipse underline everything in native part of FastCV sample app
treter
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
 

 

  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.