Mathias Tausig escribió:
Hi:
On Wed, Apr 2, 2008 at 6:27 AM, Mathias Tausig <[EMAIL PROTECTED]>
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).

I am working with ruby-gnome for windows, and i do this. I believe you
only need copy all mono files and create a bat file to exec your software.


Just tried it, doesn't work. After he found all the correct assembly-dll's
he complains about not finding the libgtk-win32.dll.

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.

Apple support GTK for mac os in a native way.
cheers



Well, but Apple is just stolen Linux ...

cheers
Mathias

mathias


Regards.







_______________________________________________
Gtk-sharp-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list

Reply via email to