-
Notifications
You must be signed in to change notification settings - Fork 7
/
INSTALL.txt
49 lines (35 loc) · 1.2 KB
/
INSTALL.txt
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
* Linux (test on ubuntu/kubuntu/Fedora/openSuse/CentOS/debian)
#> dos2unix tounix.sh
#> sh ./tounix.sh
#> cd ./build
#> qmake-qt4 -recursive diffimg.pro
or
#> cd build
#> qmake -recursive diffimg.pro
#> make
#>sudo make install
or with cmake
#> cd build
#> cmake .
#> make
#>sudo make install
Linux dependencies:
- opencv (ubuntu: libopencv-dev)
- qwt (ubuntu: libqwt-dev)
- Optionally freeimage (ubuntu: libfreeimage-dev)
You can also use qtcreator from qt-sdk
# For Centos 5.x user (need a valid Qt4 release in order to compil)
sudo rpm -ivh http://software.freivald.com/centos/software.freivald.com-1.0.0-1.noarch.rpm
sudo yum update fontconfig fontconfig-devel qt4 qt4-devel qt4-doc qt4-postgresql qt4-odbc qt4-sqlite qt-creator
sudo rpm --import http://software.freivald.com/centos/RPM-GPG-KEY-software.freivald.com
# Package creation for debian, Ubuntu, Mepis, ...
#> cd build
#> dpkg-buildpackage -tc -b -rfakeroot
* Windows (tested on XP/Seven x64)
Opencv and qwt are bundled for practicality
Use qtcreator, cmake or the Visual Qt plugin
There a NSI script for building a setup.exe file in the setup directory
* MAC OSX
qmake diffimg.pro -r -spec macx-g++ CONFIG+=release CONFIG+=x86_64
* OS2
see README.os2