During make process, I get an error in FastCVSample.cpp saying "fastcv/fasctcv.h : No such file or directory" when there is a folder fastcv in the Includes section with fastcv.h, fastcv.intl and stdint_.h files in it. In the file FastCVSampleRenderer.cpp has the same include to fastcv.h but it doesn't throw any problems.
I am using windows and cygwin to run the sample.
I have tried various options like adding the header file directly to the jni folder. The make process then works but then I get an error on ld.exe about -lfastcv is not found.
See "Developer Tips & Tricks section", or
copy <DEVELOPMENT_ROOT>\fastcv-android-xx-yy-zz\inc
to
<DEVELOPMENT_ROOT>\fastcv-android-xx-yy-zz\samples\fastcorner\jni\fastcv
We can't get it to work either. After adding ANDROID_NDK_ROOT as an env var, eclipse still complains that he can't find the GLES2, stdlib.h, android/log.h and time.h includes.
That was already done.
We got it to work. You have to closely follow the installation instructions, there are two copy operations mentioned that we initially overlooked:
where <Android API> is android-8, because the sample targeted to API 8. I doesn't work if you put it in android-9 or whatever you use.
The sample is indeed pretty fast, much better than our protoype with OpenCV.
But theres still one very weird thing: you never ever may open any of the *.cpp files in eclipse. As soon as you do, a lot of errors will show up and you can't compile the project anymore. You need to delete the file and copy the corresponding original file from the setup back in to the \jni\ folder (not via eclipse, but via Windows Explorer). After that, you can compile and start the project. This is reproducable on all our tested computers. Restarting eclipse works sometimes too.
Oh, and the app won't work on our Dell Streak 5, it crashes because somehow it doesn't like one of the camera parameters. It works fine on our LG v900 though.
Lennart_Brueggemann suggestion helped me.. I was facing the same problem of the .h file but once I included the necessary files in the ndk include and lib directory, the app successfully compiled for me.. thanks a lot