[Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
Hello!! I need to install Mono and Gtk# in 25 computers running Windows (Im going to develop an app for the university in Linux and run it in Windows). Im installing this packages in this order: * .NET FrameWork * Mono-.28 (I tried with .25 and I have the same error) * Gtk#-10, but the stable version (like 3.xx MB), it contains the GtkRuntime Now Im testing with a simple app created with glade-sharp, gtk-sharp, its a simple button that says: Bye World. But Everytime I try to run it it crashes, giving me this error: FAiled to load function gtksharp_glade_xml_get_filename from gtksharpglue (this error appers twice) Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application--->System.NullReferenceException: A null value was found where an object instance was required. I compiled this in my linux, running Mono .26 gnome, gtk, glib, gtk-sharp-glue with .8-1 Thanks! Pablo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
Pablo, Why are you installing the .NET frame work in addition to Mono if you are developing on Linux/Mono+GTK and deploying on Windows? I would recommend using Mono .28+GTK or newer on both systems. Using the same runtime on both operating systems will allow you to have greater confidence in the functionality of your software. My 2 Cents :) Nick Pavlica On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote: > Hello!! > > I need to install Mono and Gtk# in 25 computers running Windows (Im > going to develop an app for the university in Linux and run it in > Windows). > > Im installing this packages in this order: > > * .NET FrameWork > * Mono-.28 (I tried with .25 and I have the same error) > * Gtk#-10, but the stable version (like 3.xx MB), it contains the > GtkRuntime > > Now Im testing with a simple app created with glade-sharp, gtk-sharp, > its a simple button that says: Bye World. But Everytime I try to run it > it crashes, giving me this error: > > FAiled to load function gtksharp_glade_xml_get_filename from > gtksharpglue (this error appers twice) > > Unhandled Exception: System.TypeInitializationException: An exception > was thrown by the type initializer for > Gtk.Application--->System.NullReferenceException: A null value was found > where an object instance was required. > > I compiled this in my linux, running > > Mono .26 > gnome, gtk, glib, gtk-sharp-glue with .8-1 > > Thanks! > Pablo > > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
Why?.. I didnt know that I needed just Mono to run Gtk, cause in go-mono.com, one of the requirements for Gtk# are Gtk Runtime and .NET, but if It's not necesarry.. I'll remove it :). Ok, I'm a Debian user and a fan of apt-get.. so the last version for Debian (Alp's Repository) is the .26. I know that I can compile it and I really want to do that.. but damn.. I love apt-get :). So, If in the Windows (2k) I uninstall the .NET framework, change the Mono version from .28 to .25 (cause .26 doesnt works for me) and the Gtk# from .10 to .8 it will work?, Also, another question: If I have my .exe app, the windows users can download and use it with .NET (installing the gtk# in the .NET directory) but WITHOUT mono, does my app will work or needs of Mono? Thanks! Pablo El lun, 06-10-2003 a las 17:29, Pavlica, Nick escribió: > Pablo, > Why are you installing the .NET frame work in addition to Mono if you > are developing on Linux/Mono+GTK and deploying on Windows? I would > recommend using Mono .28+GTK or newer on both systems. Using the same > runtime on both operating systems will allow you to have greater > confidence in the functionality of your software. > > My 2 Cents :) > Nick Pavlica > > On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote: > > Hello!! > > > > I need to install Mono and Gtk# in 25 computers running Windows (Im > > going to develop an app for the university in Linux and run it in > > Windows). > > > > Im installing this packages in this order: > > > > * .NET FrameWork > > * Mono-.28 (I tried with .25 and I have the same error) > > * Gtk#-10, but the stable version (like 3.xx MB), it contains the > > GtkRuntime > > > > Now Im testing with a simple app created with glade-sharp, gtk-sharp, > > its a simple button that says: Bye World. But Everytime I try to run it > > it crashes, giving me this error: > > > > FAiled to load function gtksharp_glade_xml_get_filename from > > gtksharpglue (this error appers twice) > > > > Unhandled Exception: System.TypeInitializationException: An exception > > was thrown by the type initializer for > > Gtk.Application--->System.NullReferenceException: A null value was found > > where an object instance was required. > > > > I compiled this in my linux, running > > > > Mono .26 > > gnome, gtk, glib, gtk-sharp-glue with .8-1 > > > > Thanks! > > Pablo > > > > > > ___ > > Mono-list maillist - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/mono-list > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
It seems that the gtk-runtime doesn't install libglade with it. So the glade# will not work. Leandro André Zis Pablo Fischer wrote: Hello!! I need to install Mono and Gtk# in 25 computers running Windows (Im going to develop an app for the university in Linux and run it in Windows). Im installing this packages in this order: * .NET FrameWork * Mono-.28 (I tried with .25 and I have the same error) * Gtk#-10, but the stable version (like 3.xx MB), it contains the GtkRuntime Now Im testing with a simple app created with glade-sharp, gtk-sharp, its a simple button that says: Bye World. But Everytime I try to run it it crashes, giving me this error: FAiled to load function gtksharp_glade_xml_get_filename from gtksharpglue (this error appers twice) Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application--->System.NullReferenceException: A null value was found where an object instance was required. I compiled this in my linux, running Mono .26 gnome, gtk, glib, gtk-sharp-glue with .8-1 Thanks! Pablo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
The requirements for Gtk# are the gtk runtime and .Net Framework(Mono or Microsoft), but for Glade# you will also need libglade. Leandro Zis Pablo Fischer wrote: Why?.. I didnt know that I needed just Mono to run Gtk, cause in go-mono.com, one of the requirements for Gtk# are Gtk Runtime and .NET, but if It's not necesarry.. I'll remove it :). Ok, I'm a Debian user and a fan of apt-get.. so the last version for Debian (Alp's Repository) is the .26. I know that I can compile it and I really want to do that.. but damn.. I love apt-get :). So, If in the Windows (2k) I uninstall the .NET framework, change the Mono version from .28 to .25 (cause .26 doesnt works for me) and the Gtk# from .10 to .8 it will work?, Also, another question: If I have my .exe app, the windows users can download and use it with .NET (installing the gtk# in the .NET directory) but WITHOUT mono, does my app will work or needs of Mono? Thanks! Pablo El lun, 06-10-2003 a las 17:29, Pavlica, Nick escribió: Pablo, Why are you installing the .NET frame work in addition to Mono if you are developing on Linux/Mono+GTK and deploying on Windows? I would recommend using Mono .28+GTK or newer on both systems. Using the same runtime on both operating systems will allow you to have greater confidence in the functionality of your software. My 2 Cents :) Nick Pavlica On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote: Hello!! I need to install Mono and Gtk# in 25 computers running Windows (Im going to develop an app for the university in Linux and run it in Windows). Im installing this packages in this order: * .NET FrameWork * Mono-.28 (I tried with .25 and I have the same error) * Gtk#-10, but the stable version (like 3.xx MB), it contains the GtkRuntime Now Im testing with a simple app created with glade-sharp, gtk-sharp, its a simple button that says: Bye World. But Everytime I try to run it it crashes, giving me this error: FAiled to load function gtksharp_glade_xml_get_filename from gtksharpglue (this error appers twice) Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Gtk.Application--->System.NullReferenceException: A null value was found where an object instance was required. I compiled this in my linux, running Mono .26 gnome, gtk, glib, gtk-sharp-glue with .8-1 Thanks! Pablo ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version
On Mon, 2003-10-06 at 17:15, Pablo Fischer wrote: > Why?.. I didnt know that I needed just Mono to run Gtk, cause in > go-mono.com, one of the requirements for Gtk# are Gtk Runtime and .NET, > but if It's not necesarry.. I'll remove it :). > > Ok, I'm a Debian user and a fan of apt-get.. so the last version for > Debian (Alp's Repository) is the .26. I know that I can compile it and I > really want to do that.. but damn.. I love apt-get :). I haven't used apt-get yet, but it sounds awesome. Linux Magazine has an article on it there Oct. 03 edition. > > So, If in the Windows (2k) I uninstall the .NET framework, change the > Mono version from .28 to .25 (cause .26 doesnt works for me) and the > Gtk# from .10 to .8 it will work?, Because Mono and GTK# are growing so fast, it would be worth using the newest possible versions even if it requires manually compiling them until someone releases a package for your platform. This should help you focus more on fixing bugs in your software and discovering new bug in Mono rather than fighting bugs that are known and have been resolved. > > Also, another question: If I have my .exe app, the windows users can > download and use it with .NET (installing the gtk# in the .NET > directory) but WITHOUT mono, does my app will work or needs of Mono? > > Thanks! > Pablo > El lun, 06-10-2003 a las 17:29, Pavlica, Nick escribió: > > Pablo, > > Why are you installing the .NET frame work in addition to Mono if you > > are developing on Linux/Mono+GTK and deploying on Windows? I would > > recommend using Mono .28+GTK or newer on both systems. Using the same > > runtime on both operating systems will allow you to have greater > > confidence in the functionality of your software. > > > > My 2 Cents :) > > Nick Pavlica > > > > On Mon, 2003-10-06 at 15:03, Pablo Fischer wrote: > > > Hello!! > > > > > > I need to install Mono and Gtk# in 25 computers running Windows (Im > > > going to develop an app for the university in Linux and run it in > > > Windows). > > > > > > Im installing this packages in this order: > > > > > > * .NET FrameWork > > > * Mono-.28 (I tried with .25 and I have the same error) > > > * Gtk#-10, but the stable version (like 3.xx MB), it contains the > > > GtkRuntime > > > > > > Now Im testing with a simple app created with glade-sharp, gtk-sharp, > > > its a simple button that says: Bye World. But Everytime I try to run it > > > it crashes, giving me this error: > > > > > > FAiled to load function gtksharp_glade_xml_get_filename from > > > gtksharpglue (this error appers twice) > > > > > > Unhandled Exception: System.TypeInitializationException: An exception > > > was thrown by the type initializer for > > > Gtk.Application--->System.NullReferenceException: A null value was found > > > where an object instance was required. > > > > > > I compiled this in my linux, running > > > > > > Mono .26 > > > gnome, gtk, glib, gtk-sharp-glue with .8-1 > > > > > > Thanks! > > > Pablo > > > > > > > > > ___ > > > Mono-list maillist - [EMAIL PROTECTED] > > > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ > > Mono-list maillist - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list