[GEM-dev] compiling GEM on osx

Nicolas Montgermont nicolas_montgermont at yahoo.fr
Mon Jun 20 20:53:15 CEST 2011


ok i get it,

so I choose the more pertinent backend *.so for each type (film, image, 
record, video) and i copy it next to my Gem.pd_darwin.
but i have a problem cause i have no gemfilm_Darwin.so:
ls plugins/*/.libs/*.so
plugins/filmAVI/.libs/gem_filmAVI.so        
plugins/imageJPEG/.libs/gem_imageJPEG.so    
plugins/recordV4L2/.libs/gem_recordV4L2.so    
plugins/videoSGI/.libs/gem_videoSGI.so
plugins/filmAVIPLAY/.libs/gem_filmAVIPLAY.so    
plugins/imageMAGICK/.libs/gem_imageMAGICK.so    
plugins/videoAVT/.libs/gem_videoAVT.so        
plugins/videoUNICAP/.libs/gem_videoUNICAP.so
plugins/filmDS/.libs/gem_filmDS.so        
plugins/imageQT/.libs/gem_imageQT.so        
plugins/videoDC1394/.libs/gem_videoDC1394.so    
plugins/videoV4L/.libs/gem_videoV4L.so
plugins/filmGMERLIN/.libs/gem_filmGMERLIN.so    
plugins/imageSGI/.libs/gem_imageSGI.so        
plugins/videoDS/.libs/gem_videoDS.so        
plugins/videoV4L2/.libs/gem_videoV4L2.so
plugins/filmMPEG1/.libs/gem_filmMPEG1.so    
plugins/imageTIFF/.libs/gem_imageTIFF.so    
plugins/videoDV4L/.libs/gem_videoDV4L.so    
plugins/videoVFW/.libs/gem_videoVFW.so
plugins/filmMPEG3/.libs/gem_filmMPEG3.so    
plugins/recordQT/.libs/gem_recordQT.so        
plugins/videoDarwin/.libs/gem_videoDarwin.so
plugins/filmQT/.libs/gem_filmQT.so        
plugins/recordQT4L/.libs/gem_recordQT4L.so    
plugins/videoHALCON/.libs/gem_videoHALCON.so
plugins/filmQT4L/.libs/gem_filmQT4L.so        
plugins/recordV4L/.libs/gem_recordV4L.so    
plugins/videoPYLON/.libs/gem_videoPYLON.so

here is the result of make -k concerning this part:

Making all in filmDarwin
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I../../Base  -I../..  -DPD 
-I/Applications/Pd-extended.app/Contents/Resources/include/pd/ 
-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../.. -DPD 
-I/Applications/Pd-extended.app/Contents/Resources/include/pd/ 
-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::plugins::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::plugins::filmDarwin::open(std::string, 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::plugins::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

rev 4063, and i compiled using your last instructions.
any idea?
n
-- 
http://nim.on.free.fr



More information about the GEM-dev mailing list