Android OpenCV - no .so files in /lib directories
I have spent days at this point compiling and re-compiling different versions o开发者_开发技巧f OpenCV to be used in Android apps.
I don't get any compiler errors, and I'm following all the steps in the tutorials.
But no .so files are getting generated and being placed in the /lib folder
Any ideas?
Do you work with eclipse? Which /lib folder do you mean?
- the android/android-opencv/libs folder or
- a specific folder from the included samples e.g. android/apps/CVCamera/libs folder?
Did you build OpenCV AND android-opencv AND the specific project without errors? You should check this first.
For a first shot I would suggest you to build a project from the included samples (e.g. the "CVCamera" project). In my folder structure it looked like this:
- $cd somepath/OpenCV-2.3.0/android/apps/CVCamera
- $sh project_create.sh
- $ant compile
If this does not work then follow the error messages or post them here. Perhaps I can help you.
Good luck, gartenabfall
精彩评论