Le 09/06/11 18:25, IOhannes zmölnig a écrit :
On 06/09/2011 05:37 PM, Nicolas Montgermont wrote:
so it's only a problem of adding "freetype2" before the relative search, i have made a alias with: ln -s /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/freetype2/freetype /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/freetype
probably an even better idea would have been to add "-I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/freetype2/" to the CXXFLAGS (or CPPFLAGS) you pass at the cmdline.
ok
while trying the same on my machine, i also noticed a show-stopper when doing the final linking with FTGL. until this is ironed out, it would be interesting (for me) how far you get if you disable FTGL alltogether (which obviously won't give you FONT rendering support, but hopefully it will make creating a somewhat useable binary more easy)
ok my conf line is now: /configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --enable-fat-binary=i386 --without-ftgl
when i run make, it still stop at the Quicktime image loader. running make -k twice, i have this:
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/ -g -O2 -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/ -g -O2 -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/ -g -O2 -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/ -g -O2 -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-GemWinCreateMac.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-GemWinCreateMac.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 /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 -g -O2 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT gem_imageQT_la-imageQT.lo -MD -MP -MF .deps/gem_imageQT_la-imageQT.Tpo -c -o gem_imageQT_la-imageQT.lo `test -f 'imageQT.cpp' || echo './'`imageQT.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../Base -I../.. -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ -framework QuickTime -g -O2 -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT gem_imageQT_la-imageQT.lo -MD -MP -MF .deps/gem_imageQT_la-imageQT.Tpo -c imageQT.cpp -fno-common -DPIC -o .libs/gem_imageQT_la-imageQT.o imageQT.cpp:246:2: warning: #warning output format imageQT.cpp:135: error: 'GraphicsImportComponent' was not declared in this scope imageQT.cpp:135: error: expected primary-expression before '&' token imageQT.cpp:135: error: 'result' was not declared in this scope imageQT.cpp:135: error: initializer expression list treated as compound expression imageQT.cpp:136: error: expected ',' or ';' before '{' token make[2]: *** [gem_imageQT_la-imageQT.lo] Error 1 make[2]: Target `all' not remade because of errors. 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 make[2]: Nothing to be done for `all'. 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/ -g -O2 -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 -arch i386 -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 -O2 -Os -mmmx -arch i386 -mmacosx-version-min=10.3 -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL ld: warning: in Base/.libs/libBase.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in RTE/.libs/libRTE.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in plugins/.libs/libplugins.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Controls/.libs/libControls.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Geos/.libs/libGeos.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Manips/.libs/libManips.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Nongeos/.libs/libNongeos.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in openGL/.libs/libopenGL.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Particles/.libs/libParticles.a, file was built for unsupported file format which is not the architecture being linked (i386) ld: warning: in Pixes/.libs/libPixes.a, file was built for unsupported file format which is not the architecture being linked (i386) 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.
is that the info you want? n