[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender  trunk/blender/source/gameengine/ Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h: Issue jms was having with # else on msvc.
jesterking at letwory.net
Wed Jun 4 21:57:36 CEST 2008
On Wed, Jun 4, 2008 at 10:19 PM, <jmsoler at free.fr> wrote:
> In fact, the problem is elsewhere. In
> glActiveTexture identifier is not found. Perhaps
> because the path to glext.h is not correct.
The path is alright, I think. With the following patch I could get it past
the compile problem:
--- RAS_GLExtensionManager.h (revision 15116)
+++ RAS_GLExtensionManager.h (working copy)
@@ -49,6 +49,7 @@
+# define GL_GLEXT_PROTOTYPES 1
# include <GL/glext.h>
# include "mac_compat_glext.h"
But then it fails during the linking process:
bf_rasterizer.lib(RAS_2DFilterManager.obj) : error LNK2019: unresolved
external symbol _glActiveTexture at 4 referenced in function "private: void
__thiscall RAS_2DFilterManager::StartShaderProgram(unsigned int)"
(?StartShaderProgram at RAS_2DFilterManager@@AAEXI at Z)
D:\blenderdev\build\win32-vc\bin\blender.exe : fatal error LNK1120: 1
I'll be investigating this more (newer ogl libs to link against?). I'll have
too look closer at how scons/mingw compiles regarding this issue, too.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Bf-committers