<br><br><div class="gmail_quote">On Mon, Sep 29, 2008 at 8:18 AM, Elvis Dowson <span dir="ltr">&lt;<a href="mailto:elvis.dowson@mac.com">elvis.dowson@mac.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div style="">Hi Sean,<div>                   Thanks for the advice, it really does reflect what I&#39;ve just discovered. Trying to get things to move to 64-bits on a new Mac OS X 10.5.x installation is quite involved. </div>
<div><br></div><div>I had more problems trying to compile the snapshot version of Qt-4.5.x for 64-bits, so I&#39;m going to wait till they release the official version and then try the Cocoa bindings. </div><div><br></div>
<div><div><div class="im"><div>On Sep 29, 2008, at 7:06 PM, Sean McBride wrote:</div><br><blockquote type="cite"><div><br><br>However, perhaps you are doing too many things at once.  Although both<br>VTK and Cocoa support 64 bit, they are both much better tested in 32<br>
bit.  I would suggest working only in 32 bit.  Are you using 64 bit<br>because it was the only way to get Cocoa support with the new Qt?  I<br>suspect Qt is also much better tested in 32 bit.  Considering you are<br>using a new Qt with experimental Cocoa support, adding 64 bit into the<br>
mix will only complicate things.</div></blockquote><div><br></div></div><div>Yes, as I&#39;m discovering right now. For the moment, I&#39;m going to make do with Carbon support and try to get things to work in 32-bits.</div>
<div class="im"><br><blockquote type="cite"><div><br><br>Also, are you building libjpeg and libpng for VTK&#39;s sake?  It would be<br>simpler to just use the versions that come with VTK itself, instead of<br>trying to use separate versions.  Just building VTK with default<br>
settings will use the built-in versions of those libs.</div></blockquote><div><br></div></div><div>Actually, I needed this for grass-6.4.x, which requires that I install the following libraries</div><div><br></div><div><div style="margin: 0px; color: rgb(128, 0, 128);">
proj-4.6.0</div><div style="margin: 0px; color: rgb(128, 0, 128);">gdal-1.5.2</div><div style="margin: 0px; color: rgb(128, 0, 128);">libjpeg-6b</div><div style="margin: 0px; color: rgb(128, 0, 128);">libtiff-3.8.2</div><div style="margin: 0px; color: rgb(128, 0, 128);">
libpng-1.2.31</div><div style="margin: 0px; color: rgb(128, 0, 128);">fftw-2.1.5</div></div><div><br></div><div>So, I got stuck with libjpeg-6b, which I understand is problematic to compile for 64-bits for some reason.</div>
<div></div></div></div></div></blockquote><div><br><br>Looks like grass, in some form, is ported in MacPorts:<br><br>[ dweber@X ~ ]$ port info grass<br>grass @6.3.0 (gis)<br>Variants:    darwin_9, mysql5, postgresql83, sqlite3, universal<br>
<br>GRASS is a Geographic Information System (GIS) used for geospatial data management and analysis.<br>Homepage:    <a href="http://grass.osgeo.org">http://grass.osgeo.org</a><br><br>Library Dependencies: fftw, freetype, gdal, geos, jpeg, libpng, openmotif, proj, tk<br>
Platforms:            darwin<br>Maintainers:          <a href="mailto:nomaintainer@macports.org">nomaintainer@macports.org</a><br><br></div></div><br>I&#39;ve done a lot of work to get vtk-devel into Macports too.  You might learn a few things from the MacPorts port files, see:<br>
<a href="https://trac.macports.org/browser">https://trac.macports.org/browser</a><br><br>