Bug 383240

Summary: digikam >5.3 do not run on Windows XP
Product: [Applications] digikam Reporter: Martin Anantharaman <Martin.Anantharaman>
Component: Bundle-WindowsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: caulier.gilles, freisim93
Priority: NOR    
Version First Reported In: 5.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 5.8.0
Sentry Crash Report:

Description Martin Anantharaman 2017-08-07 16:58:54 UTC
Dgikam versions beyond 5.3.0 do not run on Windows XP SP3. They install normally but on starting digikam it immediately complains about an unsatisfied external _vsnprintf_s in msvcrt.dll, to which QT5Core.dll is linked. 

Guessing: digikam was built with MinGW options using the "secure" API with suffix _s - which is not available in the standard msvcrt.dll in Windows XP SP3.
Comment 1 Simon 2017-08-07 17:13:26 UTC
Maybe this is easy to diagnose/fix, in which case ignore the stuff I write below.
In my opinion this is fixed by not using Windows XP. There are situations where it is sensible/necessary to use this system without security updates, but a multimedia workstation is hardly one of these.
Comment 2 caulier.gilles 2017-08-07 18:40:23 UTC
Martin, 

You can ask to MXE project (or look in issues archive) which is use to compile whole digiKam and dependencies. If an easy solution can be applied to build scripts, well it will be fine to apply, else, this will be closed as WONTFIX.

http://mxe.cc/

Gilles Caulier
Comment 3 Martin Anantharaman 2017-12-09 09:22:24 UTC
Gilles and Simon,

I got sidetracked from doing doing a deep-dive - and really lack the time and abilities to do so. The only thing I found checking out MXE were the ...
- Package Specific Notes https://github.com/mxe/mxe/wiki/Package-Specific-Notes, wherethe reference to Win32 Secure API matches some comments I have seen elsewhere, but ...
- There are more issues, e.g. with MysQL, and glb/mingw (see https://bugzilla.gnome.org/show_bug.cgi?id=668071), so ..
I understand no-one will really put in the significant effort probably required to support an obsolete OS. Hence I agree to make this WONTFIX - and will keep using 5.3 on my XP-boxes.

Regards, Martin
Comment 4 caulier.gilles 2017-12-09 13:55:23 UTC
Ok thanks for the feedback...

Gilles Caulier