[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15123] trunk/blender/source/gameengine/ Rasterizer/RAS_OpenGLRasterizer/RAS_GLExtensionManager.h: Issue jms was having with # else on msvc.

Nathan Letwory 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
> source/gameengine/Rasterizer/RAS_2DFilterManager.cpp
> 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:

Index: RAS_GLExtensionManager.h
--- RAS_GLExtensionManager.h    (revision 15116)
+++ RAS_GLExtensionManager.h    (working copy)
@@ -49,6 +49,7 @@

 #ifdef WITH_GLEXT
 #ifdef WIN32
 #  include <GL/glext.h>
 #elif defined(__APPLE__)
 #  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
unresolved externals

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...
URL: http://lists.blender.org/pipermail/bf-committers/attachments/20080604/f8134a8b/attachment.htm 

More information about the Bf-committers mailing list