Open HuguesDug opened 2 years ago
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.
Directive CPU32 and CPU64 defined in {$i jedi.inc}
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.