Open HR1959 opened 2 months ago
from readme.md
"Target platform 32-bit" is mandatory. Without it, it is impossible to install components in the Delphi IDE. Download Microsoft DLL libraries from [https://www.microsoft.com/en-us/download/details.aspx?id=48145] and install. Latest C API based version - [https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.13/opencv-2.4.13.6-vc14.exe/download] Work with the latest OpenCV version is in progress at [https://github.com/Laex/Delphi-OpenCV-Class], but it's slow - not my top priority project. Using GetIt. Because there were issues with Delphi licenses (see my country of residence). I'm currently working in FreePascal.
Dear Leantir,
Dear Leantir,
thank you for your support.
Meanwhile I have all dlls in place.
I found in the original OpenCV download a dll called “opencv_ffmpeg2413_64.dll”.
After changing this to “opencv_ffmpeg2413.dll” the test program CheckCVDep.exe finds it.
By the way, I found out that compiling CheckCVDep.dpr for 32 Bit platform finds the 32 Bit ddls and compiling it for 64 Bit platform finds the 64 Bit dlls.
So far so good. I was also able to run some of the sample programs successfully.
For my application I want to use the Canny edge detector.
I found it in “ocv.cls.imgproc.pas”.
There is a line
procedure Canny; external opencv_classes_lib name @.***';
When I compile the sample “prxCanny.dpr” for 32 Bit platform it works fine.
When I compile it for 64 Bit platform, I get an error saying that the procedure entry point @.*** cannot be found.
Do you know what to do to get it running also on 64 Bit platform?
Regards
Harald Redelberger
From: Laentir Valetov Sent: Friday, September 6, 2024 6:10 PM To: Laex/Delphi-OpenCV Cc: HR1959 ; Author Subject: Re: [Laex/Delphi-OpenCV] cannot install (Issue #168)
* from readme.md
(number) is the numbering of readme.md items
"Target platform 32-bit" is mandatory. Without it, it is impossible to install components in the Delphi IDE. Download Microsoft DLL libraries from [https://www.microsoft.com/en-us/download/details.aspx?id=48145] and install. Latest C API based version - [https://sourceforge.net/projects/opencvlibrary/files/opencv-win/2.4.13/opencv-2.4.13.6-vc14.exe/download] Work with the latest OpenCV version is in progress at [https://github.com/Laex/Delphi-OpenCV-Class], but it's slow - not my top priority project. Using GetIt. Because there were issues with Delphi licenses (see my country of residence). I'm currently working in FreePascal.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Dear Laentir,
I try to use your work, but I am not able to install it. I started with the DLLs. I copied all of them to C:\Windows\System32. Then I started CheckCVDep.exe. But it shows me lot of missing DLLs. Allready some Microsoft DLLs are not found! What am I doing wrong?
I also saw that your work supports OpenCV 2.4.13. The latest version I found on the OpenCV site is 4.10.0. But I also found the older version 2.4.13 and downloaded also this version and copied the DLLs into C:\Windows\System32. But they where not found by CheckCVDep.exe.
Beside my installation issues will you update your work to the latest OpnCV version? Will you put your work into GetIt? Then any installation issues should disapear.
Kind regards
Harald