There are some issues with this.<br><br>- We don't use the X11 GL at all.&nbsp; It should be the OpenGL and AGL frameworks<br>- FTGL should not use the X11 GL either<br>- freetype and FTGL are linked statically<br><br><br><div>
<span class="gmail_quote">On 8/10/06, <b class="gmail_sendername">IOhannes m zmoelnig</b> &lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</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;">
hi.<br><br>i recently played a bit with a G5 and tried to compile Gem on OS-X<br>(10.4.7) via the autoconf system.<br><br>good news:<br><br>basically changing the line dealing with &quot;-bundle&quot; in configure(.ac) did
<br>the trick; it is already in the CVS (plus some minor changes, which<br>should the use of configure a bit simpler; like &quot;--with-pd&quot; not pointing<br>to the pd-executable anymore, but to the base path where both the
<br>pd-executable/library (./bin) and the headers (./src) can be found)<br><br><br>i only forgot about ftgl-support, which i did today, trying to make<br>everything from the command-line (which might - or not - be important
<br>for the hans's autobuild system; basically i believe that freetype2 and<br>ftgl should not be included in the nightly builds, as they are virtually<br>never-changing; so they could be built via some IDE like xcode once and
<br>then the building of Gem would run without gui)<br><br>all in all, it was not hard to do, and here is how i did it:<br><br>### START<br><br>## i have ${GEMROOT}/Gem/src/ and ${GEMROOT}/GemLibs/<br>$&gt; export GEMROOT=/Users/zmoelnig/src/pd-gem
<br>## ${PDPATH}/src/m_pd.h<br>$&gt; export PDPATH=/Users/zmoelnig/src/pure-data/pd<br>## openGL-headers are in ${X11OPENGL}/GL/gl.h<br>$&gt; export X11OPENGL=/Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/<br><br>$&gt; cd ${GEMROOT}/GemLibs
<br><br>## freetype2<br><br>$&gt; wget<br><a href="http://download.savannah.gnu.org/releases/freetype/freetype-2.2.1.tar.bz2">http://download.savannah.gnu.org/releases/freetype/freetype-2.2.1.tar.bz2</a><br>$&gt; tar xvzf 
freetype-2.2.1.tar.bz2<br>$&gt; cd ${GEMROOT}/freetype-2.2.1/<br>$&gt; ./configure<br>$&gt; make<br>## this installs freetype2 into /usr/local/:<br>$&gt; sudo make install<br><br>## since FTGL's build system needs to run freetype-config, we
<br>## need /usr/local/bin in our path<br>$&gt; export PATH=$PATH:/usr/local/bin<br><br>## FTGL<br><br>$&gt; wget <a href="http://opengl.geek.nz/ftgl/ftgl-2.1.2.tar.gz">http://opengl.geek.nz/ftgl/ftgl-2.1.2.tar.gz</a><br>
$&gt; tar xvzf ftgl-2.1.2.tar.gz<br>$&gt; cd ${GEMROOT}/FTGL/unix<br>$&gt; ./configure --with-ft-prefix=/usr/local/<br>--with-gl-inc=${X11OPENGL}/include/ --with-gl-lib=${X11OPENGL}/lib/<br>$&gt; make<br><br>## allright, that's it; we don't have to do the above for months,
<br>## probably years!<br><br>## here's how i compiled Gem with the above settings<br><br>$&gt; export PKG_FTGL_CFLAGS=&quot;-I${GEMROOT}/GemLibs/FTGL/include/<br>$(freetype-config --cflags)&quot;<br>$&gt; export PKG_FTGL_LIBS=&quot;$(freetype-config --libs)
<br>${GEMLIBS}/GemLibs/FTGL/unix/src/.libs/libftgl.a&quot;<br>$&gt; ./configure --with-pd=${PDPATH}<br>$&gt; make<br><br><br>### END<br><br><br>(actually i didn't use &quot;export&quot; for the PKG_FTGL_... vars, but set them
<br>in the same line as calling configure:<br><br>$&gt; PKG_FTGL_CFLAGS=&quot;-I${GEMROOT}/GemLibs/FTGL/include/ $(freetype-config<br>--cflags)&quot; PKG_FTGL_LIBS=&quot;$(freetype-config --libs)<br>${GEMLIBS}/GemLibs/FTGL/unix/src/.libs/libftgl.a&quot; ./configure
<br>--with-pd=${PDPATH}<br><br>i haven't yet spotted any problems with my built (but probably i have<br>linked the freetype2-lib dynamically, which i guess i should NOT do.<br>what is the standard tool on os-x to find out the dll-dependencies of a
<br>binary? something like &quot;ldd&quot; on linux.<br><br><br>mf.asdr.<br>IOhannes<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>