Hi Chris,
blech, rgbadata was also not defined, I think I missed something up and since I'm unable to do a fresh checkout I just copied the src from the Gem version I've been using on linux. (a couple months old).
Anyhow it gets all the way to linking when it bails with:
g++ -o Gem.pd_darwin -framework QuickTime -framework Carbon -framework AGL -framework OpenGL Base/*.o Controls/*.o Geos/*.o Manips/*.o MarkEx/*.o Nongeos/*.o Particles/*.o Pixes/*.o openGL/*.o -ldl -lz -lm -lpthread ld: Pixes/pix_filmFFMPEG.o bad magic number (not a Mach-O file) ld: Pixes/pix_filmLinux.o bad magic number (not a Mach-O file) make: *** [Gem.pd_darwin] Error 1
which is odd, since configure says nothing about bothering with ffmpeg and I'm certainly not compiling on linux:
Result: Target : Gem.pd_darwin Objects : Base Controls Geos Manips MarkEx Nongeos Particles Pixes openGL
Configuration: Compiler : g++ CXXFLAGS : -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec : INCLUDES : DEFINES :
LIBS : -ldl -lz -lm -lpthread : LDFLAGS : -framework QuickTime -framework Carbon -framework AGL -framework OpenGL :
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.37
used optional libraries:
font-rendering :
image-support use ImageMagick : no use TIFF : no use JPEG : no video-support use mpeg : no use mpeg-3 : no use QuickTime : yes (framework) use aviplay : no use ffmpeg : no input-support use v4l : no use ieee1394 : no
misc using ARB-extensions : yes using NV-extensions : no using reg-struct-ret : yes
This compile was finding old pd headers, so I upgraded the headers in usr/local/include and am now recompiling.
(compiling Gem takes way longer on this dual G5, than on the single 3Ghz p4...)
Thanks, .b.
On Wed, April 26, 2006 12:23 pm, chris clepper said:
On 4/26/06, B. Bogart ben@ekran.org wrote:
GemPixUtil.cpp:533: error: `bgradata' undeclared (first use this function) GemPixUtil.cpp:533: error: (Each undeclared identifier is reported only
once
for each function it appears in.)
Looks like a typo or bad copy+paste. should be rgbadata.
GemPixUtil.cpp: In member function `void imageStruct::fromYV12(short
int*,
short int*, short int*)': GemPixUtil.cpp:1126: error: `pixels' undeclared (first use this function)
The Altivec function there looks out of place - another bad copy+paste?
Just comment out that #ifded __VEC__ and continue.