FreeImage 3.14.1

 

Windows

Open or convert in VS a corresponding FreeImage.*.sln project and compile the latter.

You will find FreeImage.dll and FreeImage.lib in the Dist root folder and FreeImagePlus.dll and FreeImagePlust.lib in the freeimage-src\Wrapper\FreeImagePlus\Dist folder.

 

Linux

Compiling FreeImage

cd <FREEIMAGE_SRC_DIR>

make –f Makefile.gnu

make -f Makefile.gnu DESTDIR=<FREEIMAGE_INSTALL_DIR> install

make –f Makefile.gnu clean

 

Compiling FreeImagePlus

FreeImagePlus is a C++ wrapper for FreeImage.

To compile FreeImage as a C++ library, follow these steps :

cd <FREEIMAGE_SRC_DIR>

make –f Makefile.fip

make –f Makefile.fip DESTDIR=<FREEIMAGE_INSTALL_DIR> install

make –f Makefile.fip clean

 

libFreeImage.so and libFreeImagePlus.so are located in the folder freeimage-src\Wrapper\FreeImagePlus\Dist.