-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to include opencv in visp build #1354
Comments
https://visp-doc.inria.fr/doxygen/visp-daily/tutorial-create-android-sdk.html . i follow the link for install visp android sdk the build was succesfull but there is no opencv how to add it |
Never done. Did you first build OpenCV android sdk and then during ViSP configuration set OpenCV_DIR cmake var to its location ? |
To resolve an issue, I made adjustments in both the build_sdk.py and CMakelist.txt files. In the build_sdk.py file, I incorporated additional CMake parameters within the build_library function. These parameters were essential for configuring the build process properly. The added parameters include:
These parameters ensure that the correct OpenCV directory is referenced and that OpenCV is properly utilized in the build process. Furthermore, I made adjustments to the logic in the CMakelist.txt file to ensure proper handling of OpenCV support for Android.
Hopefully, these modifications prove beneficial to others facing similar challenges. |
hi, i want to integrate visp with opencv for advanced task for Android studio. so i installed opencv and visp using this tutrial: https://visp-doc.inria.fr/doxygen/visp-daily/tutorial-install-win11-msvc17.html#install_win11_msvc17_advanced .
But, when i run sdk build using the command
python3 [build_sdk.py](http://build_sdk.py/) --config [ndk-23.config.py](http://ndk-23.config.py/) --sdk_path c:\Users\TD02\AppData\Local\Android\Sdk --ndk_path C:\Users\TD02\AppData\Local\Android\Sdk\ndk-bundle c:\Users\TD02\visp-ws\visp-build-android-sdk c:\Users\TD02\visp-ws\visp --debug
visp unable to find opencv .
visp build without opencv setup.
Can you anyone guide me to include opencv in visp.
Below is my log file:
sdkbuild.log
The text was updated successfully, but these errors were encountered: