基于QT和MONO的ARM Linux上的C#Windows窗体程序

时间:2012-10-30 00:43:11

标签: c# winforms mono embedded-linux

命令链接程序正常。

运行Windows窗体程序时,错误消息显示:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.DllNotFoundException: libX11.so
at (wrapper managed-to-native) System.Windows.Forms.XplatUIX11:XInitThreads ()
at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUI..cctor () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] in <filename unknown>:0
at WindowsFormsApplication1.Program.Main () [0x00000] in <filename unknown>:0

我的手臂Linux的GUI基于QT。

我该怎么办?

构建X11库或构建GTK#?

我的想法现在还不清楚。你能给我一些指南和参考资料吗?

感谢。

0 个答案:

没有答案