On 4/26/06, B. Bogart ben@ekran.org wrote:
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
You missed the part about removing that __VEC__ define a few mails back. The rgbadata was only for the first of the two errors.
I did put the PD headers in the right place...
Check the linker flags.
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.
What exactly do you need on the Mac right now?