hi guys !<br><br>many many thanks for this ! <br><br>i would like to compile Gem on OSX for a long time !<br><br>here is my config :<br>OS 10.6.7<br>Pd extended 42.5<br>Gem svn rev. 4041<br><br>my config line is exactly the same as Nicolas :<br>
CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl<br><br><a href="http://configure.ac:45" target="_blank">configure.ac:45</a>: required file `extra/pix_drum/Makefile.in' not found<br>
<br>and there is no Makefile.in in this folder...<br>so i copied the Makefile.in of the extras/pix_nano folder<br><br>then the configure script ended correctly (just after fixing a small path error)<br><br>but make failed on filmDarwin and the first two errors are : <br>
filmDarwin.h:28:28: error: Carbon/carbon.h: No such file or directory<br>filmDarwin.h:29:34: error: QuickTime/quicktime.h: No such file or directory<br><br>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) <br>
as my file system is case sensitive, i've change the include in fileDarwin.h<br><br>after that fileDarwin still doesn't want to be build... here is a log : <br>Making all in filmDarwin<br>/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<br>
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<br>
filmDarwin.cpp: In member function 'virtual void gem::filmDarwin::close()':<br>filmDarwin.cpp:64: warning: 'DisposeGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230)<br>
filmDarwin.cpp:64: warning: 'DisposeGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:230)<br>filmDarwin.cpp: In member function 'virtual bool gem::filmDarwin::open(char*, int)':<br>
filmDarwin.cpp:188: warning: 'GetGWorldDevice' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:420)<br>filmDarwin.cpp:188: warning: 'GetGWorldDevice' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:420)<br>
filmDarwin.cpp:193: error: jump to label 'unsupported'<br>filmDarwin.cpp:105: error: from here<br>filmDarwin.cpp:128: error: crosses initialization of 'MediaType** trackMedia'<br>filmDarwin.cpp:124: error: crosses initialization of 'TrackType** movieTrack'<br>
filmDarwin.cpp:193: error: jump to label 'unsupported'<br>filmDarwin.cpp:91: error: from here<br>filmDarwin.cpp:128: error: crosses initialization of 'MediaType** trackMedia'<br>filmDarwin.cpp:124: error: crosses initialization of 'TrackType** movieTrack'<br>
filmDarwin.cpp: In member function 'virtual pixBlock* gem::filmDarwin::getFrame()':<br>filmDarwin.cpp:210: warning: 'GetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:244)<br>
filmDarwin.cpp:210: warning: 'GetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:244)<br>filmDarwin.cpp:211: warning: 'SetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:258)<br>
filmDarwin.cpp:211: warning: 'SetGWorld' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:258)<br>filmDarwin.cpp:214: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484)<br>
filmDarwin.cpp:214: warning: 'GetGWorldPixMap' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/QDOffscreen.h:484)<br>make[2]: *** [gem_filmDarwin_la-filmDarwin.lo] Error 1<br>
make[1]: *** [all-recursive] Error 1<br>make: *** [all-recursive] Error 1<br><br>then I run this :<br>CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include --without-ftgl --with-film=plugins<br>
<br>but make still try to build filmDarwin...<br>and i have no Gem.pd_Darwin anywhere... :-(<br><br>thanks to you !<br><br>antoine<br clear="all">-- <br>do it yourself <br><a href="http://antoine.villeret.free.fr" target="_blank">http://antoine.villeret.free.fr</a> <br>
<a href="http://drii.ensad.fr" target="_blank">http://drii.ensad.fr</a><br>
--<br>Google lit ce mail... <br>si vous refusez cela, utilisez l'adresse antoine.villeret [at] <a href="http://free.fr" target="_blank">free.fr</a> pour me contacter<br><br>
<br><br><div class="gmail_quote">2011/6/10 Nicolas Montgermont <span dir="ltr"><<a href="mailto:nicolas_montgermont@yahoo.fr" target="_blank">nicolas_montgermont@yahoo.fr</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Iohannes,<br>
<br>
Le 10/06/11 13:44, IOhannes zmölnig a écrit :<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 06/10/2011 12:33 PM, Nicolas Montgermont wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
right again, i've copied every plugin the harsch way with<br>
sudo cp plugins/*/.libs/*.so<br>
/Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/<br>
</blockquote>
i usually prefer links, as it allows for easier updating.<br>
but then of course, you might also incidentially update something which<br>
you did not intend....<br>
</blockquote></div>
yes it should be nice but i have problem with links, in src when i do:<br>
sudo ln -s .libs/Gem.pd_darwin /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/<br>
sudo ln -s plugins/*/.libs/*.so /Applications/Pd-extended-test.app/Contents/Resources/extra/Gem/<br>
none of the Gem object can create themselves...<br>
but copying (same rights) is working...<div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
so please run svn update, and "make" again (you shouldn't need to run<br>
autogen and configure again, as this should be done automatically for you)<br>
</blockquote></div>
cool, pix_video is working well here!<br>
but pix_movie and pix_film aren't:<br>
error: [pix_movie]: unable to open file: XXX<br>
error: [pix_film]: unable to open file: XXX<br>
<br>
very close from the finish line :p<br>
best,<div><div></div><div><br>
<br>
n<br>
<br>
-- <br>
<a href="http://nim.on.free.fr" target="_blank">http://nim.on.free.fr</a><br>
<br>
_______________________________________________<br>
GEM-dev mailing list<br>
<a href="mailto:GEM-dev@iem.at" target="_blank">GEM-dev@iem.at</a><br>
<a href="http://lists.puredata.info/listinfo/gem-dev" target="_blank">http://lists.puredata.info/listinfo/gem-dev</a><br>
</div></div></blockquote></div><br>