[GEM-dev] Does Gem makefile on OSX look for FTGL static libs? compiling Gem CVS on OSX from terminal

chris clepper cgc at humboldtblvd.com
Mon May 29 21:39:30 CEST 2006


I don't use the makefiles on OSX, but the linker on OSX will often grab the
first lib it finds and link that.  FTGL might have built and installed
static and dynamic copies, so maybe remove any dylib files for FTGL and try
again?

On 5/29/06, B. Bogart <ben at ekran.org> wrote:
>
> Hey all,
>
> Here is this thread again.
>
> So once I was all happy with my new CVS binary of Gem, I realized (to my
> dismay) that of course I compiled without font support.
>
> So remembering the ol Xcode days I found FTGL and freetype and compiled
> like so:
>
> Freetype: (easy)
> ./configure
> make
> sudo make install
>
> FTGL: (scarry)
> used the "unix" folder since it was the only one with a makefile.
> did sudo ln -s
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Headers
> /usr/include/GL
> so that the makefile found the GL stuff.
> ./configure --without-x  --with-ft-prefix=/usr/local/lib
> --with-ft-exec-prefix=/usr/local/lib/ --disable-freetypetest
> --disable-shared
>
> --with-gl-lib=/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/
> make
> sudo make install
> seemed to work, though I did not try compiling the test. I see FTGL
> includes and binaries. Note this does create static libs.
>
> So GEM can't see the FTGL stuff:
>
> ./configure  --with-ftgl --with-ftgl-includes=/usr/local/include/
> --with-ftgl-libs=/usr/local/lib/
>
> checking for ftgl-config... yes
> checking for main in -lftgl... no
> checking for PKG_GLTT_CFLAGS...
> checking for PKG_GLTT_LIBS...
>
> used optional libraries:
>
>   font-rendering         :
>
>   image-support
>     use ImageMagick      : no
>     use TIFF             : no
>     use JPEG             : no
>   video-support
>     use mpeg             : no
>     use mpeg-3           : no
>     use QuickTime        : yes (framework)
>     use aviplay          : no
>     use ffmpeg           : no
>   input-support
>     use v4l              : no
>     use ieee1394         : no
>
>   misc
>     using ARB-extensions : yes
>     using NV-extensions  : no
>     using reg-struct-ret : yes
>
> So I got most of the FTGL stuff from the blender compile howtos, but I'm
> stuck with forcing gem to see FTGL...
>
> Maybe gem is only looking for dynamic libs not static ones? I'd rather
> FTGL be linked in static since that way I don't have to make sure FTGL is
> compiled and working on each machine in the lab...
>
> Thanks all!
> .b.
>
>
>
>
>
>
>
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20060529/6cdbd019/attachment.htm>


More information about the GEM-dev mailing list