Debian Codegraph @

build_files/platforms/msys2/README.txt

raw
1 Begin by installing and updating MSYS2 using the instructions from the MSYS2 website http://www.msys2.org/
2
3 After installing MSYS2 execute the following commands in msys2 shell:
4
5 pacman -S tar gzip nano make diffutils intltool git
6 pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-make mingw-w64-x86_64-pkg-config mingw-w64-x86_64-cmake
7 pacman -S mingw-w64-x86_64-lcms2 mingw-w64-x86_64-fftw mingw-w64-x86_64-qtwebkit mingw-w64-x86_64-libraw mingw-w64-x86_64-boost mingw-w64-x86_64-exiv2 mingw-w64-x86_64-openexr mingw-w64-x86_64-gsl mingw-w64-x86_64-cfitsio
8
9 git clone https://github.com/LuminanceHDR/LuminanceHDR.git /c/code/lhdr
10 cd /c/code/lhdr
11 mkdir build
12 cd build
13
14 Currently there is a version conflict in msys2 version of Qt5WebKit.
15 To fix (hack) it, open the file msys64\mingw64\lib\cmake\Qt5WebKit\Qt5WebKitConfig.cmake
16 Search for
17 find_dependency(Qt5Network 5.11.2 EXACT)
18 and change to
19 find_dependency(Qt5Network 5.12.0 EXACT)
20
21 run the following commands in msys2 shell
22
23 cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE="Release" ..
24 make install
25
26 Now you should have a luminance-hdr.exe.
27 try running it using
28 Release-build/luminance-hdr