[PD] Gem compile error

Patrick Valiquet p.valiquet at gmail.com
Sun Mar 19 00:05:38 CET 2006


Not sure if this is the right place for this, maybe I should notify
the gem-dev list?

I'm trying to compile Gem from CVS on Ubuntu Dapper and having bad
luck... I believe I've got all the dependencies installed unless
there's something not documented... Here's where it keeps choking:

g++ -c -fPIC -g -O2 -O3 -fno-builtin -falign-loops=16 -funroll-loops
-ffast-math -mmmx  -I/usr/include/ffmpeg -I/usr/include/ffmpeg
-I/usr/include/lqt   -I/usr/include/lqt   -I/usr/include/avifile-0.7  
-I/usr/include/freetype2   -I..  -I/usr/include/FTGL
-I/usr/include/freetype2  glsl_vertex.cpp -o glsl_vertex.o
glsl_program.cpp: In member function 'void glsl_program::createArrays()':
glsl_program.cpp:83: error: 'm_size' was not declared in this scope
glsl_program.cpp:83: error: 'm_uniformCount' was not declared in this scope
glsl_program.cpp:84: error: 'm_type' was not declared in this scope
glsl_program.cpp:85: error: 'm_symname' was not declared in this scope
glsl_program.cpp:86: error: 'm_param' was not declared in this scope
glsl_program.cpp:87: error: 'm_flag' was not declared in this scope
glsl_program.cpp: In static member function 'static void
glsl_program::linkCallback(void*, t_symbol*, int, t_atom*)':
glsl_program.cpp:466: error: 'class glsl_program' has no member named
'm_wantLink'
make[1]: *** [glsl_program.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/patrick/src/Gem/src/Manips'
make: *** [Manips] Error 2


I've tried configuring with CXX=g++-3.3 --disable-ARB
--disable-registerstruct but that doesn't change things. The only
thing that seems to work so far is when I configure with
--disable-Manips ... which gives me a working binary minus a whole
bunch of useful objects! I don't know any C++ so I'm kind of at a loss
for fixing the offending files...

Any ideas what could be causing the error?

Thanks in advance

Patrick




More information about the Pd-list mailing list