[Mono-list] mono setup for windows => error

Jaak Simm jaaksimm@kes.ee
Sun, 31 Mar 2002 12:50:48 +0200


Tried out your guide. Downloaded and run the
http://www.superin.formativ.net/mono/mono-0.10-31-3-2002.exe on my
Windows XP box.
Everything was ok, except when compiling the hello.cs: (tried other
programs as well, same error popped up)

D:\temp>mcs hello.cs
syntax error, expecting end-of-file EOF ABSTRACT BOOL BYTE CHAR CLASS
CONST DECIMAL DELEGATE DOUBLE ENUM EVENT EXPLICIT EXTERN FLOAT IMPLICIT
INT INTERFACE INTERNAL LONG NAMESPACE NEW OBJECT OVERRIDE PRIVATE
PROTECTED PUBLIC READONLY SBYTESEALED SHORT STATIC STRING STRUCT UINT
ULONG UNSAFE USHORT VIRTUAL VOID VOLATILE CLOSE_BRACE OPEN_BRACKET
SEMICOLON TILDE IDENTIFIER
.\hello.cs (10,1), Token:259 detail:    : Parsing error
Mono.CSharp.yyParser.yyException
irrecoverable syntax errorMono.CSharp.yyParser.yyException#0: 0x0029a
throw
 in Mono.CSharp.CSharpParser::yyparse ([00E14444] )
#1: 0x0002f call       in Mono.CSharp.CSharpParser::parse ()
#2: 0x00042 callvirt   in Mono.CSharp.Driver::parse ([00DCF3E0] )
#3: 0x00059 call       in Mono.CSharp.Driver::ProcessFile ([00DCF3E0] )
#4: 0x00070 call       in Mono.CSharp.Driver::CompileFiles ([00DA7890]
[0] )
#5: 0x007b0 call       in Mono.CSharp.Driver::MainDriver ([00DA7808] )
#6: 0x00001 call       in Mono.CSharp.Driver::Main ([00DA7808] )

group : 0
error CS5001: Program .\hello.exe does not have an entry point defined
-------------------------------------
I have MS .NET sdk installed and working without any problems.

Regards,
Jaak

Guenther Roith wrote:

> I'll call them winmcs.exe and winmint.exe :-)
>
> I have written a 3-steps-quickstart-guide for using mono on windows
> http://www.superin.formativ.net/mono/getstart.htm