hi guys !
many many thanks for this !
i would like to compile Gem on OSX for a long time !
here is my config : OS 10.6.7 Pd extended 42.5 Gem svn rev. 4041
my config line is exactly the same as Nicolas : CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl
configure.ac:45: required file `extra/pix_drum/Makefile.in' not found
and there is no Makefile.in in this folder... so i copied the Makefile.in of the extras/pix_nano folder
then the configure script ended correctly (just after fixing a small path error)
but make failed on filmDarwin and the first two errors are : filmDarwin.h:28:28: error: Carbon/carbon.h: No such file or directory filmDarwin.h:29:34: error: QuickTime/quicktime.h: No such file or directory
and i've no carbon.h nor quicktime.h on my drive but i have severals Carbon.h and QuickTime.h (with both capital Q and capital T) as my file system is case sensitive, i've change the include in fileDarwin.h
after that fileDarwin still doesn't want to be build... here is a log : Making all in filmDarwin /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../Base -I../.. -I/opt/local/include/ -DPD -I/Applications/Pd-extended.app/Contents/Resources/include -framework QuickTime -framework Carbon -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT gem_filmDarwin_la-filmDarwin.lo -MD -MP -MF .deps/gem_filmDarwin_la-filmDarwin.Tpo -c -o gem_filmDarwin_la-filmDarwin.lo `test -f 'filmDarwin.cpp' || echo './'`filmDarwin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Base -I../.. -I/opt/local/include/ -DPD -I/Applications/Pd-extended.app/Contents/Resources/include -framework QuickTime -framework Carbon -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT gem_filmDarwin_la-filmDarwin.lo -MD -MP -MF .deps/gem_filmDarwin_la-filmDarwin.Tpo -c filmDarwin.cpp -fno-common -DPIC -o .libs/gem_filmDarwin_la-filmDarwin.o filmDarwin.cpp: In member function 'virtual void gem::filmDarwin::close()': filmDarwin.cpp:64: warning: 'DisposeGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230) filmDarwin.cpp:64: warning: 'DisposeGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230) filmDarwin.cpp: In member function 'virtual bool gem::filmDarwin::open(char*, int)': filmDarwin.cpp:188: warning: 'GetGWorldDevice' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:420) filmDarwin.cpp:188: warning: 'GetGWorldDevice' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:420) filmDarwin.cpp:193: error: jump to label 'unsupported' filmDarwin.cpp:105: error: from here filmDarwin.cpp:128: error: crosses initialization of 'MediaType** trackMedia' filmDarwin.cpp:124: error: crosses initialization of 'TrackType** movieTrack' filmDarwin.cpp:193: error: jump to label 'unsupported' filmDarwin.cpp:91: error: from here filmDarwin.cpp:128: error: crosses initialization of 'MediaType** trackMedia' filmDarwin.cpp:124: error: crosses initialization of 'TrackType** movieTrack' filmDarwin.cpp: In member function 'virtual pixBlock* gem::filmDarwin::getFrame()': filmDarwin.cpp:210: warning: 'GetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:244) filmDarwin.cpp:210: warning: 'GetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:244) filmDarwin.cpp:211: warning: 'SetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:258) filmDarwin.cpp:211: warning: 'SetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:258) filmDarwin.cpp:214: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) filmDarwin.cpp:214: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484) make[2]: *** [gem_filmDarwin_la-filmDarwin.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
then I run this : CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include --without-ftgl --with-film=plugins
but make still try to build filmDarwin... and i have no Gem.pd_Darwin anywhere... :-(
thanks to you !
antoine