命令链接程序正常。
当我运行 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
而我的arm Linux的GUI是基于QT的。
我该怎么办?
构建 X11 库还是构建 GTK#?
我的想法现在还不清楚。你能给我一些指南和参考资料吗?
谢谢。