-
Notifications
You must be signed in to change notification settings - Fork 234
Open
Description
Some compiler switch variables could not be found. For example, DELPHIXE6_UP,DELPHIXE7_UP..
I modified Opencv.inc to make the compilation work.
I added the following code in Opencv.inc
`
{$IF CompilerVersion >= 14}{ Delphi 6.x }
{$DEFINE DELPHI6_UP}
{$IFEND}
{$IF CompilerVersion >= 23}
{$DEFINE DELPHIXE2_UP}
{$IFEND}
{$IF CompilerVersion >= 26}
{$DEFINE DELPHIXE5_UP}
{$IFEND}
{$IF CompilerVersion >= 27}
{$DEFINE DELPHIXE6_UP}
{$IFEND}
{$IF CompilerVersion >= 28}
//ocv.comp.ViewFMX {$DEFINE DELPHI28_UP} => {$DEFINE DELPHIXE7_UP}
{$DEFINE DELPHIXE7_UP}
{$IFEND}
{$DEFINE DelphiOCVVersion_29}
{$DEFINE HAS_UNITSCOPE}
`
Then, import the unit that reported the error into Opencv.inc
Metadata
Metadata
Assignees
Labels
No labels