[GEM-dev] gem compiling on os x (was: Re: gem color bug)

marius schebella marius.schebella at gmail.com
Thu Nov 8 18:45:31 CET 2007


chris clepper wrote:
 > You could compile it.  Just use the configure flags to ignore the 
text stuff
 > (freetype and FTGL) if you don't have those.

hey,
the problem when I try to compile something that includes more than 2 
files, is, that it always fails at the first 99 attempts.
I don't know how to turn off text stuff, or other things that I am 
probably missing. I also don't understand the current flags, but always 
have to smile when I read about the fun rolls that loop
marius.

mkdir Objects
make -C Base
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  CPPExtern.cpp -o ../Objects/CPPExtern.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemBase.cpp -o ../Objects/GemBase.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemCache.cpp -o ../Objects/GemCache.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemEvent.cpp -o ../Objects/GemEvent.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemFuncUtil.cpp -o 
../Objects/GemFuncUtil.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemGLUtil.cpp -o ../Objects/GemGLUtil.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemGluObj.cpp -o ../Objects/GemGluObj.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemLoadObj.cpp -o 
../Objects/GemLoadObj.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemMan.cpp -o ../Objects/GemMan.o
GemMan.cpp: In static member function ‘static void GemMan::destroyWindow()’:
GemMan.cpp:1302: warning: ‘aglSetDrawable’ is deprecated (declared at 
/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
GemMan.cpp:1302: warning: ‘aglSetDrawable’ is deprecated (declared at 
/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemModelData.cpp -o 
../Objects/GemModelData.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPBuffer.cpp -o 
../Objects/GemPBuffer.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPathBase.cpp -o 
../Objects/GemPathBase.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPixConvertAltivec.cpp -o 
../Objects/GemPixConvertAltivec.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPixConvertSSE2.cpp -o 
../Objects/GemPixConvertSSE2.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPixDualObj.cpp -o 
../Objects/GemPixDualObj.o
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPixImageLoad.cpp -o 
../Objects/GemPixImageLoad.o
GemPixImageLoad.cpp: In function ‘imageStruct* 
QTImage2mem(ComponentInstanceRecord*)’:
GemPixImageLoad.cpp:277: warning: ‘DisposeGWorld’ is deprecated 
(declared at 
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230)
GemPixImageLoad.cpp:277: warning: ‘DisposeGWorld’ is deprecated 
(declared at 
/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230)
g++ -c -g -O2 -fPIC -freg-struct-return -Os -falign-loops=32 
-falign-functions=32 -falign-jumps=32 -funroll-loops -ffast-math -mmmx 
-fpascal-strings  -I/sw/include   -I.. 
-I/Users/marius/devel/pd-0.40-3/src  GemPixImageSave.cpp -o 
../Objects/GemPixImageSave.o
GemPixImageSave.cpp: In function ‘int mem2image(imageStruct*, const 
char*, int)’:
GemPixImageSave.cpp:164: warning: ‘FSMakeFSSpec’ is deprecated (declared 
at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10072)
GemPixImageSave.cpp:164: warning: ‘FSMakeFSSpec’ is deprecated (declared 
at 
/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Files.h:10072)
GemPixImageSave.cpp: In function ‘int mem2magickImage(imageStruct*, 
const char*)’:
GemPixImageSave.cpp:469: error: ‘Magick’ has not been declared
GemPixImageSave.cpp:469: error: ‘Image’ was not declared in this scope
GemPixImageSave.cpp:469: error: expected `;' before ‘mimage’
GemPixImageSave.cpp:470: error: ‘mimage’ was not declared in this scope
GemPixImageSave.cpp:472: error: ‘Magick’ has not been declared
GemPixImageSave.cpp:472: error: expected type-specifier
GemPixImageSave.cpp:472: error: expected `)' before ‘e’
GemPixImageSave.cpp:472: error: expected `{' before ‘e’
GemPixImageSave.cpp:472: error: ‘e’ was not declared in this scope
GemPixImageSave.cpp:472: error: expected `;' before ‘)’ token
GemPixImageSave.cpp:477: error: expected `}' at end of input
make[1]: *** [GemPixImageSave.o] Error 1
make: *** [Base] Error 2
marius-schebellas-computer:src marius$





More information about the GEM-dev mailing list