exceptions
"Alvaro A. Ramirez" <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.wxnet |
|---|---|
| Message-ID | <1060209130.2788.46.camel@stella> |
hello all... i am trying to run the samples after installing using: premake --with-shared --dotnet mono --target gnu --enable-gtk2 and later make. which, gives me a "compilation succeeded" at the very end. i then copy both libwx-c.so and wx.NET.dll to /usr/locl/lib, which is where i have all of my dll's for mono. i then tried using premake to create the makefiles to compile the samples. these all compile successfully. however, if i try to run them using "mono xxxx.exe" nothing happens, but my cpu is all taken up by the process. i also tried compiling them using the following command: mcs -o myfirst.exe -r System.Drawing -r wx.NET.dll Minimal.cs but then when i run it, i get the following exception. tuco@stella Minimal $ mono myfirst.exe Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required in (unmanaged) 06 wx.App:wxApp_Run (int,string[]) in <0x00004> 06 wx.App:wxApp_Run (int,string[]) in <0x00026> 00 wx.App:Run () in <0x00037> 00 wx.Samples.Minimal:Main () any ideas? thanks for your time. regards, tuco ps. i am using wxGTK-2.4.1 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01