Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
HuguesDug opened this issue May 8, 2022 · 1 comment
Open

Comments

@HuguesDug
Copy link

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 HuguesDug changed the title March 8th 2022 - Does not compile - Delphi 10.4 - windows 32 target May 8th 2022 - Does not compile - Delphi 10.4 - windows 32 target May 8, 2022
@Laex
Copy link
Owner

Laex commented Dec 15, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants