找不到入口点异常OGL C# [英] Unable to find an entry point exception OGL C#
问题描述
你好alll
百老汇的帮助!!!
我正在尝试将使用Tao框架的OpenGl旧项目复制到另一个新解决方案中,一切都很好,但是我在纹理方面遇到了麻烦
当我运行程序时,它给了我这个例外. :( :(:((
(无法在DLL"opengl32.dll"中找到名为"glActiveTexture"的入口点.)
在此行
Hello alll
Pleeeeeeeese help !!!
i am trying to copy my old project of OpenGl using Tao Framework to another new solution and every thing is alright but i have trouble with textures
when i run my program it gives me this exception. :( :( :((
( Unable to find an entry point named ''glActiveTexture'' in DLL ''opengl32.dll''.)
at this line
Gl.glActiveTexture(Gl.GL_TEXTURE0);
我花了2天的时间在网上寻找解决方案,但对不起,没办法
请任何人都可以帮助我吗?
谢谢:)
i passed 2 days searching for solution at the web but for sorry no way
Please any body can help me ???
Thanks :)
推荐答案
请参阅 ^ ]解释为什么会出现此错误.
至于故障排除,您是否可以看一下以下论坛?
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat& Number = 130422 [ ^ ]
http://www.gamedev.net /topic/465618-how-do-i-use-multiple-textures-in-opengl-in-vbnet/ [
Please see here[^] for an explanation on why you are getting the error.
As for the troubleshooting, were you able to take a look at the following forums?
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=130422[^]
http://www.gamedev.net/topic/465618-how-do-i-use-multiple-textures-in-opengl-in-vbnet/[^]
Please see here[^] for an explanation on why you are getting the error.
As for the troubleshooting, were you able to take a look at the following forums?
http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=130422[^]
http://www.gamedev.net/topic/465618-how-do-i-use-multiple-textures-in-opengl-in-vbnet/[^]
抱歉,我在C#而不是VB或C ++的Tao框架上使用OpenGl.
我的旧项目是如此简单,但我找不到它们的区别
任何想法???
For sorry i am using OpenGl at Tao framework at C# not VB Or C++.
and my old project was so so simple but i couldn''t find the differences of them
any ideas ???
glActiveTexture不是opengl32.dll的导出函数.
您可以使用此opengl扩展名进行多重纹理化.您需要使用glGetProcAddress获取glAtiveTexture的函数地址.可能是Tao框架会处理它.
可能您的计算机没有ARB_multitexture扩展名.因此,glGetProcAddress("glAtiveTexture")将返回0.
仅当GL版本为1.3或更高版本,或者当使用参数GL_EXTENSIONS调用glGetString返回的字符串中包含ARB_multitexture时,才支持glActiveTexture.
http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml [^ ]
请检查您的机器是否支持ARB_multitexture扩展.
您可以使用以下应用程序查看计算机中的opengl扩展.
http://www.realtech-vr.com/glview/download.html [ ^ ]
Hi,
glActiveTexture is not an exported function of opengl32.dll.
You can use this opengl extension for multi-texturing. You need to get function address of glAtiveTexture using glGetProcAddress. May be Tao framework will handle it.
Possibly your machine do not have ARB_multitexture extension. And therefore glGetProcAddress("glAtiveTexture") will return 0.
glActiveTexture is only supported if the GL version is 1.3 or greater, or if ARB_multitexture is included in the string returned by glGetString when called with the argument GL_EXTENSIONS.
http://www.opengl.org/sdk/docs/man/xhtml/glActiveTexture.xml[^]
Please check your machine have ARB_multitexture extension support.
You can use following application to view opengl extensions in your machine.
http://www.realtech-vr.com/glview/download.html[^]
这篇关于找不到入口点异常OGL C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!