[PD] [GEM] OS X How to compile against SDK 10.5 in os x 10.6

Jaime Oliver jaime.oliver2 at gmail.com
Fri Oct 16 08:34:21 CEST 2009


Hi IOhannes,

thanks for writing back,

I added
-isysroot /Developer/SDKs/MacOSX10.5.sdkflags
to GEM_CXXFLAGS

and I still got the error (it's below)

please let me know if you have any other suggestions,

cheers,
J

g++ -c       -I..
-I/Applications/Pd-0.42-5.app/Contents/Resources//src  -DHAVE_CONFIG_H
-g -O2 -fPIC -freg-struct-return -Os -falign-loops=32
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx
-fpascal-strings -isysroot /Developer/SDKs/MacOSX10.5.sdk
GemPixImageLoad.cpp -o ../Objects/GemPixImageLoad.o
GemPixImageLoad.cpp:70: error: ‘GraphicsImportComponent’ was not
declared in this scope
GemPixImageLoad.cpp: In function ‘imageStruct* image2mem(const char*)’:
GemPixImageLoad.cpp:96: error: ‘GraphicsImportComponent’ was not
declared in this scope
GemPixImageLoad.cpp:96: error: expected `;' before ‘importer’
GemPixImageLoad.cpp:104: error: ‘struct FSSpec’ has no member named ‘name’
GemPixImageLoad.cpp:106: error: ‘struct FSSpec’ has no member named ‘parID’
GemPixImageLoad.cpp:109: error: ‘::GetGraphicsImporterForFile’ has not
been declared
GemPixImageLoad.cpp:109: error: ‘importer’ was not declared in this scope
GemPixImageLoad.cpp:111: error: ‘struct FSSpec’ has no member named ‘name’
GemPixImageLoad.cpp:115: error: ‘importer’ was not declared in this scope
GemPixImageLoad.cpp:115: error: ‘QTImage2mem’ cannot be used as a function
GemPixImageLoad.cpp: At global scope:
GemPixImageLoad.cpp:212: error: redefinition of ‘imageStruct* QTImage2mem’
GemPixImageLoad.cpp:70: error: ‘imageStruct* QTImage2mem’ previously
defined here
GemPixImageLoad.cpp:212: error: ‘GraphicsImportComponent’ was not
declared in this scope
make[1]: *** [GemPixImageLoad.o] Error 1
make: *** [Base] Error 2




More information about the Pd-list mailing list