[Gtk-sharp-list] Compiling dynamic dll on windows

Cody Russell bratsche at gnome.org
Tue Jun 17 23:57:17 EDT 2008


On Wed, 2008-06-18 at 03:47 +0200, Andoni Morales Alastruey wrote:
> I would like to know how to compile GTK dynamic libraries for win32
> for creating C# bindings.
> On linux I compile the library for a Gtk widget I wrote on C, than I
> create the bindings with the gapi tools and all works fine. Instead,on
> windows, I compile the library, I use the bindings I created before

Okay, trying to understand what your problem is here.. it sounds like
you're binding your own C library?  Do you have any "glue" code that
sits between the managed code and the C library?  For example, Gtk# has
some additional C code and you obviously can't build the binding itself
on Linux and expect it to work on Windows.

So it sounds like you may want to build the binding on Windows and not
copy them over from Linux.  But I may be misunderstanding the problem.



More information about the Gtk-sharp-list mailing list