[dia: 67/105] #19: Windows: Add warning telling user to set PATH to point to libdia.dll.



commit e8062233655e39ffa0229e8d35fe1def7c4fb764
Author: Eduard Nicodei <eddnicodei gmail com>
Date:   Sun Jan 6 22:47:58 2019 +0000

    #19: Windows: Add warning telling user to set PATH to point to libdia.dll.

 tests/meson.build | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/tests/meson.build b/tests/meson.build
index 2ffc94de..35af3555 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -27,6 +27,11 @@ objs = executable(
     include_directories: [configuration_inc, libdia_inc],
 )
 
+# TODO: is there a FIXME for this?  Windows and its lack of LD_RUN_PATH?
+if host_machine.system() == 'windows'
+    warning('Because windows searches for .dlls in specific locations, i.e. PATH variable, it is *required* 
that you set PATH=MESON_BUILD_DIR/lib:$PATH *before* running any tests.  This ensures Windows can find 
libdia.dll.')
+endif
+
 tsvg = executable(
     'testsvg',
     'test-svg.c',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]