[Mono-osx] Winforms and LD_LIBRARY_PATH

palmipod palmipod at gmail.com
Mon Dec 11 23:39:36 EST 2006


Hi

are you sure, that with the last version of framework, i need gtk ant gtk#
to run winforms ?
i'm surprise because : i've not gtk nor gtk# installed on my iBook, but my
program is able to display almost all the messagebox (except the title bar)
?

Philippe


Sean C Chapel wrote:
> 
> gtk and gtk# are not part of the mono.framework you downloaded.
> You will need to compile these yourself. The easiest way is to
> download and install fink (fink.sourceforge.net). Then you will
> have install gtk and I believe they have a port for gtk# although
> it may not work. Your best bet is to not use gtk# and instead use
> cocoa# which comes with the mono.framework. I haven't used this
> however so I can't give any pointers on where to begin.
> 
> -Sean
> 
> 
> -----Original Message-----
> From: mono-osx-bounces at lists.ximian.com on behalf of palmipod
> Sent: Sat 12/9/2006 1:49 AM
> To: mono-osx at lists.ximian.com
> Subject: [Mono-osx] Winforms and LD_LIBRARY_PATH
>  
> 
> Hi,
> i've installed :
> mono 1.2.2.1
> X11 1.1.3
> 
> i can compile this very simple code :
> 
> using System;
> using System.Windows.Forms;
> 
> public class Hello{
> 	public static void Main()
> 	{
> 		MessageBox.Show("Hello World");
> 	}
> }
> 
> when i run it within xterm,
> i obtain a message box without "title bar" and an error message in the
> terminal :
> 
> "Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?), using
> built-in colorscheme"
> 
> if someone could help me please
> 
> bad news :
> - i'm newbee under unix and macosx
> - i'm french (sorry for my english)
> 
> have a nice day
> 
> Philippe
> 
> -- 
> View this message in context:
> http://www.nabble.com/Winforms-and-LD_LIBRARY_PATH-tf2784917.html#a7770373
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
> 

-- 
View this message in context: http://www.nabble.com/Winforms-and-LD_LIBRARY_PATH-tf2784917.html#a7827264
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list