File: INSTALL

package info (click to toggle)
aaphoto 0.45-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, stretch, trixie
  • size: 692 kB
  • sloc: ansic: 4,741; sh: 1,032; makefile: 8
file content (54 lines) | stat: -rw-r--r-- 2,062 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
The software needs the following components to be installed on the system
before compilation:

GCC - Gnu Compiler Collection, http://gcc.gnu.org/
libgomp - OpenMP for parallel programming, http://gcc.gnu.org/onlinedocs/libgomp/
libjpeg - IJG Jpeg software, http://www.ijg.org/
libpng - PNG software, http://www.libpng.org/
libz - Compression library, http://www.zlib.net/

Remark: GCC 4.2 and above should come with libgomp


********************************************************************************
Installing development files for Debian GNU/Linux:
-----------------------------------------------------
su -c "apt-get install build-essential libjpeg-dev libz-dev libpng-dev"

Compiling and installing aaphoto:
----------------------------------------
wget log69.com/downloads/aaphoto_sources.tar.gz
tar xf aaphoto_sources.tar.gz
cd aaphoto-*

./configure && make && su -c "make install"


********************************************************************************
Compiling from whole source code (only gcc is needed):
----------------------------------------------------------
wget http://log69.com/downloads/aaphoto_sources_all.tar.gz

gunzip aaphoto_sources_all.tar.gz
tar xf aaphoto_sources_all.tar
cd aaphoto/scripts
./cc_all_unix.sh

../bin/aaphoto


********************************************************************************
To compile the software manually, you should run this from a console:
-------------------------------------------------------------------------

gcc aaphoto.c -o aaphoto -O2 -ljpeg -lpng -lz -lm -D__OPENMP__ -fopenmp -lgomp
********************************************************************************


********************************************************************************
To compile the software manually with only BMP support without any extra libs
(only math library is needed):
--------------------------------------------------------------------------------

gcc aaphoto.c -o aaphoto -O2 -lm -D __BMP_ONLY__
********************************************************************************