[Gtk-sharp-list] Newbie Question

Zak Zak <zakzak@gmail.com>
Sat, 5 Feb 2005 19:06:03 -0600


I installed gtksharp-1.9.1-win32-0.2.exe on my Visual Studio 2003
development box, created a new GTK# project, compiled it with no
customzations, and ran it.  Nice!  Then, I copied the EXE to my Linux
machine and tried to run it.  I get "Unhandled Exception:
System.DllNotFoundException: libgtk-win32-2.0-0.dll".

Is it not possible to compile a GTK# app on Windows, copy the EXE to
Linux, and run it there?  Or do I just need to include this
libgtk-win32-2.0-0.dll file with my application or something?

I'm guessing it's possible to use prj2make to move the project to
Linux, compile it under Mono there, and run it without the extra win32
DLL dependency...  But I'd really prefer to be able to just copy the
EXE over and be done with it!

Thanks!

-- 
-Zak