Hi all,
I am trying to build the HelloWorld based on the instructions that is available in README so far, I have built Xwt:
⋊> ~/w/d/client on master ⨯ gfind -name 'Xwt.dll' | grep Release
./xwt/Xwt/bin/Release/Xwt.dll
./xwt/Xwt/obj/Release/Xwt.dll
./xwt/Xwt.Gtk/bin/Release/Xwt.dll
and I I have added a reference to the first file in that list (README reads "This is the only library that you need to reference at compile time"). However, I get the following exception:
System.TypeInitializationException: The type initializer for 'Xwt.GtkBackend.GtkWorkarounds' threw an exception. ---> System.DllNotFoundException: libgdk-win32-2.0-0.dll
at at (wrapper managed-to-native) Xwt.GtkBackend.GtkWorkarounds:gdk_quartz_set_fix_modifiers (bool)
at Xwt.GtkBackend.GtkWorkarounds..cctor () [0x000e0] in <b23bb4472cbd4245b28dc81a75944289>:0
--- End of inner exception stack trace ---
at Xwt.GtkBackend.GtkDesktopBackend.GetScreenVisibleBounds (System.Object backend) [0x00005] in <b23bb4472cbd4245b28dc81a75944289>:0
at Xwt.Screen.get_VisibleBounds () [0x00000] in /Users/behrooz/work/deskbit/client/xwt/Xwt/Xwt/Screen.cs:58
at Xwt.Window.AdjustSize () [0x001f7] in /Users/behrooz/work/deskbit/client/xwt/Xwt/Xwt/Window.cs:255
at Xwt.WindowFrame.Show () [0x00008] in /Users/behrooz/work/deskbit/client/xwt/Xwt/Xwt/WindowFrame.cs:316
at at (wrapper remoting-invoke-with-check) Xwt.WindowFrame:Show ()
at client.XwtDemo.Main () [0x0003a] in /Users/behrooz/work/deskbit/client/client/Main.cs:19
The source code:
Application.Initialize(ToolkitType.Gtk);
var mainWindow = new Window()
Title = "Xwt Demo Application",
mainWindow.Show(); // this is line 19
Any idea what could be the problem and how I can fix it?