Oberon Community Platform Forum
August 16, 2017, 10:07:44 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Problem under mono on Linux Mint  (Read 4927 times)
adamss937
Newbie
*
Posts: 10


« 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!