Problem running minimal.exe on OSX.

Questions about wxWidgets running on MS.NET, mono or Portable.NET ? Ask it here !
Post Reply
dwmcqueen
Knows some wx things
Knows some wx things
Posts: 26
Joined: Thu Oct 28, 2004 11:02 am

Problem running minimal.exe on OSX.

Post by dwmcqueen » Sat Nov 06, 2004 3:46 am

When I try to run the minimal.exe with mono 1.0.1 and the .5 wx.Net executable - I briefly see a window appear (with status text), but then it disappears. The following messages occur on output when I increase the verbosity:

Method (wrapper managed-to-native) wx.MenuBar:wxMenuBar_GetMenuCount (intptr) emitted at 0x31e43d8 to 0x31e44c4 [minimal.exe]
Method wx.MenuBar:GetMenu (int) emitted at 0x31e44c8 to 0x31e4564 [minimal.exe]
Method (wrapper managed-to-native) wx.MenuBar:wxMenuBar_GetMenu (intptr,int) emitted at 0x31e45d8 to 0x31e46cc [minimal.exe]
Method wx.Menu:ConnectEvents (wx.Window) emitted at 0x31e46d0 to 0x31e49f0 [minimal.exe]
Method wx.Frame:CreateStatusBar (int) emitted at 0x31e4a60 to 0x31e4ac8 [minimal.exe]
Method wx.Frame:CreateStatusBar (int,long,int,string) emitted at 0x31e4b40 to 0x31e4bd4 [minimal.exe]
Method (wrapper managed-to-native) wx.Frame:wxFrame_CreateStatusBar (intptr,int,uint,int,string) emitted at 0x31e4c70 to 0x31e4d94 [minimal.exe]
Method wx.StatusBar:.ctor (intptr) emitted at 0x31e4d98 to 0x31e4dd8 [minimal.exe]
Method (wrapper native-to-managed) wx.EvtHandler:MarshalEvent (intptr,int) emitted at 0x31e4de0 to 0x31e4ec4 [minimal.exe]
Method wx.Frame:set_StatusText (string) emitted at 0x31e4ec8 to 0x31e4f14 [minimal.exe]
Method wx.Frame:SetStatusText (string) emitted at 0x31e4f88 to 0x31e4fd8 [minimal.exe]
Method wx.Frame:SetStatusText (string,int) emitted at 0x31e5050 to 0x31e509c [minimal.exe]
Method (wrapper managed-to-native) wx.Frame:wxFrame_SetStatusText (intptr,string,int) emitted at 0x31e5110 to 0x31e5218 [minimal.exe]
Method wx.EvtHandler:EVT_MENU (int,wx.EventListener) emitted at 0x31e5248 to 0x31e52a4 [minimal.exe]
Method wx.EvtHandler:AddCommandListener (int,int,wx.EventListener) emitted at 0x31e5318 to 0x31e5380 [minimal.exe]
Method wx.Window:Show (bool) emitted at 0x31e53d8 to 0x31e5420 [minimal.exe]
Method (wrapper managed-to-native) wx.Window:wxWindow_Show (intptr,bool) emitted at 0x31e5498 to 0x31e558c [minimal.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) emitted at 0x31e5590 to 0x31e567c [minimal.exe]
Method System.Threading.Thread:.cctor () emitted at 0x31e5680 to 0x31e56f0 [minimal.exe]
Method (wrapper remoting-invoke-with-check) System.Object:.ctor () emitted at 0x31e5768 to 0x31e5810 [minimal.exe]
Method System.Threading.Thread:Finalize () emitted at 0x31e5818 to 0x31e58c0 [minimal.exe]
Method System.IntPtr:op_Explicit (int) emitted at 0x31e5958 to 0x31e59a4 [minimal.exe]
Method System.IntPtr:.ctor (int) emitted at 0x31e5a18 to 0x31e5a68 [minimal.exe]
Method (wrapper managed-to-native) System.Threading.Thread:Thread_free_internal (intptr) emitted at 0x31e5a70 to 0x31e5b50 [minimal.exe]
Method System.Object:Finalize () emitted at 0x31e5b58 to 0x31e5bb4 [minimal.exe]
Method (wrapper runtime-invoke) System.Object:runtime_invoke_void (object,intptr,intptr,intptr) emitted at 0x31e5bb8 to 0x31e5ca4 [minimal.exe]
Method wx.Object:Finalize () emitted at 0x31e5ca8 to 0x31e5d18 [minimal.exe]
Method wx.Object:RemoveObject (intptr) emitted at 0x31e5d88 to 0x31e5e58 [minimal.exe]
Method System.Collections.Hashtable:Remove (object) emitted at 0x31e5e60 to 0x31e609c [minimal.exe]
Method wx.EvtHandler:Finalize () emitted at 0x31e60a0 to 0x31e6110 [minimal.exe]
Method wx.EvtHandler:RemoveEvtHandler (intptr) emitted at 0x31e6180 to 0x31e620c [minimal.exe]
Method System.Runtime.Remoting.Contexts.Context:Finalize () emitted at 0x31e6210 to 0x31e6274 [minimal.exe]
Duncan-McQueens-Computer:~/Desktop/MacBundles/minimal.app/Contents/MacOS duncan$

dwmcqueen
Knows some wx things
Knows some wx things
Posts: 26
Joined: Thu Oct 28, 2004 11:02 am

Post by dwmcqueen » Sat Nov 06, 2004 5:41 pm

I am able to get this to run use portable.net - but notice some funny things regarding the loading of wx-c.dylib if I just do a ilrun minimal.exe. It says it can't find it.

Where is a good place to put the wx-c.dylib?

Post Reply