Hi,
this is the rgbadata error:
g++ -c -fPIC -g -O2 -freg-struct-return -O3 -fno-builtin -falign-loops=16 -funroll-loops -ffast-math -faltivec -I.. GemPixUtil.cpp -o GemPixUtil.o GemPixUtil.cpp: In member function `void imageStruct::fromYV12(short int*,
short int*, short int*)': GemPixUtil.cpp:1033: error: `rgbadata' undeclared (first use this function) GemPixUtil.cpp:1033: error: (Each undeclared identifier is reported only once for each function it appears in.) GemPixUtil.cpp:1033: error: `pixels' undeclared (first use this function) make[1]: *** [GemPixUtil.o] Error 1 make: *** [Base] Error 2
Now for the old linux srcs I can compile, but linking dies with many PD symbols:
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: Undefined symbols: _main _canvas_getcurrent _error _gensym _atom_getint _class_addmethod _outlet_anything _outlet_free _outlet_new _post _inlet_free _inlet_new _clock_delay _clock_getsystime _clock_gettimesince _clock_new _clock_unset _atom_getfloat _atom_getsymbol _class_doaddfloat _garray_class _pd_findbyclass _s_float _atom_string _class_addlist _class_addcreator _class_new _class_sethelpsymbol _pd_new _class_addbang _outlet_list _outlet_float _outlet_symbol _s_list _clock_free _s_ _outlet_bang _canvas_makefilename _class_addanything _dsp_add _nullfn _s_signal _garray_getfloatarray _atom_getfloatarg _freebytes _getbytes _s_bang _floatinlet_new _class_addsymbol _resizebytes _startpost _pd_bind _pd_unbind _canvas_getdir _open_via_path _s_symbol _garray_redraw recordQT::getCodecName(int) recordQT::getCodecDescription(int) make: *** [Gem.pd_darwin] Error 1
I did put the PD headers in the right place...
So I'm giving up for now and will run the patch on three machines rather than the two I was hoping to run on.
Alas.
Thanks for your help Chris,
.b.
On Wed, April 26, 2006 2:00 pm, chris clepper said:
On 4/26/06, B. Bogart ben@ekran.org wrote:
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).
Eh? rgbadata is the pointer passed to the fromRGBA function.
(compiling Gem takes way longer on this dual G5, than on the single 3Ghz
p4...)
I'm way more concerned about the 4-8X difference in performance actually
running GEM than compilation times.