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
Enter the directory where source files of FreeImage are located (<FREEIMAGE_SRC_DIR>).
cd <FREEIMAGE_SRC_DIR>
Run building process.
make –f Makefile.gnu
Run installation process. All files will be put into the directory specified by <FREEIMAGE_INSTALL_DIR>.
make -f Makefile.gnu DESTDIR=<FREEIMAGE_INSTALL_DIR> install
Clean temporary files.
make –f Makefile.gnu clean
Compiling FreeImagePlus
FreeImagePlus is a C++ wrapper for FreeImage.
To compile FreeImage as a C++ library, follow these steps :
Enter the directory where source files of FreeImage are located (<FREEIMAGE_SRC_DIR>).
cd <FREEIMAGE_SRC_DIR>
Start building of FreeImagePlus.
make –f Makefile.fip
Start installation of FreeImagePlus. All files will be put into the directory specified by <FREEIMAGE_INSTALL_DIR>.
make –f Makefile.fip DESTDIR=<FREEIMAGE_INSTALL_DIR> install
Clean temporary files.
make –f Makefile.fip clean
libFreeImage.so and libFreeImagePlus.so are located in the folder freeimage-src\Wrapper\FreeImagePlus\Dist.