Thanks for Tz-Huan Huang from National Taiwan University. We provide you the
source code with Makefile worked in CS department environment.
- Download the source code here.
- Untar the file by the following command
tar -zxvf HDR.tgz
- Type in make and this should compile and link the program
successfully
- Before you run it, you should proper set up the searching path of
your linux.
- Add setenv LD_LIBRARY_PATH HDR_directory/libs
where HDR_Directory_path is the absolute path to the
HDR directory. You can use pwd command to find out.
- Close the xterm and reopen it to make the search path
effective.
If you try to work in other type of environment, the following are steps you
need to make it work
- The gil library depends on zlib, libpng, libjpeg, libtiff and OpenEXR.
You must first find their web site and download the source and compile
them.
- Download the source of the library from
Download web page
- Unzip it and go to libgil2-r158/src.
- Modified the include and lib path for your personal setting.
- Type in make to build the whole library
- Or you can use Another way to build the library is to use the Boost
Build System V2 (http://www.boost.org/tools/build/v2/index.html).
- After building, you should have libgil2.so