Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UVtools.WPF/App.axaml.cs')
-rw-r--r--UVtools.WPF/App.axaml.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/UVtools.WPF/App.axaml.cs b/UVtools.WPF/App.axaml.cs
index 20c37ca..ba3231c 100644
--- a/UVtools.WPF/App.axaml.cs
+++ b/UVtools.WPF/App.axaml.cs
@@ -67,6 +67,13 @@ namespace UVtools.WPF
}
}*/
+ if (!CvInvoke.Init())
+ {
+ Console.WriteLine("UVtools can not init OpenCV library\n" +
+ "Please build or install this dependencies in order to run UVtools\n" +
+ "Check manual or page at 'Requirements' section for help");
+ }
+
MainWindow = new MainWindow();
try
{