Hi James,
I'm moving this over to gem-dev.
I did another update today and it does look like some changes got into anonymous.
Note I'm compiling on Linux here.
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' make[1]: *** [glsl_program.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/bbogart/pd-stuff/Gem.orig/src/Manips' make: *** [Manips] Error 2
But I do have ARB extensions:
Result: Target : Gem.pd_linux Objects : Base Controls Geos Manips MarkEx Nongeos Particles Pi xes openGL
Configuration: Compiler : g++ CXXFLAGS : -g -O2 -freg-struct-return -O3 -fno-builtin -falign-l oops=16 -funroll-loops -ffast-math -mmmx -I/usr/X11R6/include : -I/usr/include/ffmpeg -I/usr/include/quicktime -I/u sr/include/avifile-0.7 -I/usr/include/freetype2 INCLUDES : -I/usr/include/FTGL -I/usr/include/freetype2 DEFINES :
LIBS : -ldv -lavformat -lmpeg -lmpeg3 -lquicktime -ljpeg -lt iff -lGLU -lGL -lXext -lXxf86vm -lXext -lX11 -ldl -lz -lm -L/usr/X11R6/lib -lp thread : -lGLU -lGL -lfreetype -lz -lftgl -laviplay -L/usr /lib -lquicktime -lgthread -lz -ldl -lMagick++ -lMagick LDFLAGS : -shared -Wl,-export-dynamic : -L/usr/X11R6/lib
Strip : strip --strip-unneeded
Install path : /usr/local
pure-data: version : 0.38
used optional libraries:
font-rendering : FTGL
image-support use ImageMagick : yes use TIFF : yes use JPEG : yes video-support use mpeg : yes use mpeg-3 : yes use QuickTime : yes use aviplay : yes use ffmpeg : yes input-support use v4l : yes use ieee1394 : yes
misc using ARB-extensions : yes using NV-extensions : yes using reg-struct-ret : yes
Now run make ...
I'll jump on IRC now to see if your are still around.
.b.
james tittle wrote:
On Mar 20, 2006, at 9:47 AM, B. Bogart wrote:
I did a update -dP today and looks like a lot has changed.
...you may also want to update extensions/gem2pdp, because I've added altivec code to pix_2pdp, which makes uyvy to yv12 color conversion a non-issue, speed/cpu%-wise...so now if you use yuv textures on gem/ ppc, you have a very quick round-trip to pdp and back...
I was able to compile the GLSL stuff before so I think this must be a bug:
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 glsl_program.cpp -o glsl_program.o glsl_program.cpp: In member function 'void glsl_program::createArrays()': glsl_program.cpp:83: error: 'm_size' was not declared in this scope
...snip...
Seems Patrick V had similar problems as well.
...hmm: I just committed a fix (I hope)...seems that ya'll don't have GL_ARB_shader_objects defined on the compiling machine?
I'm looking forward to testing the new [rubber] stuff and the new try at fixing the textcoords stuff. (Thanks Jamie & Johannes)
...yep, I need to test that new texcoords stuff, too...but [rubber] is much more useful, especially with multiple objects! Note that if you set the spring message to 0 that you basically have a deformable surface with memory 8-p...
...should have a nice example patch tonight: wanna meet on irc?
jamie