[Gtk-sharp-list] Problem building gtk# on Windows

Giovanni Zito gzito@mbox.thunder.it
Mon, 12 Jan 2004 00:21:37 +0100


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C3D8A2.0AF473C0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I'm trying building gtk-sharp 0.15 from source tarball, on Windows using =
cygwing. I've build mono 0.29 from scratch using cygwin.
I want use gtk# with mono.

I'm started with:

  $ ./configure

followed by:

 $ make

When the makefile entered in pango folder, the following error message =
was generated:


$ mono ../generator/gapi_codegen.exe --generate pango-api.xml =
--outdir=3Dgenerated --customdir=3D. --assembly-name=3Dpango-sharp

no implementation for interface method =
GtkSharp.Generation.IGeneratable::Generate() in class =
GtkSharp.Generation.ObjectGen
METHOD .ctor(XmlElement,XmlElement)
METHOD .cctor()
METHOD GetDirectoryInfo(string,string)
METHOD Generate()
METHOD Generate(GenerationInfo)
METHOD GenCtors(GenerationInfo)
METHOD GetExpected(string)
METHOD NeedsMap(Hashtable)
METHOD Studlify(string)
METHOD GenerateMappers()
METHOD GenerateMapper(ObjectGen/DirectoryInfo,GenerationInfo)

This application has requested the Runtime to terminate it in an unusual =
way.
Please contact the application's support team for more information.



and a message box with an error appeared:

** ERROR **: file class.c: line 965 (mono_class_setup_vtable): should =
not be reached
aborting...


What does it mean? How can I fix this?

Also is it correct to use configure and make on Windows? Or should I use =
makefile.win32 to compile gtk# for use with mono?

Thanks in advance.


G.Z.


------=_NextPart_000_0008_01C3D8A2.0AF473C0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I'm trying building gtk-sharp 0.15 from =
source=20
tarball, on Windows using cygwing.</FONT><FONT face=3DArial size=3D2> =
I've build=20
mono 0.29 from scratch using cygwin.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I want use gtk# with mono.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm started with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp; $ ./configure</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>followed by:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;$ make</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When the makefile entered in pango =
folder, the=20
following error message was generated:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>$ mono ../generator/gapi_codegen.exe =
--generate=20
pango-api.xml --outdir=3Dgenerated --customdir=3D.=20
--assembly-name=3Dpango-sharp<BR></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>no implementation for interface method=20
GtkSharp.Generation.IGeneratable::Generate() in class=20
GtkSharp.Generation.ObjectGen<BR>METHOD =
.ctor(XmlElement,XmlElement)<BR>METHOD=20
.cctor()<BR>METHOD GetDirectoryInfo(string,string)<BR>METHOD=20
Generate()<BR>METHOD Generate(GenerationInfo)<BR>METHOD=20
GenCtors(GenerationInfo)<BR>METHOD GetExpected(string)<BR>METHOD=20
NeedsMap(Hashtable)<BR>METHOD Studlify(string)<BR>METHOD=20
GenerateMappers()<BR>METHOD=20
GenerateMapper(ObjectGen/DirectoryInfo,GenerationInfo)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>This application has requested the =
Runtime to=20
terminate it in an unusual way.<BR>Please contact the application's =
support team=20
for more information.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and a message box with an error=20
appeared:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>** ERROR **: file class.c: line 965=20
(mono_class_setup_vtable): should not be reached</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>aborting...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>What&nbsp;does it mean? How can I fix=20
this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Also&nbsp;is it correct to use =
configure and make=20
on Windows? Or should I use makefile.win32 to compile gtk# for use with=20
mono?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>G.Z.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT></BODY></HTML>

------=_NextPart_000_0008_01C3D8A2.0AF473C0--