Skip to content

Problems with Tao OpenGL on Ubuntu #5

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Build solution with monodevelop
2. cd ./Physics2DDemo/bin/Debug
3. Run ./Physics2DDemo.exe

What is the expected output? What do you see instead?
The expected output would be being able to test the demos.
I see this instead:
====================
Welcome to the Physics2D.Net Demo
In the demo pressing the number keys or W-O will load different demos.
Left Clicking will allow you to pick objects up.
Middle clicking on the screen will launch a projectile where you click.
Right clicking and holding will shoot out particles where you click.
holding M will place 3 rotating rays that shoot out particles on impact.
The left and right arrow keys will move the tank.
SpaceBar will fire the tanks cannon.
In the upper left corner a small colored box will appear.
If it is green then the engine has too little to do and is skipping a timestep
If it is red then the engine has too much to do.
P or Pause will pause the simulation.
Press Enter To Start

Before 42
After 14
Subdivide 24
Before 160
After 47
Subdivide 94
Before 216
After 84
Subdivide 90

Unhandled Exception: System.TypeInitializationException: An exception was
thrown by the type initializer for Tao.OpenGl.Delegates --->
System.NotSupportedException: Unknown platform - cannot get function pointer.
  at Tao.OpenGl.Gl.GetFunctionPointerForExtensionMethod (System.String
name) [0x00000] 
  at Tao.OpenGl.Gl.GetDelegateForExtensionMethod (System.String name,
System.Type signature) [0x00000] 
  at Tao.OpenGl.Delegates..cctor () [0x00000] --- End of inner exception
stack trace ---

  at Tao.OpenGl.Gl.glShadeModel (Int32 mode) [0x00000] 
  at Physics2DDemo.OpenGlWindow.Init () [0x00000] 
  at Physics2DDemo.OpenGlWindow.Run () [0x00000] 
  at Physics2DDemo.Program.Main (System.String[] args) [0x00000] 
====================

What version of the product are you using? On what operating system?
Physics2D.Net-2.0.0.0.zip
On Ubuntu 8.10 (Intrepid Ibex)

Please provide any additional information below.
monodevelop v1.0

Original issue reported on code.google.com by zohn.joi...@gmail.com on 6 Oct 2008 at 4:16

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions