Installing FreeImage on Mac OS X Lion
I think you all know that I don’t like Macport nor Homebrew as I prefer to compile everything. I also don’t like the fact that ImageScience requires FreeImage. Well, in order to compile and install FreeImage, you have to go modify Makefile.osx. Below is the content and here’s the link to the gist.
This is for Lion since it’s all 64-bit and the SDK is 10.7. You don’t have to worry about the latest Xcode. Just make and sudo make install. That’s all!