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