无法找到名为“glBindFramebuffer”在DLL“OPENGL32.DLL”的切入点。在MonoGame 3.0切入点、DLL、glBindFramebuffer、MonoGame

2023-09-03 00:36:23 作者:未情

最近,我在我的笔记本上安装MonoGame 3.0。我从项目模板了一个带新MonoGame窗口的OpenGL工程,并尝试运行它,我得到这个例外。

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'

我安装了:

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

我使用的:

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

有没有什么东西需要安装?

Does any thing need to install ?

请注意:如果我使用MonoGame 2.5.1.0然后一切工作正常。只有当我安装MonoGmae 30发生此异常。

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

推荐答案

这是一个已知的问题。您可以尝试找到安装的驱动程序,并检查其的OpenGL性能。貌似司机只支持OpenGL 2.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.

您可以尝试包装在一个try / catch 中的实例,是否可行给你。

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

祝你好运。