Problems when running "tutorial-apriltag-detector-live.exe" #1549
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
It is a problem with opencv configuration. From the printed configuration information, opencv is not installed. Version control: v3.6.0-2036-ge3dfc17d4 Platform: System information: C/C++: ViSP modules: Windows RT support: no Python 3: Java: Python3 bindings: no Build options: OpenCV: YARP: Mathematics: Simulator: Media I/O: Real robots: GUI: Cameras: RGB-D sensors: F/T sensors: Mocap: Detection: Misc: Optimization: DNN: Documentation: Tests and samples: Library dirs: Install path: D:/NUS/semester2/visp-ws/visp-build-vc17/install ========================================================== |
Beta Was this translation helpful? Give feedback.
-
|
I'm pretty sure that OpenCV is not detected by CMake because you didn't follow instructions Complete OpenCV installation that consists in setting |
Beta Was this translation helpful? Give feedback.







Open a new command shell terminal and check using
echo %OpenCV_DIR%thatOpenCV_DIRenv var is set toD:\NUS\semester2\visp-ws\3rdparty\opencv-4.8.0\buildThen close CMake GUI before opening it again, and try a new ViSP configuration. Does
USE_OPENCVappear?Note also that even if it is written in the tutorial that
OpenCV 4.8.0 win pack installer doesn't contain prebuild OpenCV libraries build with Visual Studio 17 2022, ViSP should be able to detect and build with OpenCV build with vc16.