FreeImage standalone install on CentOS

Download FreeImage3141.zip from http://en.sourceforge.jp/projects/sfnet_freeimage
In Makefile.fip:
# General configuration variables:
DESTDIR ?= /opt/freeimage/3.14.1
INCDIR ?= $(DESTDIR)/include
INSTALLDIR ?= $(DESTDIR)/lib

make -f Makefile.fip
make -f Makefile.fip install

Note: replaced OpenEXR dir with 3.15.0 version’s

module file /etc/modulefiles/freeimage/3.14.1

#%Module1.0##############################################
##
## Discretizer AB modulefile
##
##
prepend-path LD_LIBRARY_PATH /opt/freeimage/3.14.1/lib

Lämna ett svar

Din e-postadress kommer inte publiceras. Obligatoriska fält är märkta *