I committed your fixes to cvs, but it looks like the cvs is in kinda
bad shape right now. Typically I have no problems with the linux build,
but that's not the case now. I don't have a windows build environment
unfortunately. The shader related wrappers compile fine for me with
linux now though.
> I'm new to both CVS and SWIG so bare with me. (familiar with
> boost.python extension programming for whatever it's worth)
> I'm trying to build the latest PyOpenGL from CVS on win32 with VC7.1.
> I'm getting the following error when generating the swig wrappers:
> interface\GL\ARB\shader_objects.i(73): Error: Syntax error in input.
> The problem seems to be with the line:
> /* turn the exception handler on */
> I replaced this line with what all the other interface files use...:
> %include py_exception_handler.inc
> This needed to be done in the following files: (shader_objects.i,
> vertex_program.i, vertex_shader.i, EXT\framebuffer_object.i)
> It seems shader_objects.i is using the wrong define here:
> #if !EXT_DEFINES_PROTO || !defined(GL_EXT_framebuffer_object)
> should be:
> #if !EXT_DEFINES_PROTO || !defined(GL_ARB_shader_objects)
> The macro declaration of glGetActiveUniformARB also has a wrong
> parameter type for 'index', uGLint needs to be changed to GLuint
> otherwise you get a compile error.
> DECLARE_VOID_EXT(glGetActiveUniformARB, (GLhandleARB programObj,
> uGLint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum
> *type, GLcharARB *name), (programObj, index, maxLength, length, size,
> type, name))
> Once I got to compiling, more problems with the shader_object stuff. I
> needed to include 'glext.h' in my config.h to get a bunch of typedefs
> and defines needed.
> On to linking in which of course I don't have win32 libs for using
> shader objects so I get link unresolved externals for
> Has anyone ever got this to work on win32 ? any help would be greatly
> Simon Feltman
> REZN8 Productions
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App Server.
> it for free - -and be entered to win a 42" plasma tv or your very own
> Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
> PyOpenGL Homepage
> PyOpenGL-Devel mailing list