Bugzilla – Bug 315750
Mono 1.0.1 with Gtk# Runtime error
Last modified: 2015-03-01 23:51:31 UTC
---- Reported by ericho@eden.rutgers.edu 2004-08-11 16:15:18 MST ---- Please fill in this template when reporting a bug, unless you know what you are doing. Description of Problem: mono 1.0.1 with gtk# compilation is OK, but encountered runtime error. Don't know why it is still looking for 1.0 library. Steps to reproduce the problem: 1. mcs <program name> -pkg:gtk-sharp 2. mono 3. Actual Results: C:\csharp>path PATH=c:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32 \Wbem;c:\Free wares;c:\blast;c:\Program Files\mono-1.0.1\bin C:\csharp>mcs Main.cs -pkg:gtk-sharp Compilation succeeded C:\csharp>mono Main.exe Compat mode: the request from C:\PROGRA~1\MONO-1~1.1\lib\mono\gac\glib- sharp\1.0 .0.0__35e10195dab3c99f\glib-sharp.dll to load System was remapped (http://www.go -mono.com/remap.html) Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Cannot load module C:/mono/Mono-1.0/lib/pango/1.2.0/modules/pango-basic- win32.dl l: The specified module could not be found. Hello World! Hello World! Hello World! Expected Results: How often does this happen? Additional Information: My simple hello world gtk# source: using System; using Gtk; class MainClass { public static void Main (string[] args) { Application.Init(); Window w = new Window ("Gtk# Basics"); Button b = new Button ("Hit me"); // setup event handling: verbose to illustrate // the use of delegate. w.DeleteEvent += new DeleteEventHandler (Window_Delete); b.Clicked += new EventHandler (Button_Clicked); // initialize the GUI w.Add(b); w.SetDefaultSize(200, 100); w.ShowAll(); Application.Run(); } static void Window_Delete (object o, DeleteEventArgs args) { Application.Quit(); args.RetVal = true; } static void Button_Clicked (object o, EventArgs args) { System.Console.WriteLine("Hello World!"); } } ---- Additional Comments From duncan@ximian.com 2004-11-16 20:27:55 MST ---- Please try again with Paco's new installer. http://forge.novell.com/modules/xfcontent/downloads.php/monowin32/Mono%20Win32%20Combined%20Installer/v1.1.2.0/ Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>WinXP</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other".
Reassigning to Miguel for further handling...
Outdated.