Oberon Community Platform Forum

Development => ETH Zonnon => Topic started by: adamss937 on February 14, 2013, 04:11:56 AM



Title: Problem under mono on Linux Mint
Post by: adamss937 on February 14, 2013, 04:11:56 AM
I'm trying to use Zonnon under mono on Linux Mint.  I have the program compiling, but when I try to run it, I get:

Unhandled Exception: System.TypeLoadException: Could not load type 'Zonnon.First' from assembly 'First, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Zonnon.First' from assembly 'First, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.

The program is trivial:

module First;
(*

 To compile (all on one line):

 zc.exe /ref:/usr/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll /entry:First First.znn

 then
   chmod +x First.exe
*)

  import System,
         System.Windows.Forms as Forms;

  var
    form             : Forms.Form;

begin
  form        := new Forms.Form();
  Forms.Application.Run( form );
end First.