I tried to build cvs Gem from updated source, not moments ago, but I got this error. Is this something I did, or is this a problem with CVS gem right now? Thanks! -thewade
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
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory /usr/local/src/Gem/src/openGL\' make[1]: *** [subdirs] Error 255 make[1]: Leaving directory
/usr/local/src/Gem/src/Gnu'
make: *** [all] Error 2
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 functionvirtual 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