File: README.MinGW

package info (click to toggle)
pfstools 2.2.0-11
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,548 kB
  • sloc: cpp: 26,364; javascript: 3,814; ansic: 999; sh: 144; python: 65; makefile: 47
file content (37 lines) | stat: -rw-r--r-- 826 bytes parent folder | download | duplicates (4)
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
It is possible to compile pfstools with MinGW. This is in particular useful for compiling native version of pfsview on Windows 10.

The compilation was tested on 6/10/2019 with MinGW 7.3.0 64-bit, installed as a part of Qt5 installation. 

To compile: 

1) Install MinGW 7.3.0 64-bit from Qt5 maintenance tool (and relevant Qt5 libraries)

2) Start Qt5 MinGW shell (type MinGW in the Windows search box)

3) Go to the pfstools directory

mkdir build_mingw
cd build_mingw
cmake -DWITH_OpenEXR=0 -G "MinGW Makefiles" ../

"WITH_OpenEXR=0" is needed to disable checking for ZLIB. 

4) Compile everything 

mingw32-make

If no "sed" command is installed, the installation may fail. In that case, add a line in src/fileformat/CMakeLists.txt:

set( SHELL_CMDS  )

and comment out:

set( SHELL_CMDS pfsin pfsout pfsindcraw )