Compiling FlaME under mono

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Compiling FlaME under mono

Post by Iluvalar »

Code: Select all

~/flaME$ mono flaME.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.
After downloading it and creating the "1.0" that apparently didn't existe here ...

Code: Select all

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v1.1.4322
**
ERROR:domain.c:1442:mono_init_internal: assertion failed: (mono_defaults.monotype_class != 0)

** (flaME.exe:17329): WARNING **: Thread (nil) may have been prematurely finalized
Stacktrace:
... (repeat 3x)
[segfault]
Heretic 2.3 improver and proud of it.
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

NoQ wrote:
macuser wrote:Has the one posted in the regular flaME forum (the one for mono) been compiled with mono or with VB.net?
I have no idea :oops: By the way, Flail13 is there any progress to make an actually-cross-platform flaME source code, or you still maintain two versions? By the way, does the mono binary run well in windows? :roll:
I believe it has been compiled with mono. The mono exe will run on Windows well, but from the mono command prompt only. I still maintain two versions since MonoDevelop has no form designer for Windows forms, and because parts of the code that will only compile in Microsoft .NET are faster.

edit: When I move or copy the exe, it starts being able to be run on Windows. Could this modification be causing the problem?
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Iluvalar wrote:

Code: Select all

~/flaME$ mono flaME.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.
After downloading it and creating the "1.0" that apparently didn't existe here ...
What version of mono you actually have? I don't have any such file either. :roll:
Flail13 wrote:The mono exe will run on Windows well, but from the mono command prompt only. I still maintain two versions since MonoDevelop has no form designer for Windows forms, and because parts of the code that will only compile in Microsoft .NET are faster.
You could still use something like C++ #ifdef to make the code branchy? Should be easier (?) Just curious :roll:
When I move or copy the exe, it starts being able to be run on Windows. Could this modification be causing the problem?
o.O what? From where to where do you move it?
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

NoQ wrote:o.O what? From where to where do you move it?
It happened after I moved it to the desktop, or copied the debug\ folder, or zipped and then extracted it. Strangely I can't get it to happen now. Anyway, I don't think it is the problem.
NoQ wrote:You could still use something like C++ #ifdef to make the code branchy? Should be easier (?) Just curious
There is #if. I'll give it a try.

I put the links to it back up again, after I took them down yesterday. It's difficult for me to know if there is something wrong with it when I can't test it on the right OS's.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Flail13 wrote:It's difficult for me to know if there is something wrong with it when I can't test it on the right OS's.
That's a good reason to always keep the source open. No good reason to try pulling this off alone ... However great you are, but you're no Microsoft, you know :wink:
User avatar
Iluvalar
Regular
Regular
Posts: 1828
Joined: 02 Oct 2010, 18:44

Re: Compiling FlaME under mono

Post by Iluvalar »

NoQ wrote:
Iluvalar wrote:

Code: Select all

~/flaME$ mono flaME.exe
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `/usr/lib/mono/1.0/mscorlib.dll' directory.
After downloading it and creating the "1.0" that apparently didn't existe here ...
That was a good question :) thx.

So now i have the 2.6.7 version. That seem the latest I can get on lucid (ubuntu 10.04).

Now flaME start and warn me that all the previous change will be lost at start. but when I click "ok..."

Code: Select all

~/flaME$ mono --runtime=v2.0.50727 flaME.exe
X11 Error encountered: 
  Error: BadMatch (invalid parameter attributes)
  Request:     128 (5)
  Resource ID: 0x780005B
  Serial:      1628
  Hwnd:        Hwnd, Mapped:False ClientWindow:0x780005B, WholeWindow:0x780005A, Zombie=False, Parent:[<null>]
  Control:     OpenTK.GLControl   at System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
   at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr )
   at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context)
   at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window)
   at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window)
   at OpenTK.GLControl.MakeCurrent()
   at OpenTK.GLControl.OnHandleCreated(System.EventArgs e)
   at System.Windows.Forms.Control.WmCreate(Message ByRef m)
   at System.Windows.Forms.Control.WndProc(Message ByRef m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message ByRef m)
   at System.Windows.Forms.ContainerControl.WndProc(Message ByRef m)
   at System.Windows.Forms.UserControl.WndProc(Message ByRef m)
   at System.Windows.Forms.Control+ControlWindowTarget.OnMessage(Message ByRef m)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(Message ByRef m)
   at System.Windows.Forms.NativeWindow.WndProc(IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.XplatUIX11.SendMessage(IntPtr hwnd, Msg message, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.XplatUIX11.CreateWindow(System.Windows.Forms.CreateParams cp)
   at System.Windows.Forms.XplatUI.CreateWindow(System.Windows.Forms.CreateParams cp)
   at System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp)
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Control.CreateControl()
   at OpenTK.GLControl.ValidateState()
   at OpenTK.GLControl.MakeCurrent()
   at flaME.ctrlMapView.GLInitialize()
   at flaME.ctrlMapView..ctor()
   at flaME.frmMain.Initialize(System.Object sender, System.EventArgs e)
   at System.Windows.Forms.Timer.OnTick(System.EventArgs e)
   at System.Windows.Forms.Timer.FireTick()
   at System.Windows.Forms.XplatUIX11.CheckTimers(System.Collections.ArrayList timers, DateTime now)
   at System.Windows.Forms.XplatUIX11.UpdateMessageQueue(System.Windows.Forms.XEventQueue queue)
   at System.Windows.Forms.XplatUIX11.GetMessage(System.Object queue_id, MSG ByRef msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.XplatUI.GetMessage(System.Object queue_id, MSG ByRef msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[] commandLine)
   at flaME.My.MyApplication.Main(System.String[] Args)

OpenTK.Graphics.GraphicsContextException: Failed to make context current.
  at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0 
  at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0 
  at OpenTK.GLControl.MakeCurrent () [0x00000] in <filename unknown>:0 
  at OpenTK.GLControl.OnHandleCreated (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 
X11 Error encountered: 
  Error: BadMatch (invalid parameter attributes)
  Request:     128 (5)
  Resource ID: 0x780005B
  Serial:      3849
  Hwnd:        Hwnd, Mapped:True ClientWindow:0x780005B, WholeWindow:0x780005A, Zombie=False, Parent:[<null>]
  Control:     OpenTK.GLControl   at System.Environment.get_StackTrace()
   at System.Windows.Forms.XplatUIX11.HandleError(IntPtr display, XErrorEvent ByRef error_event)
   at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr , IntPtr , IntPtr )
   at OpenTK.Platform.X11.Glx.MakeCurrent(IntPtr display, IntPtr drawable, ContextHandle context)
   at OpenTK.Platform.X11.X11GLContext.MakeCurrent(IWindowInfo window)
   at OpenTK.Graphics.GraphicsContext.MakeCurrent(IWindowInfo window)
   at OpenTK.GLControl.MakeCurrent()
   at flaME.ctrlMapView.GLInitialize()
   at flaME.ctrlMapView..ctor()
   at flaME.frmMain.Initialize(System.Object sender, System.EventArgs e)
   at System.Windows.Forms.Timer.OnTick(System.EventArgs e)
   at System.Windows.Forms.Timer.FireTick()
   at System.Windows.Forms.XplatUIX11.CheckTimers(System.Collections.ArrayList timers, DateTime now)
   at System.Windows.Forms.XplatUIX11.UpdateMessageQueue(System.Windows.Forms.XEventQueue queue)
   at System.Windows.Forms.XplatUIX11.GetMessage(System.Object queue_id, MSG ByRef msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.XplatUI.GetMessage(System.Object queue_id, MSG ByRef msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax)
   at System.Windows.Forms.Application.RunLoop(Boolean Modal, System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext context)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.Form mainForm)
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[] commandLine)
   at flaME.My.MyApplication.Main(System.String[] Args)


Unhandled Exception: OpenTK.Graphics.GraphicsContextException: Failed to make context current.
  at OpenTK.Platform.X11.X11GLContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0 
  at OpenTK.Graphics.GraphicsContext.MakeCurrent (IWindowInfo window) [0x00000] in <filename unknown>:0 
  at OpenTK.GLControl.MakeCurrent () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) OpenTK.GLControl:MakeCurrent ()
  at flaME.ctrlMapView.GLInitialize () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) flaME.ctrlMapView:GLInitialize ()
  at flaME.ctrlMapView..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) flaME.ctrlMapView:.ctor ()
  at flaME.frmMain.Initialize (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Timer.OnTick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Timer.FireTick () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer:FireTick ()
  at System.Windows.Forms.XplatUIX11.CheckTimers (System.Collections.ArrayList timers, DateTime now) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue queue) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [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 
~/flaME$ 
Heretic 2.3 improver and proud of it.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

So now i have the 2.6.7 version. That seem the latest I can get on lucid (ubuntu 10.04).
Not good. I have 2.10.1 in my Arch. We should either make Flail13 find an earlier version or make you compile a newer version from source (or find a suitable ppa)



By the way, flaME can fail to work with poor graphics drivers. Here's a crash i'm getting on my netbook with The wicked poulsbo chipset:

Code: Select all

Stacktrace:

  at (wrapper managed-to-native) OpenTK.Platform.X11.Glx.SwapBuffers (intptr,intptr) <0xffffffff>
  at OpenTK.Platform.X11.X11GLContext.SwapBuffers () <0x0009b>
  at OpenTK.Graphics.GraphicsContext.SwapBuffers () <0x00019>
  at OpenTK.GLControl.SwapBuffers () <0x00030>
  at (wrapper remoting-invoke-with-check) OpenTK.GLControl.SwapBuffers () <0xffffffff>
  at flaME.ctrlMapView.Viewport_Resize () <0x000a9>
  at (wrapper remoting-invoke-with-check) flaME.ctrlMapView.Viewport_Resize () <0xffffffff>
  at flaME.ctrlMapView.OpenGL_Size_Calc () <0x0008f>
  at (wrapper remoting-invoke-with-check) flaME.ctrlMapView.OpenGL_Size_Calc () <0xffffffff>
  at flaME.ctrlMapView..ctor () <0x01637>
  at (wrapper remoting-invoke-with-check) flaME.ctrlMapView..ctor () <0xffffffff>
  at flaME.frmMain.Initialize (object,System.EventArgs) <0x00a1d>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x00023>
  at System.Windows.Forms.Timer.FireTick () <0x00018>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUIX11.CheckTimers (System.Collections.ArrayList,System.DateTime) <0x00293>
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue,bool) <0x004c9>
  at System.Windows.Forms.XplatUIX11.UpdateMessageQueue (System.Windows.Forms.XEventQueue) <0x00017>
  at System.Windows.Forms.XplatUIX11.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x0033f>
  at System.Windows.Forms.XplatUI.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x00026>
  at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00b37>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0004d>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00039>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () <0x0005d>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (string[]) <0x00013>
  at flaME.My.MyApplication.Main (string[]) <0x00027>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono() [0x80ddeb0]
        [0xb774b40c]
        /lib/libc.so.6(abort+0x17e) [0xb75bc64e]
        /lib/libc.so.6(__assert_fail+0xf8) [0xb75b37f8]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x27201) [0xb4640201]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x26f1c) [0xb463ff1c]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x519e0) [0xb466a9e0]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x49319) [0xb4662319]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x47813) [0xb4660813]
        /usr/lib/xorg/modules/dri/psb_dri.so(+0x217b0) [0xb463a7b0]
        /usr/lib/libGL.so.1(+0x3cce8) [0xb492bce8]
        /usr/lib/libGL.so.1(glXSwapBuffers+0x77) [0xb49089e7]
        [0xb25e2242]
        [0xb25e2144]
        [0xb25e207a]
        [0xb25e2059]
        [0xb25e1ff8]
        [0xb25e1eea]
        [0xb25e1e10]
        [0xb25e1da0]
        [0xb25e1ce0]
        [0xb4edb6b8]
        [0xb4eda058]
        [0xb500fa1e]
        [0xb4eed32c]
        [0xb4eed301]
        [0xb4eed2b8]
        [0xb4eece1c]
        [0xb4eeb0f2]
        [0xb4eeac10]
        [0xb4ee7cc0]
        [0xb4ee7977]
        [0xb50439f0]
        [0xb5042e66]
        [0xb5042dfa]
        [0xb66ef676]
        [0xb66ef60c]
        [0xb66e8db0]
        [0xb66e8e55]
        mono() [0x8061e48]
        mono(mono_runtime_invoke+0x3e) [0x818311e]
        mono(mono_runtime_exec_main+0xd8) [0x8185d78]
        mono(mono_main+0x17cf) [0x80b848f]
        mono() [0x8056eee]
        /lib/libc.so.6(__libc_start_main+0xe6) [0xb75a6db6]
        mono() [0x8056d41]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

NoQ wrote:That's a good reason to always keep the source open. No good reason to try pulling this off alone ... However great you are, but you're no Microsoft, you know :wink:
I'm not a big fan of Microsoft anyway :P
I've made a single Windows/Mono code, using #if. I can either send you the code here or make a github (or other) account.

2.6.7 seems to not allow overloading. After I fixed all of that there were more errors that crashed MonoDevelop.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Compiling FlaME under mono

Post by NoQ »

Flail13 wrote:I'm not a big fan of Microsoft anyway :P
See? Even they can't do it XD
Flail13 wrote:make a github (or other) account
If you ever want to learn that, now is a good chance (i want to learn too ...). :3
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

I'll take a look at it and see what I can do. :|
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

Thanks macuser... any progress?
User avatar
Flail13
Code contributor
Code contributor
Posts: 263
Joined: 16 May 2008, 12:00

Re: Compiling FlaME under mono

Post by Flail13 »

To try something else, this is another flaME for Mono. It works through 2.6.7 on my Windows system, when none of the other EXEs did.
flaME test.zip
There's no tilesets or objects with it, so if it's going to work it should display a couple of error messages about that and then display the red tiles. Post the result, whatever happens.
You do not have the required permissions to view the files attached to this post.
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

Hmm, still getting the same error with this one too.

Code: Select all

wrong maximal instruction length of instruction break (expected 4, got 20)
* Assertion: should not be reached at mini-ppc.c:4655

Stacktrace:

  at (wrapper remoting-invoke-with-check) flaME.ctrlPlayerNum.set_SelectedPlayerNum (int) <0xffffffff>
  at flaME.frmMain.Initialize (object,System.EventArgs) <0x003c4>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x00040>
  at System.Windows.Forms.Timer.FireTick () <0x0002c>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUICarbon.CheckTimers (System.DateTime) <0x002a4>
  at System.Windows.Forms.XplatUICarbon.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x0009c>
  at System.Windows.Forms.XplatUICarbon.WaitForHwndMessage (System.Windows.Forms.Hwnd,System.Windows.Forms.Msg) <0x00088>
  at System.Windows.Forms.XplatUICarbon.CreateWindow (System.Windows.Forms.CreateParams) <0x010cc>
  at System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams) <0x00030>
  at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams) <0x00050>
  at System.Windows.Forms.Control.CreateHandle () <0x000a8>
  at System.Windows.Forms.Form.CreateHandle () <0x00054>
  at System.Windows.Forms.Control.CreateControl () <0x000a0>
  at System.Windows.Forms.Control.SetVisibleCore (bool) <0x000c4>
  at System.Windows.Forms.Form.SetVisibleCore (bool) <0x0030c>
  at System.Windows.Forms.Control.set_Visible (bool) <0x0003c>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.set_Visible (bool) <0xffffffff>
  at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x002f0>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0008c>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00050>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun () <0x000a0>
  at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (string[]) <0x00028>
  at flaME.My.MyApplication.Main (string[]) <0x00080>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

	0   mono                                0x000f8258 _mh_execute_header + 1012312
	1   mono                                0x00146b84 _mh_execute_header + 1334148
	2   libSystem.B.dylib                   0x956789fc _sigtramp + 68

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6
User avatar
macuser
Regular
Regular
Posts: 1052
Joined: 19 Mar 2010, 23:35
Location: USA

Re: Compiling FlaME under mono

Post by macuser »

Flail13 wrote:Thanks macuser... any progress?
I need to fire up my windows computer and compile it in VB.net - see whats going on. I will try to do that tomorrow. I suspect it's because it was compiled with mono and not vb.net . Either that or there are some major changes in the code as opposed to the one I got working.
ArtRev Website

ImageImage

System: AMD Phenom II x4, 4GB RAM, 640GB HD, Nvidia GeForce GT 240 1GB, Mac OS X 10.6