1The software needs the following components to be installed on the system 2before compilation: 3 4GCC - Gnu Compiler Collection, http://gcc.gnu.org/ 5libgomp - OpenMP for parallel programming, http://gcc.gnu.org/onlinedocs/libgomp/ 6libjasper - JasPer software, http://www.ece.uvic.ca/~mdadams/jasper/ 7libjpeg - IJG Jpeg software, http://www.ijg.org/ 8libpng - PNG software, http://www.libpng.org/ 9libz - Compression library, http://www.zlib.net/ 10 11Remark: GCC 4.2 and above should come with libgomp 12 13 14******************************************************************************** 15Installing development files for Debian GNU/Linux: 16----------------------------------------------------- 17su -c "apt-get install build-essential libjpeg-dev libjasper-dev libz-dev 18libpng-dev" 19 20Compiling and installing aaphoto: 21---------------------------------------- 22wget log69.com/downloads/aaphoto_sources.tar.gz 23tar xf aaphoto_sources.tar.gz 24cd aaphoto-* 25 26./configure && make && su -c "make install" 27 28 29******************************************************************************** 30Compiling from whole source code (only gcc is needed): 31---------------------------------------------------------- 32wget http://log69.com/downloads/aaphoto_sources_all.tar.gz 33 34gunzip aaphoto_sources_all.tar.gz 35tar xf aaphoto_sources_all.tar 36cd aaphoto/scripts 37./cc_all_unix.sh 38 39../bin/aaphoto 40 41 42******************************************************************************** 43To compile the software manually, you should run this from a console: 44------------------------------------------------------------------------- 45 46gcc aaphoto.c -o aaphoto -O2 -ljasper -ljpeg -lpng -lz -lm -D__OPENMP__ -fopenmp 47-lgomp 48******************************************************************************** 49 50 51******************************************************************************** 52To compile the software manually with only BMP support without any extra libs 53(only math library is needed): 54-------------------------------------------------------------------------------- 55 56gcc aaphoto.c -o aaphoto -O2 -lm -D __BMP_ONLY__ 57******************************************************************************** 58