![]() |
| Le forum de référence en programmation et développement. Articles, cours et tutoriels du débutant au chef de projet et DBA confirmé. | |||||||
|
|||||||
| Applications Questions sur l'utilisation d'applications, du shell, et des interfaces graphiques (KDE, Gnome, XFCE... ) |
![]() |
|
|
Outils de la discussion |
|
|
#1 (permalink) |
|
Invité de passage
![]() Date d'inscription: octobre 2008
Messages: 3
|
Bonjour à tous
Je suis sous débian et j'ai réussi a installer mono (mono-2.0.tar.bz2 ./configure --prefix=/usr/local make make install seulement ) Sauf que j'ai une erreur quand je veux lancé mon exe : Code :
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.ArgumentNullException: Could not open display (X-Server required. Check you DISPLAY environment variable) Parameter name: Display at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000] at System.Windows.Forms.XplatUIX11..ctor () [0x00000] at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000] at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner exception stack trace --- at System.Windows.Forms.Application.EnableVisualStyles () [0x00000] at . () [0x00000] Merci |
|
|
|
|
|
#3 (permalink) | |
|
Invité de passage
![]() Date d'inscription: octobre 2008
Messages: 3
|
Salut, merci de ta réponse !
Mais le problème c'est qu'il y à déjà deux serveurs graphique d'installer et de configuré ! Citation:
Et NX Server que j'utilise parfaitement ! Merci. |
|
|
|
|
|
|
#5 (permalink) |
|
Invité de passage
![]() Date d'inscription: octobre 2008
Messages: 3
|
Salut, je suis sous débian avec le mono par package linux.
xiu@sd13341:~/Desktop/Bot$ echo $DISPLAY unix:1001 Par contre j'ai un nouveau type d'erreur : Code :
xiu@sd13341:~/Desktop/Bot$ mono Misubot.exe type: 10 Not implemented Unhandled Exception: System.NotImplementedException: The requested feature is not implemented [GDI+ status: NotImplemented] at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] at System.Drawing.Image.LoadFromStream (System.IO.Stream stream, Boolean keepAlive) [0x00000] at System.Drawing.Icon.GetInternalBitmap () [0x00000] at System.Drawing.Icon.ToBitmap () [0x00000] at (wrapper remoting-invoke-with-check) System.Drawing.Icon:ToBitmap () at System.Windows.Forms.XplatUIX11.SetIcon (System.Windows.Forms.Hwnd hwnd, System.Drawing.Icon icon) [0x00000] at System.Windows.Forms.XplatUIX11.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x00000] at System.Windows.Forms.XplatUI.SetIcon (IntPtr handle, System.Drawing.Icon icon) [0x00000] at System.Windows.Forms.Form.CreateHandle () [0x00000] at System.Windows.Forms.Control.CreateControl () [0x00000] at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00000] at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x00000] at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool) at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] at . () [0x00000] |
|
|
|
|
![]() |
![]() |
||
Mono, erreur. XPlatUIX11 .?
|
||
| Outils de la discussion | |
|
|