Le 09/06/11 20:00, IOhannes zmölnig a écrit :
On 06/09/2011 07:09 PM, Nicolas Montgermont wrote:
ok my conf line is now: /configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --enable-fat-binary=i386 --without-ftgl
that reminds me: i think that the "--enable-fat-binary" flag currently does nothing. until this is fixed, you might have to specify "CXXFLAGS=-arch i386"
sorry for the inconvenience.
no prob, here is my conf now: CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl
at a moment it stops compiling, so here is the output of make -k:
make -k Making all in Base make all-am /bin/sh ../pkgversion.sh ../version.h /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-GemVersion.lo -MD -MP -MF .deps/libBase_la-GemVersion.Tpo -c -o libBase_la-GemVersion.lo `test -f 'GemVersion.cpp' || echo './'`GemVersion.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-GemVersion.lo -MD -MP -MF .deps/libBase_la-GemVersion.Tpo -c GemVersion.cpp -fno-common -DPIC -o .libs/libBase_la-GemVersion.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-GemVersion.lo -MD -MP -MF .deps/libBase_la-GemVersion.Tpo -c GemVersion.cpp -o libBase_la-GemVersion.o >/dev/null 2>&1 mv -f .deps/libBase_la-GemVersion.Tpo .deps/libBase_la-GemVersion.Plo /bin/sh ../libtool --tag=CXX --mode=link g++ -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL -o libBase.la libBase_la-CPPExtern.lo libBase_la-GemBase.lo libBase_la-GemCache.lo libBase_la-GemContext.lo libBase_la-GemContextData.lo libBase_la-GemDylib.lo libBase_la-GemEvent.lo libBase_la-GemException.lo libBase_la-GemFiles.lo libBase_la-GemFuncUtil.lo libBase_la-GemGluObj.lo libBase_la-GemGLUtil.lo libBase_la-GemLoaders.lo libBase_la-GemLoadObj.lo libBase_la-GemMan.lo libBase_la-GemModelData.lo libBase_la-GemPathBase.lo libBase_la-GemPBuffer.lo libBase_la-GemPixConvertAltivec.lo libBase_la-GemPixConvertSSE2.lo libBase_la-GemPixDualObj.lo libBase_la-GemPixImageLoad.lo libBase_la-GemPixImageSave.lo libBase_la-GemPixObj.lo libBase_la-GemPixUtil.lo libBase_la-GemSettings.lo libBase_la-GemSetup.lo libBase_la-GemShape.lo libBase_la-GemSIMD.lo libBase_la-GemState.lo libBase_la-GemVector.lo libBase_la-GemVersion.lo libBase_la-GemVertex.lo libBase_la-GemWinCreateMac.lo libBase_la-GemWinCreateNT.lo libBase_la-GemWinCreateXWin.lo libBase_la-GemWindow.lo libBase_la-glew.lo libBase_la-GLStack.lo libBase_la-Matrix.lo libBase_la-Properties.lo libBase_la-TextBase.lo libBase_la-ThreadMutex.lo -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ -ldl -lz -lm -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ libtool: link: rm -fr .libs/libBase.a .libs/libBase.la libtool: link: ar cru .libs/libBase.a .libs/libBase_la-CPPExtern.o .libs/libBase_la-GemBase.o .libs/libBase_la-GemCache.o .libs/libBase_la-GemContext.o .libs/libBase_la-GemContextData.o .libs/libBase_la-GemDylib.o .libs/libBase_la-GemEvent.o .libs/libBase_la-GemException.o .libs/libBase_la-GemFiles.o .libs/libBase_la-GemFuncUtil.o .libs/libBase_la-GemGluObj.o .libs/libBase_la-GemGLUtil.o .libs/libBase_la-GemLoaders.o .libs/libBase_la-GemLoadObj.o .libs/libBase_la-GemMan.o .libs/libBase_la-GemModelData.o .libs/libBase_la-GemPathBase.o .libs/libBase_la-GemPBuffer.o .libs/libBase_la-GemPixConvertAltivec.o .libs/libBase_la-GemPixConvertSSE2.o .libs/libBase_la-GemPixDualObj.o .libs/libBase_la-GemPixImageLoad.o .libs/libBase_la-GemPixImageSave.o .libs/libBase_la-GemPixObj.o .libs/libBase_la-GemPixUtil.o .libs/libBase_la-GemSettings.o .libs/libBase_la-GemSetup.o .libs/libBase_la-GemShape.o .libs/libBase_la-GemSIMD.o .libs/libBase_la-GemState.o .libs/libBase_la-GemVector.o .libs/libBase_la-GemVersion.o .libs/libBase_la-GemVertex.o .libs/libBase_la-GemWinCreateMac.o .libs/libBase_la-GemWinCreateNT.o .libs/libBase_la-GemWinCreateXWin.o .libs/libBase_la-GemWindow.o .libs/libBase_la-glew.o .libs/libBase_la-GLStack.o .libs/libBase_la-Matrix.o .libs/libBase_la-Properties.o .libs/libBase_la-TextBase.o .libs/libBase_la-ThreadMutex.o /usr/bin/ranlib: file: .libs/libBase.a(libBase_la-GemModelData.o) has no symbols /usr/bin/ranlib: file: .libs/libBase.a(libBase_la-GemPixConvertAltivec.o) has no symbols /usr/bin/ranlib: file: .libs/libBase.a(libBase_la-GemWinCreateNT.o) has no symbols /usr/bin/ranlib: file: .libs/libBase.a(libBase_la-GemWinCreateXWin.o) has no symbols libtool: link: ranlib .libs/libBase.a ranlib: file: .libs/libBase.a(libBase_la-GemModelData.o) has no symbols ranlib: file: .libs/libBase.a(libBase_la-GemPixConvertAltivec.o) has no symbols ranlib: file: .libs/libBase.a(libBase_la-GemWinCreateNT.o) has no symbols ranlib: file: .libs/libBase.a(libBase_la-GemWinCreateXWin.o) has no symbols libtool: link: ( cd ".libs" && rm -f "libBase.la" && ln -s "../libBase.la" "libBase.la" ) Making all in RTE make[1]: Nothing to be done for `all'. Making all in plugins Making all in imageMAGICK make[2]: Nothing to be done for `all'. Making all in imageTIFF make[2]: Nothing to be done for `all'. Making all in imageJPEG make[2]: Nothing to be done for `all'. Making all in imageSGI make[2]: Nothing to be done for `all'. Making all in imageQT make[2]: Nothing to be done for `all'. Making all in filmAVI make[2]: Nothing to be done for `all'. Making all in filmAVIPLAY make[2]: Nothing to be done for `all'. Making all in filmDS make[2]: Nothing to be done for `all'. 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::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[2]: Target `all' not remade because of errors. Making all in filmGMERLIN make[2]: Nothing to be done for `all'. Making all in filmMPEG1 make[2]: Nothing to be done for `all'. Making all in filmMPEG3 make[2]: Nothing to be done for `all'. Making all in filmQT make[2]: Nothing to be done for `all'. Making all in filmQT4L make[2]: Nothing to be done for `all'. Making all in recordQT make[2]: Nothing to be done for `all'. Making all in recordQT4L make[2]: Nothing to be done for `all'. Making all in recordV4L make[2]: Nothing to be done for `all'. Making all in recordV4L2 make[2]: Nothing to be done for `all'. Making all in videoDC1394 make[2]: Nothing to be done for `all'. Making all in videoDS make[2]: Nothing to be done for `all'. Making all in videoDV4L make[2]: Nothing to be done for `all'. Making all in videoDarwin make[2]: Nothing to be done for `all'. Making all in videoSGI make[2]: Nothing to be done for `all'. Making all in videoUNICAP make[2]: Nothing to be done for `all'. Making all in videoV4L make[2]: Nothing to be done for `all'. Making all in videoV4L2 make[2]: Nothing to be done for `all'. Making all in videoVFW make[2]: Nothing to be done for `all'. Making all in videoAVT make all-am Making all in videoHALCON make all-am Making all in videoPYLON make all-am make[2]: Nothing to be done for `all-am'. make[1]: *** [all-recursive] Error 1 make[1]: Target `all' not remade because of errors. Making all in Controls make[1]: Nothing to be done for `all'. Making all in Geos make[1]: Nothing to be done for `all'. Making all in Manips make[1]: Nothing to be done for `all'. Making all in Nongeos make[1]: Nothing to be done for `all'. Making all in openGL make[1]: Nothing to be done for `all'. Making all in Particles make[1]: Nothing to be done for `all'. Making all in Pixes make[1]: Nothing to be done for `all'. /bin/sh ./libtool --tag=CXX --preserve-dup-deps --mode=link g++ -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -arch i386 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -module -avoid-version -shared -shrext .pd_darwin -bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL -o Gem.la -rpath /usr/local/lib/pd/extra/Gem -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ Base/libBase.la RTE/libRTE.la plugins/libplugins.la Controls/libControls.la Geos/libGeos.la Manips/libManips.la Nongeos/libNongeos.la openGL/libopenGL.la Particles/libParticles.la Pixes/libPixes.la -ldl -lz -lm -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ libtool: link: rm -fr .libs/Gem.la .libs/Gem.lai .libs/Gem.pd_darwin libtool: link: g++ -Wl,-undefined -Wl,dynamic_lookup -o .libs/Gem.pd_darwin -bundle -Wl,-force_load,Base/.libs/libBase.a -Wl,-force_load,RTE/.libs/libRTE.a -Wl,-force_load,plugins/.libs/libplugins.a -Wl,-force_load,Controls/.libs/libControls.a -Wl,-force_load,Geos/.libs/libGeos.a -Wl,-force_load,Manips/.libs/libManips.a -Wl,-force_load,Nongeos/.libs/libNongeos.a -Wl,-force_load,openGL/.libs/libopenGL.a -Wl,-force_load,Particles/.libs/libParticles.a -Wl,-force_load,Pixes/.libs/libPixes.a -lstdc++ -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ -ldl -lz -lm -arch i386 -Os -mmmx -mmacosx-version-min=10.3 -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL libtool: link: ( cd ".libs" && rm -f "Gem.la" && ln -s "../Gem.la" "Gem.la" ) make: *** [all-recursive] Error 1 make: Target `all' not remade because of errors.
but good news! there is a Gem.pd_darwin in the .libs subdirectory. I have tried it with the examples of Pd-extended-0.42.5, and it's mainly working for example: 02.advanced/01.separator 10.glsl/09.GPGPU-physical_model are working
but the pix-image help patch is not (black screen) thx for your help, n