AW: AW: [Mono-vb] Mbas doesn't compile

Jochen Wezel
Mon, 2 Feb 2004 16:04:19 +0100

Hi Anirban!

I've tested the same application in C# and mcs compiled successfully. =
That's why it's something mbas internal, I think.


-----Urspr=FCngliche Nachricht-----
Von: B Anirban []=20
Gesendet: Montag, 2. Februar 2004 14:52
An: Jochen Wezel
Betreff: Re: AW: [Mono-vb] Mbas doesn't compile

ICU is International Components for Unicode developed by IBM.
This takes care of different locales and culture.

>>> "Jochen Wezel" <> 02-Feb-04 5:55:15 PM >>>
Hi Anirban,

What is ICU? I've installed mono 0.29 and also got the today's mcs out =
of CVS and compiled the complete mcs sources.


-----Urspr=FCngliche Nachricht-----
Von: B Anirban []
Gesendet: Montag, 2. Februar 2004 12:42
An: Jochen Wezel;;
Betreff: Re: [Mono-vb] Mbas doesn't compile

Hi Jochen,
Have you got ICU installed in your machine?
If not install it and compile mbas.
Then try compiling your program. It should work.

>>> "Jochen Wezel" <> 02-Feb-04 5:03:24 PM >>>
Hi Rafael!

Maybe you already know that when compiling following lines with mbas, I =
get the attached error:
Public Module Test
Public Sub Main()
        System.Console.WriteLine ("Hello world!") End Sub End Module

The error:
[root@redhat mono-dev]# mbas test.vb
System.TypeInitializationException: An exception was thrown by the type =
initializer for Mono.MonoBASIC.Tokenizer --->
An invalid argument was specified.
in (unmanaged) /usr/local/lib/
in (unmanaged) /usr/local/lib/ [0x400a8b91] in <0x00084> =
in <0x00098> System.Globalization.CultureInfo:.ctor (string,bool) in =
<0x00028> Mono.MonoBASIC.Tokenizer:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) Mono.MonoBASIC.Tokenizer:.ctor
in <0x0041c> Mono.MonoBASIC.Parser:parse () in <0x0005d> =
Mono.Languages.GenericParser:ParseFile (string) in <0x0006f> =
Mono.Languages.GenericParser:Parse (string)

Compilation aborted
error BC5001: Program test.exe does not have an entry point defined =
Compilation failed: 1 Error(s), 0 warnings

By the way: what about the automatic Imports? Does it work?

Mono-vb mailing list