jcelaya / hdrmerge

HDR exposure merging
http://jcelaya.github.io/hdrmerge/
Other
370 stars 78 forks source link

Automated builds for Windows #194

Open shlomiv opened 5 years ago

shlomiv commented 5 years ago

The nightly builds are working fine on linux, but on windows it seems users are stuck at an old version (seems to be from 2015).

Is it possible to build nightly exe files (no need for nightly installers) for windows?

Thanks!

LigH-de commented 4 years ago

:+1: - waiting for any Windows binaries with e.g. a fix for the DNG output aborted before the embedded preview JPEG: #192

nvki commented 4 years ago

would be awesome to have a current version available on Windows!

heckflosse commented 4 years ago

would be awesome to have a current version available on Windows!

https://keybase.pub/gaaned92/HDRMergeNightlyBuilds/

aferrero2707 commented 4 years ago

@gaaned92 Would you mind to share with me your build/packaging scripts/instructions for HDRmerge? I can then try to adapt them into a cross-compilation procedure that could run in a docker container and hence be integrated with Travis CI…

gaaned92 commented 4 years ago

@aferrero2707 Sure I don't mind

"libgomp-1.dll      libjasper-4.dll    libwinpthread-1.dll
  libgraphite2.dll   libjpeg-8.dll      
libbz2-1.dll       libdouble-conversion.dll libharfbuzz-0.dll  liblcms2-2.dll     Qt5Core.dll
libexiv2.dll        libiconv-2.dll     libpcre-1.dll      Qt5Gui.dll
libexpat-1.dll      libicudt*.dll     libpcre2-16-0.dll  Qt5Widgets.dll
libfreetype-6.dll   libicuin*.dll     libpng16-16.dll    zlib1.dll
libgcc_s_seh-1.dll  libicuuc*.dll     libraw_r-19.dll
libglib-2.0-0.dll   libintl-8.dll      libstdc++-6.dll libzstd.dll"
aferrero2707 commented 4 years ago

@gaaned92 thanks for the tips!

I have managed to cross-compile HDRMerge with MSYS2 under ARCH Linux (using the same procedure I am already following for RawTherapee and ART). However, the compilation fails due to a missing #include <iostream> statement in src/ExifTransfer.cpp:

/sources/hdrmerge/src/ExifTransfer.cpp: In member function 'void ExifTransfer::copyMetadata()':
/sources/hdrmerge/src/ExifTransfer.cpp:63:14: error: 'cerr' is not a member of 'std'
         std::cerr << "Exiv2 error: " << e.what() << std::endl;

Next step is to bundle Qt and the rest of the dependencies into a portable folder...

EDIT: I also noticed that the Makefile generated by cmake in the cross-compilation case is missing the install target... very strange.

gaaned92 commented 4 years ago
 However, the compilation fails due to a missing
#include <iostream>

I did not notice that on windows. But I have to verify with last version.

EDIT: I also noticed that the Makefile generated by cmake in the cross-compilation case is missing the install target... very strange.

Ah! it is why I manually copied hdrmerge.exe from the buid dir to install dir! Thats a long time I did not review my build script.

aferrero2707 commented 4 years ago

Here is a first package ready to be tested: https://transfer.sh/KQ2yI/hdrmerge_win64.zip

@gaaned92 @heckflosse would you have time to give it a try?

gitoss commented 1 year ago

I'm a couple of years late to the party and the link above is dead - does anyone happen to have an up to date hdrmerge windows binary available?

The most recenct (20125) HDRMerge v0.5 release is 152 commits behind master...

nvki commented 1 year ago

hm, i found an old 0.6 build from ganeed in my downloads dir. maybe it helps