On 04/22/2014 10:52 AM, Nicolas Montgermont wrote:
Hello all,
I'm trying to compile Gem from git on osx 10.9.2 intel i7. I was used to compile it on osx 10.6.8 with an Intel Core 2 duo with success. I tried to do it from a fresh install:
$ git clone git://git.code.sf.net/p/pd-gem/gem
first question: is this the good repository if I want a dev version of Gem? (Iohannes you said sourceforge, but I don't know which sourceforge repo...)
you are using the correct repo on sf (there's only a single git repository for Gem on sf i know of)
then:
$ cd gem $ ./autogen.sh
ok.
now i configure for a 32bit output and I desactivate ftgl for a first step:
$ ./configure --without-ftgl --enable-fat-binary=i386
ok.
then make, it stops with these errors:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -I../../src -DGEM_INTERNAL -DGLEW_BUILD -g -O2 -MT glew.lo -MD -MP -MF .deps/glew.Tpo -c glew.c -o glew.o >/dev/null 2>&1 mv -f .deps/glew.Tpo .deps/glew.Plo
this compiles one of the sources (glew.c) for the native arch (amd64) instead of the requested arch (i386). which in turn leads to:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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)
i'll try to commit a fix for that.
TextBaseNone.cpp:25:13: error: constructor for 'TextBase' must explicitly initialize the member 'm_infoOut' which does not have a default constructor
ah ok, i'll commit a fix for that as well...
please update your clone.
gf,adsr IOhannes