[PD] Gem CVS problem

james tittle tigital at mac.com
Sun Dec 26 18:03:32 CET 2004


On Dec 26, 2004, at 12:19 AM, thewade wrote:
> c++ -c -g -g -O2 -D__NEW__ -fPIC -mmmx  -I../ 
> -I/usr/local/include/FTGL/ -I/usr/include/freetype2/ 
> -I/usr/local/include/  -fno-builtin -O3 -funroll-loops -ffast-math  
> GEMglBindProgramARB.cpp -o GEMglBindProgramARB.o
> GEMglBindProgramARB.cpp: In member function `virtual void 
> GEMglBindProgramARB::render(GemState*)\':
> GEMglBindProgramARB.cpp:48: error: `glBindProgramARB\' undeclared 
> (first use this function)
> GEMglBindProgramARB.cpp:48: error: (Each undeclared identifier is 
> reported only once for each function it appears in.)
> make[2]: *** [GEMglBindProgramARB.o] Error 1

...hmm, this means it's not finding the function definition in your 
OpenGL headers...looking at the code, it should be coming from 
"Base/GemBase.h", but it appears that if you aren't on __APPLE__, you 
have to also define -DINCLUDE_GLEXT in the the cpp flags...if that 
doesn't work, then either you need newer headers, or your system simply 
doesn't support programmable shaders yet...

l8r,
jamie





More information about the Pd-list mailing list