ok ok sorry for bothering... all my problems have already been solved in this thread... i should better go back to bed...
and you're right, it works after having to pay attention on all the steps
best a.
2011/6/12 Nicolas Montgermont nicolas_montgermont@yahoo.fr
for me video and image are working if i copy the *.so in the same folder than Gem.pd_darwin, they are originally in hidden folders, my line to copy them when i am in Gem/src is:
sudo cp plugins/*/.libs/*.so /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/
read the details of the discussion :) best,
nicolas
Le 12/06/11 14:47, Antoine Villeret a écrit :
hello,
using make -k (as cyrille suggested to me) I can generate a working Gem.pd_Darwin without font rendering, film playback, image rendering and video but OpenGL seems to works fine
svn rev 4041 build against Pd 0.42-6 on mac OS 10.6.7 with Intel Core 2 Duo 2,53GHz and 4 Go DDR3
cheers
antoine
do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.frpour me contacter
2011/6/12 Antoine Villeret antoine.villeret@gmail.com
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
do it yourself http://antoine.villeret.free.fr http://drii.ensad.fr -- Google lit ce mail... si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.frpour me contacter
2011/6/10 Nicolas Montgermont nicolas_montgermont@yahoo.fr
Hello Iohannes,
Le 10/06/11 13:44, IOhannes zmölnig a écrit :
On 06/10/2011 12:33 PM, Nicolas Montgermont wrote:
right again, i've copied every plugin the harsch way with sudo cp plugins/*/.libs/*.so /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/
i usually prefer links, as it allows for easier updating. but then of course, you might also incidentially update something which you did not intend....
yes it should be nice but i have problem with links, in src when i do: sudo ln -s .libs/Gem.pd_darwin /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/ sudo ln -s plugins/*/.libs/*.so /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/ none of the Gem object can create themselves... but copying (same rights) is working...
so please run svn update, and "make" again (you shouldn't need to run
autogen and configure again, as this should be done automatically for you)
cool, pix_video is working well here! but pix_movie and pix_film aren't: error: [pix_movie]: unable to open file: XXX error: [pix_film]: unable to open file: XXX
very close from the finish line :p best,
n
GEM-dev mailing list GEM-dev@iem.at http://lists.puredata.info/listinfo/gem-dev