<div>Hunter,</div>
<div>&nbsp;</div>
<div>I would just install it without using ports, you can check out the image_science page for info on how to compile with specific Mac OSX tips.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 1/18/07, <b class="gmail_sendername">Hunter Hillegas</b> &lt;<a href="mailto:lists@lastonepicked.com">lists@lastonepicked.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I&#39;m interested in trying ImageScience but I can&#39;t get FreeImage, the<br>processing lib, to build on MacOS X 
10.4 (Intel). Has anyone had luck?<br><br>I tried building from source and using DarwinPorts, both no dice:<br><br>gonzo:~/Unix/Sources/imagescience_stuff/FreeImage hunter$ sudo port<br>install freeimage<br>---&gt;&nbsp;&nbsp;Building freeimage with target all
<br>Error: Target com.apple.build returned: shell command &quot;cd &quot;/opt/local/<br>var/db/dports/build/<br>_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp<br>orts_graphics_freeimage/work/FreeImage&quot; &amp;&amp; make all&quot; returned error 2
<br>Command output: Source/FreeImage/BitmapAccess.cpp:813: error:<br>expected `;&#39; before &#39;TAGMAP&#39;<br>Source/FreeImage/BitmapAccess.cpp:821: error: &#39;strcmp&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error: &#39;FreeImage_GetTagCount&#39;
<br>was not declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error: &#39;WORD&#39; was not declared<br>in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error:<br>&#39;FreeImage_TagDataWidth&#39; cannot be used as a function
<br>Source/FreeImage/BitmapAccess.cpp:825: error:<br>&#39;FreeImage_GetTagLength&#39; was not declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:839: error: &#39;WORD&#39; was not declared<br>in this scope<br>Source/FreeImage/BitmapAccess.cpp:858: error: &#39;TAGMAP&#39; is not a class
<br>or namespace<br>Source/FreeImage/BitmapAccess.cpp:858: error: &#39;iterator&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:858: error: expected `;&#39; before &#39;i&#39;<br>Source/FreeImage/BitmapAccess.cpp:859: error: &#39;i&#39; was not declared in
<br>this scope<br>Source/FreeImage/BitmapAccess.cpp:869: error: &#39;TAGMAP&#39; is not a class<br>or namespace<br>Source/FreeImage/BitmapAccess.cpp:869: error: &#39;iterator&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:869: error: expected `;&#39; before &#39;i&#39;
<br>Source/FreeImage/BitmapAccess.cpp:869: error: &#39;i&#39; was not declared in<br>this scope<br>Source/FreeImage/BitmapAccess.cpp:874: error: type &#39;&lt;type error&gt;&#39;<br>argument given to &#39;delete&#39;, expected pointer
<br>Source/FreeImage/BitmapAccess.cpp: In function &#39;BOOL<br>FreeImage_GetMetadata(FREE_IMAGE_MDMODEL, FIBITMAP*, const char*,<br>FITAG**)&#39;:<br>Source/FreeImage/BitmapAccess.cpp:887: error: &#39;TAGMAP&#39; was not
<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:887: error: &#39;tagmap&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:891: error: &#39;METADATAMAP&#39; was not<br>declared in this scope
<br>Source/FreeImage/BitmapAccess.cpp:891: error: &#39;metadata&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:891: error: &#39;struct<br>FREEIMAGEHEADER&#39; has no member named &#39;metadata&#39;
<br>Source/FreeImage/BitmapAccess.cpp: In function &#39;unsigned int<br>FreeImage_GetMetadataCount(FREE_IMAGE_MDMODEL, FIBITMAP*)&#39;:<br>Source/FreeImage/BitmapAccess.cpp:912: error: &#39;TAGMAP&#39; was not<br>declared in this scope
<br>Source/FreeImage/BitmapAccess.cpp:912: error: &#39;tagmap&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: &#39;METADATAMAP&#39; was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: &#39;metadata&#39; was not
<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: &#39;struct<br>FREEIMAGEHEADER&#39; has no member named &#39;metadata&#39;<br>make[1]: *** [Source/FreeImage/BitmapAccess.o-ppc] Error 1<br>make: *** [all] Error 2
<br><br><br>On Jan 18, 2007, at 11:59 AM, Ezra Zygmuntowicz wrote:<br><br>&gt; Mini magick is very nice. But also look at ImageScience. If you are<br>&gt; only using rmagick for thumbnailing, resizing and cropping then image
<br>&gt; science is much better. Its about 5 times faster and it doesn&#39;t leak<br>&gt; any memory. Highly recommended.<br><br>_______________________________________________<br>Mongrel-users mailing list<br><a href="mailto:Mongrel-users@rubyforge.org">
Mongrel-users@rubyforge.org</a><br><a href="http://rubyforge.org/mailman/listinfo/mongrel-users">http://rubyforge.org/mailman/listinfo/mongrel-users</a><br></blockquote></div><br>