Hi,
I have installed Mono on Linux AM335x EVM. Console application is running. But when I try to run a GUI HelloWorld, I get the following error.
root@am335x-evm:~/Hello# mono hello.exe
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNu llException: Could not open display (X-Server required. Check you DISPLAY enviro nment variable) Parameter name: Display at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000 ] in <filename unknown>:0 at System.Windows.Forms.XplatUIX11..ctor () [0x00000] in <filename unknown>:0
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] in <filename unkno wn>: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 <filena me unknown>:0 at hello.Program.Main () [0x00000] in <filename unknown>:0
Is there any way to direct graphical output to LCD?
Regards,