You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
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
The text was updated successfully, but these errors were encountered: