When i try to compile the source, the following errors appear:Flail13 wrote:I managed to get flaME to run in MonoDevelop, without noticing any serious problems. Perhaps the way I did it is not ideal, but it seems to work.
The code is here. Is this helpful to anyone?
Code: Select all
~/flaME - MonoDevelop/flaME/clsMap.vb (2398,174) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (176,147) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (191,147) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (238,144) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (285,144) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (332,144) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (347,141) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (362,141) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (377,141) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/clsTileset.vb (388,141) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/My Project/Application.Designer.vb (35,40) : Error VBNC30691: 'flaME.frmMain' is a type and cannot be used as an expression.
~/flaME - MonoDevelop/flaME/ctrlMapView.vb (2309,54) : Error VBNC30408: Method 'Sub ListSelect_Close()' does not have the same signature as delegate 'Delegate Sub ToolStripDropDownClosedEventHandler(sender As System.Object, e As System.Windows.Forms.ToolStripDropDownClosedEventArgs)'.
~/flaME - MonoDevelop/flaME/ctrlMapView.vb (3144,38) : Error VBNC99999: <no message written yet>
~/flaME - MonoDevelop/flaME/ctrlMapView.vb (3310,60) : Error VBNC30408: Method 'Sub RemoveUndoMessage()' does not have the same signature as delegate 'System.EventHandler'.
~/flaME - MonoDevelop/flaME/frmMain.vb (4702,138) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/frmMain.vb (4719,138) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
~/flaME - MonoDevelop/flaME/frmMain.vb (4749,191) : Error VBNC30311: Cannot convert from 'System.Byte[0...,0...,0...]' to 'System.IntPtr'.
Code: Select all
Unhandled Exception: System.InvalidOperationException: WinForms_SeeInnerException ---> System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename unknown>:0
at System.Drawing.Bitmap..ctor (System.String filename, Boolean useIcm) [0x00000] in <filename unknown>:0
at System.Drawing.Bitmap..ctor (System.String filename) [0x00000] in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor (string)
at flaME.frmMain..ctor () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at flaME.My.MyProject+MyForms.Create__Instance__[frmMain] (flaME.frmMain Instance) [0x00000] in <filename unknown>:0
at flaME.My.MyProject+MyForms.get_frmMain () [0x00000] in <filename unknown>:0
at flaME.My.MyApplication.OnCreateMainForm () [0x00000] in <filename unknown>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () [0x00000] in <filename unknown>:0
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String[] commandLine) [0x00000] in <filename unknown>:0
at flaME.My.MyApplication.Main (System.String[] Args) [0x00000] in <filename unknown>:0 Code: Select all
Mono JIT compiler version 2.10.1 (tarball Mon Mar 7 12:29:23 UTC 2011)
Copyright (C) 2002-2011 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: altstack
Notifications: epoll
Architecture: x86
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: Included Boehm (with typed GC and Parallel Mark)

