Laex / Delphi-OpenCV-Class

Experimental Delphi binding for OpenCV 4.XX
Apache License 2.0
87 stars 26 forks source link

Error during Sydney 10.4.1 compiling #12

Closed shineworld closed 2 years ago

shineworld commented 2 years ago

Hi Laex,

I've tried to build Delphi-OpenCV-Class with Syndey 10.4.1 following your README info. When I try to build the package I obtain this error message:

image

Laex commented 2 years ago

Try in the file "Delphi-OpenCV-Class\source\cpp.utils.pas" on line 114 to change TPtr = record remove the ":record" part

shineworld commented 2 years ago

Perfect now compile :)

Another error during design package compilation:

dibhdr := @buf;

to

dibhdr := pBITMAPINFOHEADER(@buf);

image

Laex commented 2 years ago

Yes, I corrected that too.