diff options
Diffstat (limited to 'UVtools.WPF/App.axaml.cs')
-rw-r--r-- | UVtools.WPF/App.axaml.cs | 7 |
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 { |