Does anyone know how to fix this warning? I got the following messages when I compile the samples in fastcv.
C:\\Android\\android-ndk-r9b\\ndk-build.cmd" all
Android NDK: WARNING:jni/Android.mk:fastcvsample: 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
I followed the FastCV_Getting_Started_Guide but I cannot get the apk file.
My environment is Windows7 64bit.
Thank you.
You might forgot to copy lib/libfastcv.a to your ndk lib directory (e.g <Android-NDK-Root/platforms/<Android API>/arch-arm/usr/lib)
Hi, I did copy it to the relevant directory, like android-ndk-r9b\platforms\android-16\arch-arm\usr\lib. But the warning still occurs.
Does the waining say the library cannot be found and linked?
I have the same problem and I have this problem : "Invalid arguments ' Candidates are: void * memcpy(void *, const void *, ?) '"
Hi Scorpio_Day,
Is there any error besides the warning?
If the compilation seems okay, but you can't find APK, you might want to try to do below steps
1. Make sure your device connected to your PC and PC can detect your Android device (adb devices)
2. Right click at the project
3. Run as Android Application
Once you did this, the APK might be built under bin\.
Hi Jean.Bort,
You might want to try the suggestion at http://stackoverflow.com/questions/19534197/android-ndk-development-issu... for your problem.
Hi Scorpio_Day,
Is there any error besides the warning?
If the compilation seems okay, but you can't find APK, you might want to try to do below steps
1. Make sure your device connected to your PC and PC can detect your Android device (adb devices)
2. Right click at the project
3. Run as Android Application
Once you did this, the APK might be built under bin\.
Hi Jean.Bort,
You might want to try the suggestion at http://stackoverflow.com/questions/19534197/android-ndk-development-issu... for your problem.