Unable to find an entry point named 'glBindFra

2019-02-18 09:49发布

问题:

Recently I install MonoGame 3.0 on my Laptop. I took a band New "MonoGame Windows OpenGL Project" from project template and try to run it and i got this exception.

Unable to find an entry point named 'glBindFramebuffer' in DLL 'opengl32.dll'.

The exception was here:

 public Game1()
 : base()
 {
   graphics = new GraphicsDeviceManager(this);<----|Unable to find an entry point named 'glBindFramebuffer' in DLL 'opengl32.dll'

I am installed :

MonoDevelop 3.0.6
gtk-sharp-2.12.10.win32
Opentk-2010-10-06
XNAGS40_Setup
jdk-7u9-windows-x64
MonoGame3.0

I am using :

Windows 7 x64
Visual studio 2012
ASUS A52F Laptop
Graphic : Integrated Intel® GMA HD

Does any thing need to install ?

Note : If I use MonoGame 2.5.1.0 then everything works fine. This exception occurs only when I install MonoGmae 30.

回答1:

This is a known issue. You can try to find the installed driver and check its OpenGL capabilities. Looks like the drivers only support OpenGL 2.1, and further that support might not be added.

You can try to wrap the instantiation in a try/catch, if that works for you.

Good luck.



回答2:

MonoGame 3.0 requires OpenGL 3. Try updating your graphics drivers, if that doesn't work then you're out of luck unless you get a new laptop.