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

error compile package on delphi12

Open Marijsoft opened this issue 1 year ago • 3 comments

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

Marijsoft avatar Jun 14 '24 15:06 Marijsoft

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'

Laex avatar Aug 12 '24 13:08 Laex

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.

HristoMarkow avatar Mar 02 '25 09:03 HristoMarkow

What error does it give?

Laex avatar Mar 02 '25 15:03 Laex