问题描述
最近我在笔记本电脑上安装了 MonoGame 3.0.我从项目模板中拿了一个乐队 New "MonoGame Windows OpenGL Project" 并尝试运行它,我得到了这个异常.
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'.
这里有例外:
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
有什么需要安装的吗?
注意:如果我使用 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.
祝你好运.
这篇关于在 DLL“opengl32.dll"中找不到名为“glBindFramebuffer"的入口点.在 MonoGame 3.0 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!