<div>Hunter,</div>
<div> </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> </div>
<div><span class="gmail_quote">On 1/18/07, <b class="gmail_sendername">Hunter Hillegas</b> <<a href="mailto:lists@lastonepicked.com">lists@lastonepicked.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">I'm interested in trying ImageScience but I can'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>---> Building freeimage with target all
<br>Error: Target com.apple.build returned: shell command "cd "/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" && make all" returned error 2
<br>Command output: Source/FreeImage/BitmapAccess.cpp:813: error:<br>expected `;' before 'TAGMAP'<br>Source/FreeImage/BitmapAccess.cpp:821: error: 'strcmp' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error: 'FreeImage_GetTagCount'
<br>was not declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error: 'WORD' was not declared<br>in this scope<br>Source/FreeImage/BitmapAccess.cpp:825: error:<br>'FreeImage_TagDataWidth' cannot be used as a function
<br>Source/FreeImage/BitmapAccess.cpp:825: error:<br>'FreeImage_GetTagLength' was not declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:839: error: 'WORD' was not declared<br>in this scope<br>Source/FreeImage/BitmapAccess.cpp:858: error: 'TAGMAP' is not a class
<br>or namespace<br>Source/FreeImage/BitmapAccess.cpp:858: error: 'iterator' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:858: error: expected `;' before 'i'<br>Source/FreeImage/BitmapAccess.cpp:859: error: 'i' was not declared in
<br>this scope<br>Source/FreeImage/BitmapAccess.cpp:869: error: 'TAGMAP' is not a class<br>or namespace<br>Source/FreeImage/BitmapAccess.cpp:869: error: 'iterator' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:869: error: expected `;' before 'i'
<br>Source/FreeImage/BitmapAccess.cpp:869: error: 'i' was not declared in<br>this scope<br>Source/FreeImage/BitmapAccess.cpp:874: error: type '<type error>'<br>argument given to 'delete', expected pointer
<br>Source/FreeImage/BitmapAccess.cpp: In function 'BOOL<br>FreeImage_GetMetadata(FREE_IMAGE_MDMODEL, FIBITMAP*, const char*,<br>FITAG**)':<br>Source/FreeImage/BitmapAccess.cpp:887: error: 'TAGMAP' was not
<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:887: error: 'tagmap' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:891: error: 'METADATAMAP' was not<br>declared in this scope
<br>Source/FreeImage/BitmapAccess.cpp:891: error: 'metadata' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:891: error: 'struct<br>FREEIMAGEHEADER' has no member named 'metadata'
<br>Source/FreeImage/BitmapAccess.cpp: In function 'unsigned int<br>FreeImage_GetMetadataCount(FREE_IMAGE_MDMODEL, FIBITMAP*)':<br>Source/FreeImage/BitmapAccess.cpp:912: error: 'TAGMAP' was not<br>declared in this scope
<br>Source/FreeImage/BitmapAccess.cpp:912: error: 'tagmap' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: 'METADATAMAP' was not<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: 'metadata' was not
<br>declared in this scope<br>Source/FreeImage/BitmapAccess.cpp:915: error: 'struct<br>FREEIMAGEHEADER' has no member named 'metadata'<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>> Mini magick is very nice. But also look at ImageScience. If you are<br>> only using rmagick for thumbnailing, resizing and cropping then image
<br>> science is much better. Its about 5 times faster and it doesn't leak<br>> 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>