Delphi-OpenCV icon indicating copy to clipboard operation
Delphi-OpenCV copied to clipboard

May 8th 2022 - Does not compile - Delphi 10.4 - windows 32 target

Open HuguesDug opened this issue 3 years ago • 1 comments

Hello,

As I was facing some issues with cvcameracapture, I had the (bad) idea to upgrade the lib to the latest version.

Trying to compile on Delphi 10.4, target windows 32, it throw some errors.

1 - in the include file OpenCV.inc I had to delete the first line : {$i jedi.inc}

2 - in the unit ocv.core_c.pas, lines 2650 until 2700 Directive CPU32 and CPU64 are not recognized under delphi. I switched them to WIN32 and WIN64

Doing so, lib compiles again.

HuguesDug avatar May 08 '22 16:05 HuguesDug

Directive CPU32 and CPU64 defined in {$i jedi.inc}

Laex avatar Dec 15 '22 14:12 Laex