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

--
http://nim.on.free.fr

_______________________________________________
GEM-dev mailing list
[email protected]
http://lists.puredata.info/listinfo/gem-dev

Reply via email to