[PD] GEM in 10.7

Jaime Oliver jaime.oliver2 at gmail.com
Fri Dec 16 10:59:36 CET 2011


Now with Hans' proposed method:

./autogen.sh
./configure CFLAGS="-arch i386" LDFLAGS="-arch i386"
--with-pd=/Applications/Pd-0.43-0.app/Contents/Resources/
make

I get a different set of errors (attached) and it also fails.

Curiously, it builds fine without any flags.

any ideas?

best,

J

On Fri, Dec 16, 2011 at 4:48 AM, Jaime Oliver <jaime.oliver2 at gmail.com> wrote:
> Thanks for the responses.
>
> Well, if compiled by doing:
> ./autogen.sh
> ./configure --with-pd=/Applications/Pd-0.43-0.app/Contents/Resources/
> --enable-fat-binary=i386
> make
>
> There are several errors and the build fails.
>
> I am attaching the build log and the error messages from the console.
>
> I'll try Hans' method and report back,
>
> J
>
> On Fri, Dec 16, 2011 at 4:20 AM, Nicolas Montgermont
> <nicolas_montgermont at yahoo.fr> wrote:
>> You'll also need the font library : ftgl,
>> that you can install with fink.
>> my configure line here on osx 10.6 is:
>> ./configure
>> --with-pd=/Applications/Pd-extended.app/Contents/Resources/include/pd/
>> --enable-fat-binary=i386 --with-ftgl-includes=/sw/include/
>> --with-ftgl-libs=/sw/lib/
>>
>> that reminds me this page:
>> http://puredata.info/community/projects/software/gem/documentation/faq/how-do-you-compile-gem-on-osx
>> should be updated.
>>
>> I can do that if you agree,
>> best
>> n
>>
>> Le 16/12/11 09:27, IOhannes zmölnig a écrit :
>>
>> On 12/16/2011 12:17 AM, Hans-Christoph Steiner wrote:
>>
>> Yes, on 10.6 and 10.7 it'll compile 64-bit by default.  You can try this:
>>
>> ./configure CFLAGS="-arch i386" LDFLAGS="-arch i386"
>>
>> this will override all default CFLAGS and LDFLAGS, and the former might
>> be ignored by Gem's build process since it uses c++ and thus CXXFLAGS
>> will apply.
>>
>> the Gem way to do this is to specify the fat architectures via configure
>> _flags_:
>> $ ./configure --enable-fat-binary=i386
>> will in the end create a "fat" binary that holds (only) i386 binaries.
>>
>> fgmasr
>> IOhannes
>>
>>
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>> --
>> http://nim.on.free.fr
>>
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
>
> --
> Jaime E Oliver LR
>
> jo2357 at columbia.edu
> www.jaimeoliver.pe
> 858 750 0924 (cel)



-- 
Jaime E Oliver LR

jo2357 at columbia.edu
www.jaimeoliver.pe
858 750 0924 (cel)
-------------- next part --------------
joliver-mpb-new:Gem-0.93.3 joliver$ make
Making all in src
make  all-recursive
Making all in Gem
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-glew.lo -MD -MP -MF .deps/libGem_la-glew.Tpo -c -o libGem_la-glew.lo `test -f 'glew.cpp' || echo './'`glew.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-glew.lo -MD -MP -MF .deps/libGem_la-glew.Tpo -c glew.cpp  -fno-common -DPIC -o .libs/libGem_la-glew.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-glew.lo -MD -MP -MF .deps/libGem_la-glew.Tpo -c glew.cpp -o libGem_la-glew.o >/dev/null 2>&1
mv -f .deps/libGem_la-glew.Tpo .deps/libGem_la-glew.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Files.lo -MD -MP -MF .deps/libGem_la-Files.Tpo -c -o libGem_la-Files.lo `test -f 'Files.cpp' || echo './'`Files.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Files.lo -MD -MP -MF .deps/libGem_la-Files.Tpo -c Files.cpp  -fno-common -DPIC -o .libs/libGem_la-Files.o
Files.cpp:113:4: warning: #warning wordfree() not called
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Files.lo -MD -MP -MF .deps/libGem_la-Files.Tpo -c Files.cpp -o libGem_la-Files.o >/dev/null 2>&1
mv -f .deps/libGem_la-Files.Tpo .deps/libGem_la-Files.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Image.lo -MD -MP -MF .deps/libGem_la-Image.Tpo -c -o libGem_la-Image.lo `test -f 'Image.cpp' || echo './'`Image.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Image.lo -MD -MP -MF .deps/libGem_la-Image.Tpo -c Image.cpp  -fno-common -DPIC -o .libs/libGem_la-Image.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Image.lo -MD -MP -MF .deps/libGem_la-Image.Tpo -c Image.cpp -o libGem_la-Image.o >/dev/null 2>&1
mv -f .deps/libGem_la-Image.Tpo .deps/libGem_la-Image.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Manager.lo -MD -MP -MF .deps/libGem_la-Manager.Tpo -c -o libGem_la-Manager.lo `test -f 'Manager.cpp' || echo './'`Manager.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Manager.lo -MD -MP -MF .deps/libGem_la-Manager.Tpo -c Manager.cpp  -fno-common -DPIC -o .libs/libGem_la-Manager.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Manager.lo -MD -MP -MF .deps/libGem_la-Manager.Tpo -c Manager.cpp -o libGem_la-Manager.o >/dev/null 2>&1
mv -f .deps/libGem_la-Manager.Tpo .deps/libGem_la-Manager.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Settings.lo -MD -MP -MF .deps/libGem_la-Settings.Tpo -c -o libGem_la-Settings.lo `test -f 'Settings.cpp' || echo './'`Settings.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Settings.lo -MD -MP -MF .deps/libGem_la-Settings.Tpo -c Settings.cpp  -fno-common -DPIC -o .libs/libGem_la-Settings.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Settings.lo -MD -MP -MF .deps/libGem_la-Settings.Tpo -c Settings.cpp -o libGem_la-Settings.o >/dev/null 2>&1
mv -f .deps/libGem_la-Settings.Tpo .deps/libGem_la-Settings.Plo
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Setup.lo -MD -MP -MF .deps/libGem_la-Setup.Tpo -c -o libGem_la-Setup.lo `test -f 'Setup.cpp' || echo './'`Setup.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Setup.lo -MD -MP -MF .deps/libGem_la-Setup.Tpo -c Setup.cpp  -fno-common -DPIC -o .libs/libGem_la-Setup.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Setup.lo -MD -MP -MF .deps/libGem_la-Setup.Tpo -c Setup.cpp -o libGem_la-Setup.o >/dev/null 2>&1
mv -f .deps/libGem_la-Setup.Tpo .deps/libGem_la-Setup.Plo
/bin/sh ./../pkgversion.sh ../version.h.in > version_current.h
/bin/sh ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src  -I../../src  -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Version.lo -MD -MP -MF .deps/libGem_la-Version.Tpo -c -o libGem_la-Version.lo `test -f 'Version.cpp' || echo './'`Version.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Version.lo -MD -MP -MF .deps/libGem_la-Version.Tpo -c Version.cpp  -fno-common -DPIC -o .libs/libGem_la-Version.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings -MT libGem_la-Version.lo -MD -MP -MF .deps/libGem_la-Version.Tpo -c Version.cpp -o libGem_la-Version.o >/dev/null 2>&1
mv -f .deps/libGem_la-Version.Tpo .deps/libGem_la-Version.Plo
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -DHAVE_VERSION_H -DPD -I/Applications/Pd-0.43-0.app/Contents/Resources//src  -g -O2 -freg-struct-return -Os -falign-loops -falign-functions -falign-jumps -funroll-loops -ffast-math -mmmx -fpascal-strings  -framework QuickTime -framework Carbon -framework Cocoa -framework AGL -arch i386 -o libGem.la  libGem_la-glew.lo libGem_la-Cache.lo libGem_la-ContextData.lo libGem_la-Dylib.lo libGem_la-Event.lo libGem_la-Exception.lo libGem_la-Files.lo libGem_la-GLStack.lo libGem_la-Image.lo libGem_la-ImageLoad.lo libGem_la-ImageSave.lo libGem_la-PixConvertAltivec.lo libGem_la-PixConvertSSE2.lo libGem_la-Loaders.lo libGem_la-Manager.lo libGem_la-PBuffer.lo libGem_la-Properties.lo libGem_la-Settings.lo libGem_la-Setup.lo libGem_la-State.lo libGem_la-SynchedWorkerThread.lo libGem_la-ThreadMutex.lo libGem_la-ThreadSemaphore.lo libGem_la-Version.lo libGem_la-WorkerThread.lo -L/Applications/Pd-0.43-0.app/Contents/Resources//bin  -ldl -lz -lm  -L/Applications/Pd-0.43-0.app/Contents/Resources//bin
libtool: link: rm -fr  .libs/libGem.a .libs/libGem.la
libtool: link: ar cru .libs/libGem.a .libs/libGem_la-glew.o .libs/libGem_la-Cache.o .libs/libGem_la-ContextData.o .libs/libGem_la-Dylib.o .libs/libGem_la-Event.o .libs/libGem_la-Exception.o .libs/libGem_la-Files.o .libs/libGem_la-GLStack.o .libs/libGem_la-Image.o .libs/libGem_la-ImageLoad.o .libs/libGem_la-ImageSave.o .libs/libGem_la-PixConvertAltivec.o .libs/libGem_la-PixConvertSSE2.o .libs/libGem_la-Loaders.o .libs/libGem_la-Manager.o .libs/libGem_la-PBuffer.o .libs/libGem_la-Properties.o .libs/libGem_la-Settings.o .libs/libGem_la-Setup.o .libs/libGem_la-State.o .libs/libGem_la-SynchedWorkerThread.o .libs/libGem_la-ThreadMutex.o .libs/libGem_la-ThreadSemaphore.o .libs/libGem_la-Version.o .libs/libGem_la-WorkerThread.o 
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Cache.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-ContextData.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Dylib.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Event.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Exception.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-GLStack.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-ImageLoad.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-ImageSave.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-PixConvertAltivec.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-PixConvertSSE2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Loaders.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-PBuffer.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-Properties.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-State.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-SynchedWorkerThread.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-ThreadMutex.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-ThreadSemaphore.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
/usr/bin/ranlib: archive member: .libs/libGem.a(libGem_la-WorkerThread.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
libtool: link: ranlib .libs/libGem.a
ranlib: archive member: .libs/libGem.a(libGem_la-Cache.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-ContextData.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-Dylib.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-Event.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-Exception.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-GLStack.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-ImageLoad.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-ImageSave.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-PixConvertAltivec.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-PixConvertSSE2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-Loaders.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-PBuffer.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-Properties.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-State.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-SynchedWorkerThread.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-ThreadMutex.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-ThreadSemaphore.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: archive member: .libs/libGem.a(libGem_la-WorkerThread.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)
ranlib: for architecture: i386 file: .libs/libGem.a(libGem_la-PixConvertAltivec.o) has no symbols
make[3]: *** [libGem.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [all-recursive] Error 1
joliver-mpb-new:Gem-0.93.3 joliver$ 


More information about the Pd-list mailing list