[Gtk-sharp-list] Problem building gtk# on Windows
Daniel Morgan
danielmorgan@verizon.net
Sun, 11 Jan 2004 19:23:29 -0500
This is a multi-part message in MIME format.
------=_NextPart_000_0014_01C3D878.64FC3030
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
$ ./configure --prefix=my_mono_prefix
$ make -f makefile.win32
The gtk# build on windows is designed to use Microsoft's .NET to build the
managed parts
and use gcc to build the unmanaged glue.
-----Original Message-----
From: gtk-sharp-list-admin@lists.ximian.com
[mailto:gtk-sharp-list-admin@lists.ximian.com]On Behalf Of Giovanni Zito
Sent: Sunday, January 11, 2004 6:22 PM
To: gtk-sharp-list@lists.ximian.com
Subject: [Gtk-sharp-list] Problem building gtk# on Windows
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=generated --customdir=. --assembly-name=pango-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_0014_01C3D878.64FC3030
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.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D078511500-12012004><FONT face=3DArial color=3D#0000ff =
size=3D2>$=20
./configure --prefix=3Dmy_mono_prefix</FONT></SPAN></DIV>
<DIV><SPAN class=3D078511500-12012004><FONT face=3DArial color=3D#0000ff =
size=3D2>$ make=20
-f makefile.win32</FONT></SPAN></DIV>
<DIV><SPAN class=3D078511500-12012004><FONT face=3DArial color=3D#0000ff =
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D078511500-12012004><FONT face=3DArial color=3D#0000ff =
size=3D2>The=20
gtk# build on windows is designed to use Microsoft's .NET to build the =
managed=20
parts</FONT></SPAN></DIV>
<DIV><SPAN class=3D078511500-12012004><FONT face=3DArial color=3D#0000ff =
size=3D2>and=20
use gcc to build the unmanaged glue.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV class=3DOutlookMessageHeader dir=3Dltr align=3Dleft><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B>=20
gtk-sharp-list-admin@lists.ximian.com=20
[mailto:gtk-sharp-list-admin@lists.ximian.com]<B>On Behalf Of =
</B>Giovanni=20
Zito<BR><B>Sent:</B> Sunday, January 11, 2004 6:22 PM<BR><B>To:</B>=20
gtk-sharp-list@lists.ximian.com<BR><B>Subject:</B> [Gtk-sharp-list] =
Problem=20
building gtk# on Windows<BR><BR></FONT></DIV>
<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> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm started with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> $ ./configure</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>followed by:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2> $ make</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </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=20
team for more information.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </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> </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> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>What does it mean? How can I fix =
this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Also 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> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>G.Z.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT=20
color=3D#0000ff></FONT> </DIV></BLOCKQUOTE></FONT></BODY></HTML>
------=_NextPart_000_0014_01C3D878.64FC3030--