Hi Jamie,
In the process of finding my CPU usage problems I found I could not compile Gem on the g5 from the terminal:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_program.cpp -o glsl_program.o glsl_program.cpp: In member function `void glsl_program::createArrays()': glsl_program.cpp:89: error: `m_size' undeclared (first use this function) glsl_program.cpp:89: error: (Each undeclared identifier is reported only once for each function it appears in.) glsl_program.cpp:89: error: `m_uniformCount' undeclared (first use this function) glsl_program.cpp:90: error: `m_type' undeclared (first use this function) glsl_program.cpp:91: error: `m_symname' undeclared (first use this function) glsl_program.cpp:92: error: `m_param' undeclared (first use this function) glsl_program.cpp:93: error: `m_flag' undeclared (first use this function) glsl_program.cpp: In static member function `static void glsl_program::linkCallback(void*)': glsl_program.cpp:481: error: 'class glsl_program' has no member named ' m_wantLink' make[1]: *** [glsl_program.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Manips] Error 2
I'll remove the failing stuff for now, but wanted to let you know.
2Hgz g5 dual 10.3.9 is the machine.
Thanks .b.
hey ben,
On Mar 8, 2006, at 1:50 PM, B. Bogart wrote:
In the process of finding my CPU usage problems I found I could not compile Gem on the g5 from the terminal:
...yeh, I haven't been very good at making sure the configure/make system works on osx lately...
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_program.cpp -o glsl_program.o glsl_program.cpp: In member function `void glsl_program::createArrays()': glsl_program.cpp:89: error: `m_size' undeclared (first use this function) glsl_program.cpp:89: error: (Each undeclared identifier is reported only once for each function it appears in.)
...but, seeing as these are undeclared errors, I think you should make sure you have run a current "cvs update -dP" on the whole Gem project, then try compiling again, because these are all in glsl_program.h...
Hi Jamie,
Actually that was the resuly of a fresh checkout from today.
I'll try again on friday.
Still no luck with my CPU problem with multiple versions of Gem. I'll try and make a test patch.
.b.
On Wed, March 8, 2006 3:34 pm, james tittle said:
hey ben,
On Mar 8, 2006, at 1:50 PM, B. Bogart wrote:
In the process of finding my CPU usage problems I found I could not compile Gem on the g5 from the terminal:
...yeh, I haven't been very good at making sure the configure/make system works on osx lately...
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign- loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_program.cpp -o glsl_program.o glsl_program.cpp: In member function `void glsl_program::createArrays()': glsl_program.cpp:89: error: `m_size' undeclared (first use this function) glsl_program.cpp:89: error: (Each undeclared identifier is reported only once for each function it appears in.)
...but, seeing as these are undeclared errors, I think you should make sure you have run a current "cvs update -dP" on the whole Gem project, then try compiling again, because these are all in glsl_program.h...
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev
On 3/8/06, B. Bogart ben@ekran.org wrote:
Hi Jamie,
In the process of finding my CPU usage problems I found I could not compile Gem on the g5 from the terminal:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. glsl_fragment.cpp -o glsl_fragment.o
2Hgz g5 dual 10.3.9 is the machine.
GLSL requires 10.4.3 or later. We probably need to put in compile time checks for building under earlier systems.