[Mono-winforms-list] NeHe's OpenGL C# example
pablosantosluac
pablosantosluac at terra.es
Mon Feb 19 13:54:19 EST 2007
Have a look at Tao. We are using TaoGL with excellent results in our product.
We have been using OpenGL and mono for more than one year already... maybe it is worth if we write a short tutorial on how make it run... ¿?
----- Original Message -----
From: Vitor Hugo Barros
To: mono-winforms-list at lists.ximian.com
Sent: Monday, February 19, 2007 2:44 AM
Subject: [Mono-winforms-list] NeHe's OpenGL C# example
Hello all,
I'm trying to compile the Nehe's OpenGL on C# example http://nehe.gamedev.net/counter.asp?file=files/basecode/nehegl_csharp.zip'>http://nehe.gamedev.net/counter.asp?file=files/basecode/nehegl_csharp.zip">http://nehe.gamedev.net/counter.asp?file=files/basecode/nehegl_csharp.zip
using mono 1.2.3.1 and monodevelop 0.12.
I'm getting the following error:
Unhandled Exception: System.EntryPointNotFoundException: GetDC
at (wrapper managed-to-native) OpenGL.WGL:GetDC (uint)
at OpenGL.BaseGLControl.InitializeGL (System.Object sender, System.EventArgs e) [0x00014] in /home/b4silence/nehegl_csharp/NeHeCS/BaseGL.cs:120
at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
at System.Windows.Forms.UserControl.OnLoad (System.EventArgs e) [0x0001c] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:87
at System.Windows.Forms.UserControl.OnCreateControl () [0x00006] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/UserControl.cs:80
at System.Windows.Forms.Control.CreateControl () [0x000a2] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3244
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:CreateControl ()
at System.Windows.Forms.Control.CreateControl () [0x00070] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:3235
at System.Windows.Forms.Control.SetVisibleCore (Boolean value) [0x00032] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:4190
at System.Windows.Forms.Form.SetVisibleCore (Boolean value) [0x0001f] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs:1972
at System.Windows.Forms.Control.set_Visible (Boolean value) [0x00000] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs:2954
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:set_Visible (bool)
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00055] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:549
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000] in /tmp/scratch/BUILD/mono-1.2.3.1/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs:520
at MyFormProject.MainForm.Main (System.String[] args) [0x00055] in /home/b4silence/nehegl_csharp/NeHeCS/MainForm.cs:109
I don't have a clue if this can be a bug, anyway thought it would be better to send it to you.
Could you please take a look on this?
Thanks.
------------------------------------------------------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.
------------------------------------------------------------------------------
_______________________________________________
Mono-winforms-list maillist - Mono-winforms-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20070219/40baa7cc/attachment.html
More information about the Mono-winforms-list
mailing list