[MonoDevelop] Error compiling MONO with Glade

Erik Dasque edasque@ximian.com
Mon, 5 Apr 2004 10:41:54 -0400


Hmm,

that's kind of odd. There are a few things wrong in this tutorial but 
it mostly worked for me. What version of glade are you using ? I didn't 
have to put the full path. Does that work outside of MonoDevelop ?

Erik

On Apr 3, 2004, at 10:19 PM, Paulo Aboim Pinto wrote:

> (<unknown>:5027): libglade-WARNING **: Expected <glade-interface>.  Got
> <GTK-Int erface>.
> Hello
>
> I'm new using Mono, and i'm trying to create a form in GLADE and use in
> Mono.
>
> I've use the Mono Documentation, Part 6 - Chapter 18 - Glade# Example
> and  when i compile the source, i get the error.
>
>
>
> (<unknown>:5027): libglade-WARNING **: did not finish in PARSER_FINISH
> state
>
> (<unknown>:5027): libglade-CRITICAL **: file glade-xml.c: line 509
> (glade_xml_ge t_widget): assertion `self != NULL' failed
>
> (<unknown>:5027): libglade-CRITICAL **: file glade-xml.c: line 432
> (glade_xml_si gnal_autoconnect_full): assertion `self != NULL' failed
>
> Unhandled Exception: System.NullReferenceException: A null value was
> found where  an object instance was required
> in <0x0006f> GladeSamples.GladeTest:.ctor (string[])
> in <0x00024> GladeSamples.GladeTest:Main (string[])
>
>
> why is this ???? i have libglade0-0.17-9mdk installed.
>
> Another dought is when i use the call
> Glade.XML gxml = new Glade.XML
> ("/home/esqueleto/MonoDevelopProjects/GnomeProject/project1.glade",
> "window1", null);
> why i have to put all the PATH to .glade file ??? This  file is in the
> same directory of the Mono Project Source. Where i have to put this 
> file
> ???
> I have try to put in bin/Debug and the result is
> (<unknown>:5079): libglade-WARNING **: could not find glade file
> 'project1.glade'
>
> any one can help me ???
>
>
> There is any other better GUI Designer, where i can get good examples 
> to
> use this (or another) GUI Designer?????
>
> tkx in advance
>
> -- 
>
> Paulo Aboim Pinto
> Odivelas - Portugal