[Mono-list] Error compiling GTK# Program

Paul Paximadis ppaximadis@websoft.co.za
Thu, 27 Mar 2003 21:21:42 +0200


This is a multi-part message in MIME format.

------=_NextPartTM-000-b8abb05b-f5e8-43e8-a535-34edfbc46dd0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2F496.195FE282"

------_=_NextPart_001_01C2F496.195FE282
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

When I try and compile the following program( attached ).

I get the following error=20

=20

C:\mono-0.23>mcs -r gtk-sharp basic_form.cs

basic_form.cs(36) error CS0246: Cannot find type `Size'

Compilation failed: 1 error(s), 0 warnings

=20

Thanks in advance

Paul


------_=_NextPart_001_01C2F496.195FE282
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>When I try and compile the following program( =
attached ).</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I get the following error </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>C:\mono-0.23&gt;mcs -r gtk-sharp =
basic_form.cs</span></font></p>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;font-weight:bold'>basic_form.cs(36) error CS0246: =
Cannot find
type `Size'</span></font></b></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Compilation failed: 1 error(s), 0 =
warnings</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Paul</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C2F496.195FE282--

------=_NextPartTM-000-b8abb05b-f5e8-43e8-a535-34edfbc46dd0--