Gluonconfig tool crashes on Win7 x64

Here is the place for all your dsPic or autopilot questions.

Moderator: lukasz

Gluonconfig tool crashes on Win7 x64

Postby lukasz » Mon Mar 21, 2011 11:06 am

Tom,

Gluonconfig tool crashes on Win7 x64 when trying to run 3D cube from sensors tab.

I'm experiencing this on v0.5.2 and latest version available on svn.

Here is the error log:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.TypeInitializationException: The type initializer for 'CsGL.OSLib' threw an exception. ---> System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at CsGL.OSLib.csgl_sys_initAssert(ASSERT a, ASSERT_THROW at)
at CsGL.OSLib..cctor()
--- End of inner exception stack trace ---
at CsGL.OpenGL.OpenGL..ctor()
at CsGL.OpenGL.GLUT..ctor()
at CsGL.Basecode.Model..ctor()
at ModuleImu3D.Imu3D..ctor(SerialCommunication serial)
at ModuleImu3D.Imu3D.Run(SerialCommunication serial)
at Gluonpilot.ConfigurationTabpage._btn_cube_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
lukasz
 
Posts: 214
Joined: Wed Feb 24, 2010 10:58 pm

Re: Gluonconfig tool crashes on Win7 x64

Postby Tom » Tue Mar 22, 2011 8:04 am

I guess this is because I'm supplying a 32-bit OpenGL DLL-library to display the cube (csgl.native.dll). This is a 32-bit native library.

In a next version I'll try to replace it with DirectX.
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: Gluonconfig tool crashes on Win7 x64

Postby lukasz » Tue Mar 22, 2011 8:48 am

Thanks Tom for information.

When will you be expecting new version available :)
lukasz
 
Posts: 214
Joined: Wed Feb 24, 2010 10:58 pm


Return to Firmware

Who is online

Users browsing this forum: No registered users and 6 guests

cron