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

error compile package on delphi12 #167

Open
Marijsoft opened this issue Jun 14, 2024 · 3 comments
Open

error compile package on delphi12 #167

Marijsoft opened this issue Jun 14, 2024 · 3 comments

Comments

@Marijsoft
Copy link

[dcc32 Error] ocv.core_c.pas(601): E2065 Unsatisfied forward or external declaration: 'cvGetSize'

@Laex
Copy link
Owner

Laex commented Aug 12, 2024

The OpenCV.inc file defines {$DEFINE DelphiOCVVersion_29}. If the OpenCV.inc file is not included in ocv.core_c.pas, then
[dcc32 Error] ocv.core_c.pas(601): E2065 Unsatisfied forward or external declaration: 'cvGetSize'

@HristoMarkow
Copy link

Just add paths in
Main menu -> Project -> Options
Delphi Compiler (left section)
Target (right part of the dialog window, I choose All Configurations)
Search path
D:\DELPHI\Delphi-OpenCV
D:\DELPHI\Delphi-OpenCV\packages
D:\DELPHI\Delphi-OpenCV\source
D:\DELPHI\Delphi-OpenCV\jedi
D:\DELPHI\Delphi-OpenCV\resource\facedetectxml
C:\program files (x86)\embarcadero\studio\23.0\source\ToolsAPI\

this will solve the compilation problem, but not the Installation of components.

@Laex
Copy link
Owner

Laex commented Mar 2, 2025

What error does it give?

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

3 participants