mirror of
https://github.com/Laex/Delphi-OpenCV.git
synced 2024-11-15 07:45:53 +01:00
Fixed support Delphi 7, but the use of the project in Delphi 7 not working.
Signed-off-by: Mikhail Grigorev <sleuthhound@gmail.com>
This commit is contained in:
parent
767431f598
commit
cbf678e913
@ -34,10 +34,10 @@
|
||||
-N"."
|
||||
-LE"c:\program files (x86)\borland\delphi7\Projects\Bpl"
|
||||
-LN"."
|
||||
-U"..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml"
|
||||
-O"..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml"
|
||||
-I"..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml"
|
||||
-R"..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml"
|
||||
-U"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-O"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-I"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-R"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-DRELEASE
|
||||
-Z
|
||||
-w-UNSAFE_TYPE
|
||||
|
@ -94,7 +94,7 @@ OutputDir=
|
||||
UnitOutputDir=.
|
||||
PackageDLLOutputDir=
|
||||
PackageDCPOutputDir=.
|
||||
SearchPath=..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml
|
||||
SearchPath=..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils
|
||||
Packages=
|
||||
Conditionals=RELEASE
|
||||
DebugSourceDirs=
|
||||
@ -140,11 +140,8 @@ Item0=RELEASE
|
||||
Count=1
|
||||
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||
[HistoryLists\hlSearchPath]
|
||||
Count=4
|
||||
Item0=..\;..\..\;..\..\utils;..\..\..\resource\facedetectxml
|
||||
Item1=..\;..\..\;..\..\utils
|
||||
Item2=..\;..\..\
|
||||
Item3=..\;..\..\;..\..\include;..\..\include\calib3d;..\..\include\core;..\..\include\features2d;..\..\include\highgui;..\..\include\imgproc;..\..\include\legacy;..\..\include\ml;..\..\include\nonfree;..\..\include\objdetect;..\..\include\video
|
||||
Count=1
|
||||
Item0=.
|
||||
[HistoryLists\hlUnitOutputDirectory]
|
||||
Count=1
|
||||
Item0=.
|
||||
|
@ -36,7 +36,6 @@ contains
|
||||
ocv.comp.VideoWriter in '..\ocv.comp.VideoWriter.pas',
|
||||
ocv.comp.Types in '..\ocv.comp.Types.pas',
|
||||
ocv.comp.Source in '..\ocv.comp.Source.pas',
|
||||
ocv.comp.View in '..\ocv.comp.View.pas',
|
||||
ocv.comp.Proc in '..\ocv.comp.Proc.pas';
|
||||
|
||||
end.
|
||||
|
45
source/component/Delphi7/dclCommonOpenCV70.cfg
Normal file
45
source/component/Delphi7/dclCommonOpenCV70.cfg
Normal file
@ -0,0 +1,45 @@
|
||||
-$A8
|
||||
-$B-
|
||||
-$C+
|
||||
-$D-
|
||||
-$E-
|
||||
-$F-
|
||||
-$G+
|
||||
-$H+
|
||||
-$I+
|
||||
-$J-
|
||||
-$K-
|
||||
-$L-
|
||||
-$M-
|
||||
-$N+
|
||||
-$O+
|
||||
-$P+
|
||||
-$Q-
|
||||
-$R-
|
||||
-$S-
|
||||
-$T-
|
||||
-$U-
|
||||
-$V+
|
||||
-$W-
|
||||
-$X+
|
||||
-$Y-
|
||||
-$Z1
|
||||
-cg
|
||||
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||
-H+
|
||||
-W+
|
||||
-M
|
||||
-$M16384,1048576
|
||||
-K$00400000
|
||||
-N"."
|
||||
-LE"c:\program files (x86)\borland\delphi7\Projects\Bpl"
|
||||
-LN"."
|
||||
-U"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-O"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-I"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-R"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-DRELEASE
|
||||
-Z
|
||||
-w-UNSAFE_TYPE
|
||||
-w-UNSAFE_CODE
|
||||
-w-UNSAFE_CAST
|
150
source/component/Delphi7/dclCommonOpenCV70.dof
Normal file
150
source/component/Delphi7/dclCommonOpenCV70.dof
Normal file
@ -0,0 +1,150 @@
|
||||
[FileVersion]
|
||||
Version=7.0
|
||||
[Compiler]
|
||||
A=8
|
||||
B=0
|
||||
C=1
|
||||
D=0
|
||||
E=0
|
||||
F=0
|
||||
G=1
|
||||
H=1
|
||||
I=1
|
||||
J=0
|
||||
K=0
|
||||
L=0
|
||||
M=0
|
||||
N=1
|
||||
O=1
|
||||
P=1
|
||||
Q=0
|
||||
R=0
|
||||
S=0
|
||||
T=0
|
||||
U=0
|
||||
V=1
|
||||
W=0
|
||||
X=1
|
||||
Y=0
|
||||
Z=1
|
||||
ShowHints=1
|
||||
ShowWarnings=1
|
||||
UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||
NamespacePrefix=
|
||||
SymbolDeprecated=1
|
||||
SymbolLibrary=1
|
||||
SymbolPlatform=1
|
||||
UnitLibrary=1
|
||||
UnitPlatform=1
|
||||
UnitDeprecated=1
|
||||
HResultCompat=1
|
||||
HidingMember=1
|
||||
HiddenVirtual=1
|
||||
Garbage=1
|
||||
BoundsError=1
|
||||
ZeroNilCompat=1
|
||||
StringConstTruncated=1
|
||||
ForLoopVarVarPar=1
|
||||
TypedConstVarPar=1
|
||||
AsgToTypedConst=1
|
||||
CaseLabelRange=1
|
||||
ForVariable=1
|
||||
ConstructingAbstract=1
|
||||
ComparisonFalse=1
|
||||
ComparisonTrue=1
|
||||
ComparingSignedUnsigned=1
|
||||
CombiningSignedUnsigned=1
|
||||
UnsupportedConstruct=1
|
||||
FileOpen=1
|
||||
FileOpenUnitSrc=1
|
||||
BadGlobalSymbol=1
|
||||
DuplicateConstructorDestructor=1
|
||||
InvalidDirective=1
|
||||
PackageNoLink=1
|
||||
PackageThreadVar=1
|
||||
ImplicitImport=1
|
||||
HPPEMITIgnored=1
|
||||
NoRetVal=1
|
||||
UseBeforeDef=1
|
||||
ForLoopVarUndef=1
|
||||
UnitNameMismatch=1
|
||||
NoCFGFileFound=1
|
||||
MessageDirective=1
|
||||
ImplicitVariants=1
|
||||
UnicodeToLocale=1
|
||||
LocaleToUnicode=1
|
||||
ImagebaseMultiple=1
|
||||
SuspiciousTypecast=1
|
||||
PrivatePropAccessor=1
|
||||
UnsafeType=0
|
||||
UnsafeCode=0
|
||||
UnsafeCast=0
|
||||
[Linker]
|
||||
MapFile=0
|
||||
OutputObjs=0
|
||||
ConsoleApp=1
|
||||
DebugInfo=0
|
||||
RemoteSymbols=0
|
||||
MinStackSize=16384
|
||||
MaxStackSize=1048576
|
||||
ImageBase=4194304
|
||||
ExeDescription=OpenCV Component
|
||||
[Directories]
|
||||
OutputDir=
|
||||
UnitOutputDir=.
|
||||
PackageDLLOutputDir=
|
||||
PackageDCPOutputDir=.
|
||||
SearchPath=..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils
|
||||
Packages=
|
||||
Conditionals=RELEASE
|
||||
DebugSourceDirs=
|
||||
UsePackages=0
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=
|
||||
Launcher=
|
||||
UseLauncher=0
|
||||
DebugCWD=
|
||||
[Language]
|
||||
ActiveLang=
|
||||
ProjectLang=
|
||||
RootDir=
|
||||
[Version Info]
|
||||
IncludeVerInfo=1
|
||||
AutoIncBuild=0
|
||||
MajorVer=1
|
||||
MinorVer=0
|
||||
Release=0
|
||||
Build=0
|
||||
Debug=0
|
||||
PreRelease=0
|
||||
Special=0
|
||||
Private=0
|
||||
DLL=0
|
||||
Locale=1033
|
||||
CodePage=1252
|
||||
[Version Info Keys]
|
||||
CompanyName=
|
||||
FileDescription=OpenCV Component
|
||||
FileVersion=1.0.0.0
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=OpenCV Component
|
||||
ProductVersion=1.0.0.0
|
||||
[HistoryLists\hlConditionals]
|
||||
Count=1
|
||||
Item0=RELEASE
|
||||
[HistoryLists\hlUnitAliases]
|
||||
Count=1
|
||||
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||
[HistoryLists\hlSearchPath]
|
||||
Count=1
|
||||
Item0=.
|
||||
[HistoryLists\hlUnitOutputDirectory]
|
||||
Count=1
|
||||
Item0=.
|
||||
[HistoryLists\hlDCPOutput]
|
||||
Count=1
|
||||
Item0=.
|
41
source/component/Delphi7/dclCommonOpenCV70.dpk
Normal file
41
source/component/Delphi7/dclCommonOpenCV70.dpk
Normal file
@ -0,0 +1,41 @@
|
||||
package dclCommonOpenCV70;
|
||||
|
||||
{$R *.res}
|
||||
{$R '..\OpenCV.dcr'}
|
||||
{$IFDEF IMPLICITBUILDING This IFDEF should not be used by users}
|
||||
{$ALIGN 8}
|
||||
{$ASSERTIONS ON}
|
||||
{$BOOLEVAL OFF}
|
||||
{$DEBUGINFO OFF}
|
||||
{$EXTENDEDSYNTAX ON}
|
||||
{$IMPORTEDDATA ON}
|
||||
{$IOCHECKS ON}
|
||||
{$LOCALSYMBOLS ON}
|
||||
{$LONGSTRINGS ON}
|
||||
{$OPENSTRINGS ON}
|
||||
{$OPTIMIZATION OFF}
|
||||
{$OVERFLOWCHECKS OFF}
|
||||
{$RANGECHECKS OFF}
|
||||
{$REFERENCEINFO ON}
|
||||
{$SAFEDIVIDE OFF}
|
||||
{$STACKFRAMES ON}
|
||||
{$TYPEDADDRESS OFF}
|
||||
{$VARSTRINGCHECKS ON}
|
||||
{$WRITEABLECONST OFF}
|
||||
{$MINENUMSIZE 1}
|
||||
{$IMAGEBASE $400000}
|
||||
{$DEFINE DEBUG}
|
||||
{$ENDIF IMPLICITBUILDING}
|
||||
{$DESCRIPTION 'OpenCV Component'}
|
||||
{$DESIGNONLY}
|
||||
{$IMPLICITBUILD OFF}
|
||||
|
||||
requires
|
||||
OpenCV70,
|
||||
designide;
|
||||
|
||||
contains
|
||||
ocv.comp.IOProperties in '..\ocv.comp.IOProperties.pas',
|
||||
ocv.comp.Register in '..\ocv.comp.Register.pas';
|
||||
|
||||
end.
|
@ -34,10 +34,10 @@
|
||||
-N"."
|
||||
-LE"c:\program files (x86)\borland\delphi7\Projects\Bpl"
|
||||
-LN"."
|
||||
-U"..\;..\..\;..\..\utils"
|
||||
-O"..\;..\..\;..\..\utils"
|
||||
-I"..\;..\..\;..\..\utils"
|
||||
-R"..\;..\..\;..\..\utils"
|
||||
-U"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-O"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-I"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-R"..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils"
|
||||
-DRELEASE
|
||||
-Z
|
||||
-w-UNSAFE_TYPE
|
||||
|
@ -94,7 +94,7 @@ OutputDir=
|
||||
UnitOutputDir=.
|
||||
PackageDLLOutputDir=
|
||||
PackageDCPOutputDir=.
|
||||
SearchPath=..\;..\..\;..\..\utils
|
||||
SearchPath=..\..\..\resource\facedetectxml;..;..\..;..\..\ffmpeg;..\..\opengl;..\..\sdl;..\..\sdl2;..\..\utils
|
||||
Packages=
|
||||
Conditionals=RELEASE
|
||||
DebugSourceDirs=
|
||||
@ -140,9 +140,8 @@ Item0=RELEASE
|
||||
Count=1
|
||||
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||
[HistoryLists\hlSearchPath]
|
||||
Count=2
|
||||
Item0=..\;..\..\;..\..\utils
|
||||
Item1=..\;..\..\;..\..\include;..\..\include\calib3d;..\..\include\core;..\..\include\features2d;..\..\include\highgui;..\..\include\imgproc;..\..\include\legacy;..\..\include\ml;..\..\include\nonfree;..\..\include\objdetect;..\..\include\video
|
||||
Count=1
|
||||
Item0=.
|
||||
[HistoryLists\hlUnitOutputDirectory]
|
||||
Count=1
|
||||
Item0=.
|
||||
|
Loading…
Reference in New Issue
Block a user