Hello all,
I'm trying to compile GEM svn under OSX (10.6) but I am having some problems. i have tried with xcode and terminal.
in the terminal, i have run aclocal
then ./autogen.sh
and then I run this line in the terminal: PKG_FTGL_CFLAGS="-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype\ include/ -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/" PKG_FTGL_LIBS="/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/mac/build/Universal/libftgl.a" CXXFLAGS="-I/usr/X11/include" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --enable-fat-binary=i386
the configuration seems ok, here is the log: Result: Target : Gem.pd_darwin Objects :
Configuration: Compiler : g++ CXXFLAGS : -I/usr/X11/include -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings : -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype\ include/ -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/ INCLUDES : DEFINES :
LIBS : -ldl -lz -lm -L/Applications/Pd-extended.app/Contents/Resources/include/pd/ : /Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/mac/build/Universal/libftgl.a LDFLAGS : -bundle -mmacosx-version-min=10.3 -undefined dynamic_lookup -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -framework OpenGL :
Strip : strip -x
Install path : /usr/local
pure-data: version : 0.42 extension : pd_darwin
used optional libraries:
font-rendering : FTGL
image-support use ImageMagick : no use TIFF : no use JPEG : no moviefile-support use PLUGINS : no (using Darwin backend) use mpeg : no use mpeg-3 : no use QuickTime : yes (framework) use aviplay : no use gmerlin : no capture-support use PLUGINS : no (using Darwin backend) use v4l : use ieee1394 :
but when i make i run into an error:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ "-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/" -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/ -I/usr/X11/include -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-TextBase.lo -MD -MP -MF .deps/libBase_la-TextBase.Tpo -c TextBase.cpp -fno-common -DPIC -o .libs/libBase_la-TextBase.o In file included from /Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/FTFont.h:4, from TextBase.h:37, from TextBase.cpp:22: /usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
do you have any idea of what is missing? am i including the bad ft2build.h header? i have these others: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/ft2build.h /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/ft2build.h /usr/X11/include/ft2build.h
but including the one in the 10.6 SDK give me the same error.
I am building against Pd-extended-0.42.5 on mac osx 10.6.7
i'd like to use the last version of gem :) thanks for your time,
nicolas
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-09 16:06, Nicolas Montgermont wrote:
Hello all,
I'm trying to compile GEM svn under OSX (10.6) but I am having some
cool.
however please note, that while in my last email i said that my changes were "a step towards making Gem compile on OSX-10.6", i don't claim (nor believe) that you can currently build Gem on 10.6 "just so".
problems. i have tried with xcode and terminal.
the xcode project have not been updated in a long time.
in the terminal, i have run aclocal
then ./autogen.sh
[...]
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ "-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/" -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/ -I/usr/X11/include -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-TextBase.lo -MD -MP -MF .deps/libBase_la-TextBase.Tpo -c TextBase.cpp -fno-common -DPIC -o .libs/libBase_la-TextBase.o In file included from /Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/FTFont.h:4, from TextBase.h:37, from TextBase.cpp:22: /usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
do you have a file "freetype/config/ftheader.h" on your disk? where? here it is in the equivalent of "/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/freetype/config/ftheader.h"
do you have any idea of what is missing? am i including the bad ft2build.h header? i have these others: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/ft2build.h /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/ft2build.h /usr/X11/include/ft2build.h
i don't like the notion of X11 here.
but including the one in the 10.6 SDK give me the same error.
I am building against Pd-extended-0.42.5 on mac osx 10.6.7
i'd like to use the last version of gem :)
understandable.
fgsmdft IOhannes
Le 09/06/11 16:44, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-09 16:06, Nicolas Montgermont wrote:
Hello all,
I'm trying to compile GEM svn under OSX (10.6) but I am having some
cool.
however please note, that while in my last email i said that my changes were "a step towards making Gem compile on OSX-10.6", i don't claim (nor believe) that you can currently build Gem on 10.6 "just so".
ok, let's try to go one step further then :)
problems. i have tried with xcode and terminal.
the xcode project have not been updated in a long time.
it's 173 errors but the first one is at the same line.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ "-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/" -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/ -I/usr/X11/include -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-TextBase.lo -MD -MP -MF .deps/libBase_la-TextBase.Tpo -c TextBase.cpp -fno-common -DPIC -o .libs/libBase_la-TextBase.o In file included from /Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/FTFont.h:4, from TextBase.h:37, from TextBase.cpp:22: /usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
do you have a file "freetype/config/ftheader.h" on your disk? where? here it is in the equivalent of "/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/freetype/config/ftheader.h"
locate ftheader.h /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/freetype2/freetype/config/ftheader.h /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/freetype2/freetype/config/ftheader.h /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/freetype2/freetype/config/ftheader.h /usr/X11/include/freetype2/freetype/config/ftheader.h
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
and the compilation goes further and stops at: Making all in imageQT /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../Base -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include -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/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include -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[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
do you have any idea of what is missing? am i including the bad ft2build.h header? i have these others: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/ft2build.h /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/ft2build.h /usr/X11/include/ft2build.h
i don't like the notion of X11 here.
i am not sure of what you mean. i have return to the ones in the 10.6 SDK. my conf line is now: PKG_FTGL_CFLAGS="-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype\ include/ -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/" PKG_FTGL_LIBS="/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/mac/build/Universal/libftgl.a" INCLUDES="-I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --enable-fat-binary=i386
but including the one in the 10.6 SDK give me the same error.
I am building against Pd-extended-0.42.5 on mac osx 10.6.7
i'd like to use the last version of gem :)
understandable.
thx for the fast answer. best,
n
On 06/09/2011 05:37 PM, Nicolas Montgermont wrote:
problems. i have tried with xcode and terminal.
the xcode project have not been updated in a long time.
it's 173 errors but the first one is at the same line.
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -DHAVE_VERSION_H -DPD -I/Applications/Pd-extended.app/Contents/Resources/include/pd/ "-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/" -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/ -I/usr/X11/include -fPIC -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libBase_la-TextBase.lo -MD -MP -MF .deps/libBase_la-TextBase.Tpo -c TextBase.cpp -fno-common -DPIC -o .libs/libBase_la-TextBase.o In file included from /Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/FTFont.h:4, from TextBase.h:37, from TextBase.cpp:22: /usr/X11/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
do you have a file "freetype/config/ftheader.h" on your disk? where? here it is in the equivalent of "/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype include/freetype/config/ftheader.h"
locate ftheader.h /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/freetype2/freetype/config/ftheader.h
/Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/freetype2/freetype/config/ftheader.h
/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/freetype2/freetype/config/ftheader.h
/usr/X11/include/freetype2/freetype/config/ftheader.h
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.
and the compilation goes further and stops at: Making all in imageQT /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../Base -I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include -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/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include -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[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1
not very surprisingly, as this was the code that also failed before factoring out the QuickTime image loading. in the meantime you could just ignore the error by passing "-k" to the 'make' invocation.
do you have any idea of what is missing? am i including the bad ft2build.h header? i have these others: /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h /Developer/SDKs/MacOSX10.5.sdk/usr/X11/include/ft2build.h /Developer/SDKs/MacOSX10.6.sdk/usr/X11/include/ft2build.h /usr/X11/include/ft2build.h
i don't like the notion of X11 here.
i am not sure of what you mean. i have return to the ones in the 10.6 SDK. my conf line is now: PKG_FTGL_CFLAGS="-I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/freetype\ include/ -I/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/include/" PKG_FTGL_LIBS="/Users/nix/gem/pd-gem/trunk/GemLibs/FTGL/mac/build/Universal/libftgl.a" INCLUDES="-I/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --enable-fat-binary=i386
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)
fmasr IOhannes
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
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.
when i run make, it still stop at the Quicktime image loader. running make -k twice, i have this:
i committed a small fix to imageQT that prevents it from being built on x86_64 (sic!)
[...]
"Gem.la" ) make: *** [all-recursive] Error 1 make: Target `all' not remade because of errors.
which is ok, as the total build fails because one of the targets (imageQT) failed. however you should have gotten a Gem.pd_darwin in your tree.
oh wait.... it says that it cannot link Gem.la! the problems seems to be: - the compiler runs without the "-arch i386" flag, since the "--enable-fat-binary" flag is ignored here; it thus produces x86_64 objects - the linker, however, accepts the "--enable-fat-binary" flag, and tries to link the x86_64 objects into a i386 binary, which obivously fails :-(
anyhow: i tried building Gem on an OSX-10.6 machine which i have access to, without much arch configuration (which would default to x86_64), and the compilation succeeds (after my small fix to imageQT) however, i cannot test the resulting binary at all (no physical access right now), and i doubt whether it would work in a satisfactory manner, as the window creation code is turned off on 64bit (due to the QuickTime dependency)
building as i386 is therefore still required and you should be able to do this by adding to the CXXFLAGS (see above).
hope this helps.
fgamsr IOhannes
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
On 06/09/2011 09:29 PM, Nicolas Montgermont wrote:
but good news! there is a Gem.pd_darwin in the .libs subdirectory.
great. there should, however, be a link to the binary in your src/ folder
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
since the image loading code is now a plugin as well, you might have to put gem_imageQT.so (as found in plugins/imageQT/.libs) besides your Gem.pd_darwin.
simplest should be to make sure there are links to both Gem.pd_darwin and gem_imageQT.so in your src/ directory.
gfmasdr IOhannes
Le 10/06/11 10:53, IOhannes zmölnig a écrit :
On 06/09/2011 09:29 PM, Nicolas Montgermont wrote:
but good news! there is a Gem.pd_darwin in the .libs subdirectory.
great. there should, however, be a link to the binary in your src/ folder
right, I missed it.
since the image loading code is now a plugin as well, you might have to put gem_imageQT.so (as found in plugins/imageQT/.libs) besides your Gem.pd_darwin.
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/
and images are working! but videos and webcam does not would you like more details?
n
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....
and images are working! but videos and webcam does not would you like more details?
no :-)
problem is, that the default on OSX use(d) to be to _not_ use plugins for film/video. i changed that now in the configure script. 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)
also, i hope that i fixed the multi-arch building (so "--enable-fat-binary=i386" should work now)
fgamnrds IOhannes
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
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
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
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.fr http://free.fr pour me contacter
2011/6/12 Antoine Villeret <antoine.villeret@gmail.com mailto: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 <http://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.fr <http://free.fr> pour me contacter 2011/6/10 Nicolas Montgermont <nicolas_montgermont@yahoo.fr <mailto: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 -- http://nim.on.free.fr _______________________________________________ GEM-dev mailing list GEM-dev@iem.at <mailto:GEM-dev@iem.at> http://lists.puredata.info/listinfo/gem-dev
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-10 22:00, Nicolas Montgermont wrote:
Hello Iohannes,
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
hmm, is there any printout about supported backends? i get: pix_film:: Darwin support
when creating the first [pix_film] (and obviously there is a gem_filmDarwin.so)
fmasdrt IOhannes
Le 15/06/11 14:16, IOhannes m zmoelnig a écrit :
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
hmm, is there any printout about supported backends? i get: pix_film:: Darwin support
yes I have: pix_film:: QuickTime support it's different for pix_video: [pix_video]: backend #0='Darwin' SG channnel Device List count 3 index 2
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-15 19:01, Nicolas Montgermont wrote:
Le 15/06/11 14:16, IOhannes m zmoelnig a écrit :
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
hmm, is there any printout about supported backends? i get: pix_film:: Darwin support
yes I have: pix_film:: QuickTime support it's different for pix_video: [pix_video]: backend #0='Darwin' SG channnel Device List count 3 index 2
hmm, why are you using the QuickTime backend in the first place? do you _have_ a working gem_filmDarwin backend? that's the preferred way to load films on OSX.
filmQT is mainly used for QuickTime4Windows. however, i think i managed to fix the issues on OSX now (svn:4050), so now both filmQT and filmDarwin should work (and provide virtually the same functionality)
gfmasdr IOhannes
Le 16/06/11 18:23, IOhannes m zmoelnig a écrit :
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-15 19:01, Nicolas Montgermont wrote:
yes I have: pix_film:: QuickTime support it's different for pix_video: [pix_video]: backend #0='Darwin' SG channnel Device List count 3 index 2
hmm, why are you using the QuickTime backend in the first place?
I have no idea.
do you _have_ a working gem_filmDarwin backend? that's the preferred way to load films on OSX.
I don't know, I've tried to create [pix_movieDarwin] but it fails, how can I test that?
filmQT is mainly used for QuickTime4Windows. however, i think i managed to fix the issues on OSX now (svn:4050), so now both filmQT and filmDarwin should work (and provide virtually the same functionality)
rev 4062, i recompile and have another weird error now: error: GEM: pix_film: Unable to find file: /Users/nix/Desktop/Corpus.mov QuickTime failed ...[pix_movie]: ... [pix_movie]: ... giving up! error: [pix_movie]: unable to open file: /Users/nix/Desktop/Corpus.mov
the file is definitely here.
it may be related to special lines when recompiling, lots of: running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl CXXFLAGS=-arch i386 --no-create --no-recursion configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." make[3]: *** [config.status] Error 1
trying to reconfigure gives me: CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
is it normal? best n
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06/17/2011 08:17 PM, Nicolas Montgermont wrote:
do you _have_ a working gem_filmDarwin backend? that's the preferred way to load films on OSX.
I don't know, I've tried to create [pix_movieDarwin] but it fails, how can I test that?
oh, forget [pix_movieDarwin].
the current idea is: - - there is only a single [pix_film] (or [pix_movie]) object. - - various backends are provided using a plugin system. - - there are plugins for e.g gmerlin (called "gem_filmGMERLIN.so"), for 'QuickTime' ("gem_filmQT.so", this is what used to be [pix_filmQT] and is mainly for w32), for 'Darwin' ("gem_filmDarwin.so"; this is QuickTime as well, but it's what was used for [pix_filmDarwin]).
so you should make sure that you have the "Darwin"-backend == "gem_filmDarwin.so" in your path. then [pix_film] should give you a line like "pix_film:: Darwin support".
you could have both gem_filmDarwin.so and gem_filmQT.so in your path, and Gem will try each backends until it finds one that is able to open the file.
it may be related to special lines when recompiling, lots of: running CONFIG_SHELL=/bin/sh /bin/sh ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl CXXFLAGS=-arch i386 --no-create --no-recursion configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.." make[3]: *** [config.status] Error 1
trying to reconfigure gives me: CXXFLAGS="-arch i386" ./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/ --without-ftgl configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."
is it normal?
well it's not "normal", but it is expected. again i did some more cleanups and removed some leftover files that are generated by autotools, namely "install.sh" and "Base/config.h.in".
i hope this was the last major change here (but who knows...)
so in order to get it to compile again, do:
$ ./autogen.sh $ ./config.state --recheck $ ./config.state $ make
fmgadsr IOhannes
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-09 16:06, Nicolas Montgermont wrote:
Hello all,
do you have any idea of what is missing? am i including the bad ft2build.h header?
so i tried to build Gem on OSX using a static version of FTGL and eventually succeeded. i wrote everything down in the FAQ [1].
short summary: build freetype & ftgl as (multiarch and) _static_. and install. then link Gem against it.
f gasmdr IOhannes
[1] http://puredata.info/community/projects/software/gem/documentation/faq/how-d...
Le 14/06/11 12:46, IOhannes m zmoelnig a écrit :
so i tried to build Gem on OSX using a static version of FTGL and eventually succeeded. i wrote everything down in the FAQ [1].
ok cool, i'll try that as soon as I have time.
short summary: build freetype& ftgl as (multiarch and) _static_. and install. then link Gem against it.
just for the information, i thought to build statically on osx, one has to link against the *.a lib like: "/usr/local/lib/libftgl.a" instead of "-lftgl" but in your code you use the second way. Is there another way of linking statically?
thx nicolas
btw: i think the gem faq could be linked in the left menu of the puredata.info documentation folder: http://puredata.info/docs/ i juste tried, but didn't succeed... does someone now a simple way to do that?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-14 14:07, Nicolas Montgermont wrote:
Le 14/06/11 12:46, IOhannes m zmoelnig a écrit :
so i tried to build Gem on OSX using a static version of FTGL and eventually succeeded. i wrote everything down in the FAQ [1].
ok cool, i'll try that as soon as I have time.
short summary: build freetype& ftgl as (multiarch and) _static_. and install. then link Gem against it.
just for the information, i thought to build statically on osx, one has to link against the *.a lib like: "/usr/local/lib/libftgl.a" instead of "-lftgl" but in your code you use the second way. Is there another way of linking statically
it should work in my case, since i explicitely built freetype and ftgl as static-only (--disable-shared); so there is no libftgl.dylib anywhere to be found and thus the linker will be forced to do static linking.
otoh, i just noticed that my built failed again (at least, the binary was not useable) tweaking around with the .la files can fix the problem, but of course this is no real solution.
otoh, if you build freetype and FTGL like normal (enabling (or: not disabling) the building of a shared lib), the "-lftgl -lfreetype" should work fine however, this will make your Gem depend on freetype/FTGL being installed on the target system (which might be ok for your machine, but is suboptimal for distributable binaries)
fgmasdr IOhannes
On Jun 14, 2011, at 9:00 AM, IOhannes m zmoelnig wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2011-06-14 14:07, Nicolas Montgermont wrote:
Le 14/06/11 12:46, IOhannes m zmoelnig a écrit :
so i tried to build Gem on OSX using a static version of FTGL and eventually succeeded. i wrote everything down in the FAQ [1].
ok cool, i'll try that as soon as I have time.
short summary: build freetype& ftgl as (multiarch and) _static_. and install. then link Gem against it.
just for the information, i thought to build statically on osx, one has to link against the *.a lib like: "/usr/local/lib/libftgl.a" instead of "-lftgl" but in your code you use the second way. Is there another way of linking statically
it should work in my case, since i explicitely built freetype and ftgl as static-only (--disable-shared); so there is no libftgl.dylib anywhere to be found and thus the linker will be forced to do static linking.
otoh, i just noticed that my built failed again (at least, the binary was not useable) tweaking around with the .la files can fix the problem, but of course this is no real solution.
otoh, if you build freetype and FTGL like normal (enabling (or: not disabling) the building of a shared lib), the "-lftgl -lfreetype" should work fine however, this will make your Gem depend on freetype/FTGL being installed on the target system (which might be ok for your machine, but is suboptimal for distributable binaries)
fgmasdr IOhannes
If you are going to be building Gem on OSX more than once, I highly recommend using Fink for all of your dependencies. They are already inlcuded in Fink, its much easier than managing it yourself, and Pd- extended has been building Gem against Fink for years. I also maintain some of the relevant packages, so if things need fixing, I can do it.
http://pdb.finkproject.org/pdb/browse.php?maintainer=Hans-Christoph%20Steine...
You can even download the whole /sw dir of the PdLab build farm Fink installs:
http://puredata.info/docs/developer/MacOSX106X8664 http://puredata.info/docs/developer/Macosx104I386
.hc
----------------------------------------------------------------------------
"It is convenient to imagine a power beyond us because that means we don't have to examine our own lives.", from "The Idols of Environmentalism", by Curtis White