<opencv>).The following DLLs are required to work properly
<opencv>\build\x64\vc16\bin\ or from <delphi-opencv>\redist\opencv_delphi4100.zip
releasereleasedebugreleasedebugredist\opencv_delphi4100.zip**
releasedebugFor the library to work properly, you need
<delphi-opencv>\samples are compiled into <delphi-opencv>\bin)dll files to C:\Windows\System32\.[!WARNING] You may not have the Microsoft runtime libraries installed on your computer, which are required for OpenCV to work. Take advantage of the advice (source):
“The lack of these DLLs can be fixed by installing “Microsoft Visual C++ 2015 - 2022 Redistributable”. Probably the application that is showing this error depends on it installed. Download and install both the x86 and x64 versions”
[!IMPORTANT] You can check the availability of the required libraries (dll) for running projects using the CheckCVDep.exe utility (
<delphi-opencv>\cvCheckDep)
Add the Library path for the modules of the project in Delphi IDE:
Tools-Options -> Language-Delphi-Library-"Windows 64-bit"-Library path add path <delphi-opencv>\source\ and <delphi-opencv>\packages
OpenCVRootPath variable in the <delphi-opencv>\source\CVResource.pas module to the path to the unpacked OpenCV 4.10.0 library. This is only needed to run examples from samples.<delphi-opencv>\samples\Samples.groupproj