[Mono-list] Gtk#+Mono = Windows Crazy? or Wrong Version

Leandro André Zis lezis@st.com.br
Tue, 07 Oct 2003 10:04:57 -0300


This is a multi-part message in MIME format.
--------------050808010606000905020708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

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  -  Mono-list@lists.ximian.com
>>>http://lists.ximian.com/mailman/listinfo/mono-list
>>>      
>>>
>>_______________________________________________
>>Mono-list maillist  -  Mono-list@lists.ximian.com
>>http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>    
>>
>
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list
>
>  
>

--------------050808010606000905020708
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body>
The requirements for Gtk# are the gtk runtime and .Net Framework(Mono
or Microsoft), but for Glade# you will also need libglade.<br>
<br>
Leandro Zis<br>
<br>
Pablo Fischer wrote:<br>
<blockquote type="cite"
 cite="mid1065482155.442.12.camel@laptop.fischer.com.mx">
  <pre wrap="">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&oacute;:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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:
    </pre>
    <blockquote type="cite">
      <pre wrap="">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---&gt;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  -  <a class="moz-txt-link-abbreviated" href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</a>
      </pre>
    </blockquote>
    <pre wrap="">_______________________________________________
Mono-list maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</a>

    </pre>
  </blockquote>
  <pre wrap=""><!---->
_______________________________________________
Mono-list maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:Mono-list@lists.ximian.com">Mono-list@lists.ximian.com</a>
<a class="moz-txt-link-freetext" href="http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.ximian.com/mailman/listinfo/mono-list</a>

  </pre>
</blockquote>
</body>
</html>

--------------050808010606000905020708--