[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.

jms jmsoler at free.fr
Wed Jun 4 23:36:43 CEST 2008


Nathan Letwory a écrit :
> On Wed, Jun 4, 2008 at 10:19 PM, <jmsoler at free.fr 
> <mailto: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
> +#  define GL_GLEXT_PROTOTYPES 1
>  #  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.
>
> /Nathan
>
>

This patch compiles  but the textures do not appear in the game mode.

jms


-------------- next part --------------
A non-text attachment was scrubbed...
Name: rasterizer_080604_ter.patch
Type: text/x-diff
Size: 2638 bytes
Desc: not available
Url : http://lists.blender.org/pipermail/bf-committers/attachments/20080604/fa862085/attachment.patch 


More information about the Bf-committers mailing list