[GEM-dev] Re: [PD-dev] CVS update from today

james tittle tigital at mac.com
Tue Mar 21 18:06:28 CET 2006


hey ben,

On Mar 21, 2006, at 11:03 AM, B. Bogart wrote:
> I'm moving this over to gem-dev.

... a good move...

> I did another update today and it does look like some changes got into
> anonymous.
>
> Note I'm compiling on Linux here.

...doesn't matter in this regard...

> Now the build is failing with:
>
> g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin
> -falign-loops=16 -funroll-loops -ffast-math -mmmx  -I/usr/X11R6/ 
> include
> -I/usr/include/ffmpeg -I/usr/include/quicktime
> -I/usr/include/avifile-0.7   -I/usr/include/freetype2   -I..
> -I/usr/include/FTGL -I/usr/include/freetype2  rotate.cpp -o rotate.o
> glsl_program.cpp: In static member function 'static void
> glsl_program::linkCallback(void*, t_symbol*, int, t_atom*)':
> glsl_program.cpp:468: error: 'class glsl_program' has no member named
> 'm_wantLink'

...gah!  This is the same problem as yesterday, just in a different  
place...unfortunately my cvs access isn't working at my current  
location, so if you don't mind copy/paste, you can replace the  
following function in glsl_program.cpp, near the bottom of the file:

void glsl_program :: linkCallback(void *data, t_symbol*, int argc,  
t_atom*argv)
{
   if(argc)
     GetMyClass(data)->shaderMess(argc, argv);
#ifdef GL_ARB_shader_objects
   GetMyClass(data)->m_wantLink=1;
#endif
}

enjoy,
james





More information about the GEM-dev mailing list