[Gtk-sharp-list] Crossplatform gtk# app

Mathias Tausig mtausig at fsmat.at
Wed Apr 2 09:41:15 EDT 2008


> On Wed, Apr 2, 2008 at 6:27 AM, Mathias Tausig <mtausig at fsmat.at> wrote:
>> Hy!
>>
>>  I would like to develop a crossplatform (that is linux and windows)
>>  application which uses gtk# using mono. Is there some way of sparing
>> the
>>  windows users the hassle of installing the gtk# assemblies by somehow
>>  "statically linking" the neccesary assemblies into my application?
>
> Hi,
>
> If you just needed the GTK# assemblies, you could either bundle the
> dlls with your app, or if you really want, statically link them with
> the Mono link.
>
> Unfortunately it's not that simple, as you need GTK+ and various
> unmanaged glue libraries too. You could bundle these with your app
> too, but it would make more sense just to invoke the GTK# installer
> from your program's installer.

I just used the term "statical linking", since that's what I would do if
it where an ordinary C program, if bundling works too, that's fine with
me.
But since this is  going to be my first mono project, I have to ask some
more stupid questions:
What exactly do you mean by "bundling" Simply having the neccesary dll in
te same dir as the exe, or somehow linking it? If the latter, how can I
achieve that (commandline, monodevelop).

> Hopefully there will come a time when we can assume that GTK# is
> present on windows ;-)

While there's life, there's hope :-)

Thank you for your insight.

cheers
mathias

> --
> Michael Hutchinson
> http://mjhutchinson.com
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
>
>




More information about the Gtk-sharp-list mailing list