Skip to content

Commit 6881e42

Browse files
committed
CheckCVDep.exe
Signed-off-by: Laentir Valetov <[email protected]>
1 parent 832ae71 commit 6881e42

8 files changed

+441
-12
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@
3232
*.exe
3333
*.dll
3434
!opencv_delphi*.dll
35+
!/cvCheckDep/CheckCVDep.exe
36+
*.dsv
3537
*.bpl
3638
*.bpi
3739
*.dcp

cvCheckDep/CheckCVDep.dpr

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
program CheckCVDep;
2+
3+
uses
4+
Vcl.Forms,
5+
uMainForm in 'uMainForm.pas' {MainForm};
6+
7+
{$R *.res}
8+
9+
begin
10+
Application.Initialize;
11+
Application.MainFormOnTaskbar := True;
12+
Application.CreateForm(TMainForm, MainForm);
13+
Application.Run;
14+
end.

cvCheckDep/CheckCVDep.dproj

+175
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup>
3+
<ProjectGuid>{BB5B841C-8D05-4961-AAC6-7D253D56CE05}</ProjectGuid>
4+
<MainSource>CheckCVDep.dpr</MainSource>
5+
<Base>True</Base>
6+
<Config Condition="'$(Config)'==''">Release</Config>
7+
<ProjectName Condition="'$(ProjectName)'==''">CheckCVDep</ProjectName>
8+
<TargetedPlatforms>2</TargetedPlatforms>
9+
<AppType>Application</AppType>
10+
<FrameworkType>VCL</FrameworkType>
11+
<ProjectVersion>20.2</ProjectVersion>
12+
<Platform Condition="'$(Platform)'==''">Win64</Platform>
13+
</PropertyGroup>
14+
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
15+
<Base>true</Base>
16+
</PropertyGroup>
17+
<PropertyGroup Condition="('$(Platform)'=='Android64' and '$(Base)'=='true') or '$(Base_Android64)'!=''">
18+
<Base_Android64>true</Base_Android64>
19+
<CfgParent>Base</CfgParent>
20+
<Base>true</Base>
21+
</PropertyGroup>
22+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Base)'=='true') or '$(Base_Win32)'!=''">
23+
<Base_Win32>true</Base_Win32>
24+
<CfgParent>Base</CfgParent>
25+
<Base>true</Base>
26+
</PropertyGroup>
27+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Base)'=='true') or '$(Base_Win64)'!=''">
28+
<Base_Win64>true</Base_Win64>
29+
<CfgParent>Base</CfgParent>
30+
<Base>true</Base>
31+
</PropertyGroup>
32+
<PropertyGroup Condition="'$(Config)'=='Release' or '$(Cfg_1)'!=''">
33+
<Cfg_1>true</Cfg_1>
34+
<CfgParent>Base</CfgParent>
35+
<Base>true</Base>
36+
</PropertyGroup>
37+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
38+
<Cfg_1_Win32>true</Cfg_1_Win32>
39+
<CfgParent>Cfg_1</CfgParent>
40+
<Cfg_1>true</Cfg_1>
41+
<Base>true</Base>
42+
</PropertyGroup>
43+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win64)'!=''">
44+
<Cfg_1_Win64>true</Cfg_1_Win64>
45+
<CfgParent>Cfg_1</CfgParent>
46+
<Cfg_1>true</Cfg_1>
47+
<Base>true</Base>
48+
</PropertyGroup>
49+
<PropertyGroup Condition="'$(Config)'=='Debug' or '$(Cfg_2)'!=''">
50+
<Cfg_2>true</Cfg_2>
51+
<CfgParent>Base</CfgParent>
52+
<Base>true</Base>
53+
</PropertyGroup>
54+
<PropertyGroup Condition="('$(Platform)'=='Android64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Android64)'!=''">
55+
<Cfg_2_Android64>true</Cfg_2_Android64>
56+
<CfgParent>Cfg_2</CfgParent>
57+
<Cfg_2>true</Cfg_2>
58+
<Base>true</Base>
59+
</PropertyGroup>
60+
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win32)'!=''">
61+
<Cfg_2_Win32>true</Cfg_2_Win32>
62+
<CfgParent>Cfg_2</CfgParent>
63+
<Cfg_2>true</Cfg_2>
64+
<Base>true</Base>
65+
</PropertyGroup>
66+
<PropertyGroup Condition="('$(Platform)'=='Win64' and '$(Cfg_2)'=='true') or '$(Cfg_2_Win64)'!=''">
67+
<Cfg_2_Win64>true</Cfg_2_Win64>
68+
<CfgParent>Cfg_2</CfgParent>
69+
<Cfg_2>true</Cfg_2>
70+
<Base>true</Base>
71+
</PropertyGroup>
72+
<PropertyGroup Condition="'$(Base)'!=''">
73+
<DCC_E>false</DCC_E>
74+
<DCC_F>false</DCC_F>
75+
<DCC_K>false</DCC_K>
76+
<DCC_N>false</DCC_N>
77+
<DCC_S>false</DCC_S>
78+
<DCC_ImageBase>00400000</DCC_ImageBase>
79+
<SanitizedProjectName>CheckCVDep</SanitizedProjectName>
80+
<DCC_Namespace>Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)</DCC_Namespace>
81+
<VerInfo_Locale>1049</VerInfo_Locale>
82+
<VerInfo_Keys>CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=;CFBundleName=</VerInfo_Keys>
83+
</PropertyGroup>
84+
<PropertyGroup Condition="'$(Base_Android64)'!=''">
85+
<Android_LauncherIcon192>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_192x192.png</Android_LauncherIcon192>
86+
<EnabledSysJars>activity-1.7.2.dex.jar;annotation-experimental-1.3.0.dex.jar;annotation-jvm-1.6.0.dex.jar;annotations-13.0.dex.jar;appcompat-1.2.0.dex.jar;appcompat-resources-1.2.0.dex.jar;billing-6.0.1.dex.jar;biometric-1.1.0.dex.jar;browser-1.4.0.dex.jar;cloud-messaging.dex.jar;collection-1.1.0.dex.jar;concurrent-futures-1.1.0.dex.jar;core-1.10.1.dex.jar;core-common-2.2.0.dex.jar;core-ktx-1.10.1.dex.jar;core-runtime-2.2.0.dex.jar;cursoradapter-1.0.0.dex.jar;customview-1.0.0.dex.jar;documentfile-1.0.0.dex.jar;drawerlayout-1.0.0.dex.jar;error_prone_annotations-2.9.0.dex.jar;exifinterface-1.3.6.dex.jar;firebase-annotations-16.2.0.dex.jar;firebase-common-20.3.1.dex.jar;firebase-components-17.1.0.dex.jar;firebase-datatransport-18.1.7.dex.jar;firebase-encoders-17.0.0.dex.jar;firebase-encoders-json-18.0.0.dex.jar;firebase-encoders-proto-16.0.0.dex.jar;firebase-iid-interop-17.1.0.dex.jar;firebase-installations-17.1.3.dex.jar;firebase-installations-interop-17.1.0.dex.jar;firebase-measurement-connector-19.0.0.dex.jar;firebase-messaging-23.1.2.dex.jar;fmx.dex.jar;fragment-1.2.5.dex.jar;google-play-licensing.dex.jar;interpolator-1.0.0.dex.jar;javax.inject-1.dex.jar;kotlin-stdlib-1.8.22.dex.jar;kotlin-stdlib-common-1.8.22.dex.jar;kotlin-stdlib-jdk7-1.8.22.dex.jar;kotlin-stdlib-jdk8-1.8.22.dex.jar;kotlinx-coroutines-android-1.6.4.dex.jar;kotlinx-coroutines-core-jvm-1.6.4.dex.jar;legacy-support-core-utils-1.0.0.dex.jar;lifecycle-common-2.6.1.dex.jar;lifecycle-livedata-2.6.1.dex.jar;lifecycle-livedata-core-2.6.1.dex.jar;lifecycle-runtime-2.6.1.dex.jar;lifecycle-service-2.6.1.dex.jar;lifecycle-viewmodel-2.6.1.dex.jar;lifecycle-viewmodel-savedstate-2.6.1.dex.jar;listenablefuture-1.0.dex.jar;loader-1.0.0.dex.jar;localbroadcastmanager-1.0.0.dex.jar;okio-jvm-3.4.0.dex.jar;play-services-ads-22.2.0.dex.jar;play-services-ads-base-22.2.0.dex.jar;play-services-ads-identifier-18.0.0.dex.jar;play-services-ads-lite-22.2.0.dex.jar;play-services-appset-16.0.1.dex.jar;play-services-base-18.1.0.dex.jar;play-services-basement-18.1.0.dex.jar;play-services-cloud-messaging-17.0.1.dex.jar;play-services-location-21.0.1.dex.jar;play-services-maps-18.1.0.dex.jar;play-services-measurement-base-20.1.2.dex.jar;play-services-measurement-sdk-api-20.1.2.dex.jar;play-services-stats-17.0.2.dex.jar;play-services-tasks-18.0.2.dex.jar;print-1.0.0.dex.jar;profileinstaller-1.3.0.dex.jar;room-common-2.2.5.dex.jar;room-runtime-2.2.5.dex.jar;savedstate-1.2.1.dex.jar;sqlite-2.1.0.dex.jar;sqlite-framework-2.1.0.dex.jar;startup-runtime-1.1.1.dex.jar;tracing-1.0.0.dex.jar;transport-api-3.0.0.dex.jar;transport-backend-cct-3.1.8.dex.jar;transport-runtime-3.1.8.dex.jar;user-messaging-platform-2.0.0.dex.jar;vectordrawable-1.1.0.dex.jar;vectordrawable-animated-1.1.0.dex.jar;versionedparcelable-1.1.1.dex.jar;viewpager-1.0.0.dex.jar;work-runtime-2.7.0.dex.jar</EnabledSysJars>
87+
</PropertyGroup>
88+
<PropertyGroup Condition="'$(Base_Win32)'!=''">
89+
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)</DCC_Namespace>
90+
<BT_BuildType>Debug</BT_BuildType>
91+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
92+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)</VerInfo_Keys>
93+
<VerInfo_Locale>1033</VerInfo_Locale>
94+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
95+
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
96+
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
97+
</PropertyGroup>
98+
<PropertyGroup Condition="'$(Base_Win64)'!=''">
99+
<UWP_DelphiLogo44>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png</UWP_DelphiLogo44>
100+
<UWP_DelphiLogo150>$(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png</UWP_DelphiLogo150>
101+
<DCC_Namespace>Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace)</DCC_Namespace>
102+
<BT_BuildType>Debug</BT_BuildType>
103+
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
104+
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=</VerInfo_Keys>
105+
<VerInfo_Locale>1033</VerInfo_Locale>
106+
<Manifest_File>$(BDS)\bin\default_app.manifest</Manifest_File>
107+
</PropertyGroup>
108+
<PropertyGroup Condition="'$(Cfg_1)'!=''">
109+
<DCC_Define>RELEASE;$(DCC_Define)</DCC_Define>
110+
<DCC_DebugInformation>0</DCC_DebugInformation>
111+
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
112+
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
113+
</PropertyGroup>
114+
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
115+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
116+
</PropertyGroup>
117+
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
118+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
119+
</PropertyGroup>
120+
<PropertyGroup Condition="'$(Cfg_2)'!=''">
121+
<DCC_Define>DEBUG;$(DCC_Define)</DCC_Define>
122+
<DCC_Optimize>false</DCC_Optimize>
123+
<DCC_GenerateStackFrames>true</DCC_GenerateStackFrames>
124+
<DCC_RangeChecking>true</DCC_RangeChecking>
125+
<DCC_IntegerOverflowCheck>true</DCC_IntegerOverflowCheck>
126+
</PropertyGroup>
127+
<PropertyGroup Condition="'$(Cfg_2_Android64)'!=''">
128+
<BT_BuildType>Debug</BT_BuildType>
129+
</PropertyGroup>
130+
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
131+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
132+
</PropertyGroup>
133+
<PropertyGroup Condition="'$(Cfg_2_Win64)'!=''">
134+
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
135+
</PropertyGroup>
136+
<ItemGroup>
137+
<DelphiCompile Include="$(MainSource)">
138+
<MainSource>MainSource</MainSource>
139+
</DelphiCompile>
140+
<DCCReference Include="uMainForm.pas">
141+
<Form>MainForm</Form>
142+
</DCCReference>
143+
<BuildConfiguration Include="Base">
144+
<Key>Base</Key>
145+
</BuildConfiguration>
146+
<BuildConfiguration Include="Release">
147+
<Key>Cfg_1</Key>
148+
<CfgParent>Base</CfgParent>
149+
</BuildConfiguration>
150+
<BuildConfiguration Include="Debug">
151+
<Key>Cfg_2</Key>
152+
<CfgParent>Base</CfgParent>
153+
</BuildConfiguration>
154+
</ItemGroup>
155+
<ProjectExtensions>
156+
<Borland.Personality>Delphi.Personality.12</Borland.Personality>
157+
<Borland.ProjectType/>
158+
<BorlandProject>
159+
<Delphi.Personality>
160+
<Source>
161+
<Source Name="MainSource">CheckCVDep.dpr</Source>
162+
</Source>
163+
</Delphi.Personality>
164+
<Platforms>
165+
<Platform value="Android64">False</Platform>
166+
<Platform value="Linux64">False</Platform>
167+
<Platform value="Win32">False</Platform>
168+
<Platform value="Win64">True</Platform>
169+
</Platforms>
170+
</BorlandProject>
171+
<ProjectFileVersion>12</ProjectFileVersion>
172+
</ProjectExtensions>
173+
<Import Project="$(BDS)\Bin\CodeGear.Delphi.Targets" Condition="Exists('$(BDS)\Bin\CodeGear.Delphi.Targets')"/>
174+
<Import Project="$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj" Condition="Exists('$(APPDATA)\Embarcadero\$(BDSAPPDATABASEDIR)\$(PRODUCTVERSION)\UserTools.proj')"/>
175+
</Project>

cvCheckDep/CheckCVDep.exe

3.63 MB
Binary file not shown.

cvCheckDep/CheckCVDep.res

2.43 KB
Binary file not shown.

cvCheckDep/uMainForm.dfm

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
object MainForm: TMainForm
2+
Left = 0
3+
Top = 0
4+
Caption = 'Verifying OpenCV dependencies'
5+
ClientHeight = 581
6+
ClientWidth = 486
7+
Color = clBtnFace
8+
Font.Charset = DEFAULT_CHARSET
9+
Font.Color = clWindowText
10+
Font.Height = -11
11+
Font.Name = 'Tahoma'
12+
Font.Style = []
13+
Position = poScreenCenter
14+
OnActivate = FormActivate
15+
DesignSize = (
16+
486
17+
581)
18+
TextHeight = 13
19+
object btn1: TButton
20+
Left = 8
21+
Top = 24
22+
Width = 189
23+
Height = 25
24+
Caption = 'Verifying OpenCV dependencies'
25+
TabOrder = 0
26+
OnClick = btn1Click
27+
end
28+
object pb1: TProgressBar
29+
Left = 8
30+
Top = 64
31+
Width = 470
32+
Height = 13
33+
Anchors = [akLeft, akTop, akRight]
34+
TabOrder = 1
35+
ExplicitWidth = 627
36+
end
37+
object redt1: TRichEdit
38+
Left = 0
39+
Top = 84
40+
Width = 486
41+
Height = 497
42+
Align = alBottom
43+
Anchors = [akLeft, akTop, akRight, akBottom]
44+
Font.Charset = RUSSIAN_CHARSET
45+
Font.Color = clWindowText
46+
Font.Height = -11
47+
Font.Name = 'Tahoma'
48+
Font.Style = []
49+
Lines.Strings = (
50+
'redt1')
51+
ParentFont = False
52+
ReadOnly = True
53+
ScrollBars = ssBoth
54+
TabOrder = 2
55+
ExplicitTop = 83
56+
ExplicitHeight = 487
57+
end
58+
end

0 commit comments

Comments
 (0)