Visual C++ Redistributable for Visual Studio 2015
Files: msvcp140.dll, msvcp140d.dll in "Delphi-OpenCVredist" or here, but it is not exactly
or from the repository (Delphi-OpenCVredistVC14):
(1) 32-bit in the "x86"
(2) 64-bit in the "x64"
Shared library FFMPEG 4.2.1 for Windows can be downloaded from here
or from the repository (Delphi-OpenCVredistffmpeg):
- Directory, for example, "C:DelphiOpenCV"
- here are the executable files of the examples
- program for checking the environment
- empty directory for "Delphi-FFMPEG"
- packages for D10-D10.3
- redistributable packages
- media for working examples and Haar-cascades
- examples
- object pascal sources for OpenCV, SDL, OpenGL
- attempt for opencv 3
- blank for OpenCV 4
Run InitDelphiFFMPEG.cmd to initialize the Delphi-FFMPEG submodule. The directory should be populated with sources for Delphi-FFMPEG.
If it didn’t work, then
Add the search path for the modules of the project in Delphi IDE
"Tools-Options-Delphi Options-Library-Library path" or "Tools-Options-Language-Delphi-Library"
Alternatively, dynamic libraries can be placed next to an executable file.
3. Verify that the environment is configured correctly
Run from the repository
Delphi-OpenCV/CheckCVDep/CheckCVDep.exe
The program checks the availability of dynamic libraries
------- Verifying Microsoft DLL -------
OK
------- OpenCV DLL -------
OK
------- Delphi-OpenCV classes DLL -------
OK
------- FFMPEG DLL -------
OK
------- SDL DLL -------
OK
To successfully install components and run most of the examples, the availability of FFMPEG DLL, Microsoft DLL and OpenCV DLL is sufficient