[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]X11 winforms on os x
From: |
Ian Fung |
Subject: |
[DotGNU]X11 winforms on os x |
Date: |
Fri, 13 Jun 2003 21:45:59 -0400 |
I've been trying to get x11 winforms to work on os x. everything
compiled perfectly but trying to run it i encountered two problems.
1) xsharp.dll is not copied to my default lib directory along with the
other libs. so i just copied it myself. xsharp.dll exists in
pnetlib/Xsharp/
2) When i do "ilrun FormsHello.exe" in pnetlib/samples/ it gives me
this error. one reason why it may be like that is because on os x, the
library files are called dylib instead of .so. so i have
/usr/X11R6/lib/libX11.dylib.
Uncaught exception: Xsharp.XCannotConnectException: X/Windows library
is not present, or could not be
located on the library search path.
at Xsharp.Display.OpenInternal(String, Application) in
./Display.cs:194
at Xsharp.Display.Open(String, Application) in ./Display.cs:204
at Xsharp.Application..ctor(String, String[]) in
./Application.cs:252
at System.Drawing.Toolkit.DrawingToolkit..ctor() in
./DrawingToolkit.cs:42
at System.Reflection.ClrConstructor.Invoke(BindingFlags,
Binder, Object[], CultureInfo)
at System.Reflection.ConstructorInfo.Invoke(Object[]) in
./System/Reflection/ConstructorInfo.cs:61
at System.Drawing.Toolkit.ToolkitManager.CreateDefaultToolkit()
in ./Toolkit/ToolkitManager.cs:145
at System.Drawing.Toolkit.ToolkitManager.get_Toolkit() in
./Toolkit/ToolkitManager.cs:43
at
System.Windows.Forms.Form.CreateToolkitWindow(IToolkitWindow) in
./Form.cs:505
at System.Windows.Forms.Control.CreateHandle() in
./Control.cs:1373
at System.Windows.Forms.Control.CreateControlInner() in
./Control.cs:1313
at System.Windows.Forms.Control.CreateControl() in
./Control.cs:1308
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs) in
./Control.cs:3583
at
System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs) in
./ScrollableControl.cs:186
at System.Windows.Forms.Control.SetVisibleCore(Boolean) in
./Control.cs:2074
at System.Windows.Forms.Control.set_Visible(Boolean) in
./Control.cs:1159
at System.Windows.Forms.Control.Show() in ./Control.cs:2081
at
System.Windows.Forms.Application.RunMessageLoop(ApplicationContext) in
./Application.cs:331
at System.Windows.Forms.Application.Run(Form) in
./Application.cs:406
at FormsHello.Main(String[]) in ./FormsHello.cs:102
gopal told me to compile with "make LIBTOOL=libtool" but this happened
when i did that.
Uncaught exception: Xsharp.XCannotConnectException: X/Windows library
is not present, or could not be
located on the library search path.
at Xsharp.Display.OpenInternal(String, Application) in
./Display.cs:194
at Xsharp.Display.Open(String, Application) in ./Display.cs:204
at Xsharp.Application..ctor(String, String[]) in
./Application.cs:252
at System.Drawing.Toolkit.DrawingToolkit..ctor() in
./DrawingToolkit.cs:42
at System.Reflection.ClrConstructor.Invoke(BindingFlags,
Binder, Object[], CultureInfo)
at System.Reflection.ConstructorInfo.Invoke(Object[]) in
./System/Reflection/ConstructorInfo.cs:61
at System.Drawing.Toolkit.ToolkitManager.CreateDefaultToolkit()
in ./Toolkit/ToolkitManager.cs:145
at System.Drawing.Toolkit.ToolkitManager.get_Toolkit() in
./Toolkit/ToolkitManager.cs:43
at
System.Windows.Forms.Form.CreateToolkitWindow(IToolkitWindow) in
./Form.cs:505
at System.Windows.Forms.Control.CreateHandle() in
./Control.cs:1373
at System.Windows.Forms.Control.CreateControlInner() in
./Control.cs:1313
at System.Windows.Forms.Control.CreateControl() in
./Control.cs:1308
at System.Windows.Forms.Control.OnVisibleChanged(EventArgs) in
./Control.cs:3583
at
System.Windows.Forms.ScrollableControl.OnVisibleChanged(EventArgs) in
./ScrollableControl.cs:186
at System.Windows.Forms.Control.SetVisibleCore(Boolean) in
./Control.cs:2074
at System.Windows.Forms.Control.set_Visible(Boolean) in
./Control.cs:1159
at System.Windows.Forms.Control.Show() in ./Control.cs:2081
at
System.Windows.Forms.Application.RunMessageLoop(ApplicationContext) in
./Application.cs:331
at System.Windows.Forms.Application.Run(Form) in
./Application.cs:406
at FormsHello.Main(String[]) in ./FormsHello.cs:102
- [DotGNU]X11 winforms on os x,
Ian Fung <=