exiv2 on Windows Vista by Mingw : libwinpthread-1.dll missing
if I add the file copied from photorec folder, it runs fine.
RE: exiv2 on Windows Vista by Mingw : libwinpthread-1.dll missing - Added by Robin Mills about 1 year ago
That file isn't part of the Exiv2 distribution. I believe it's part of MinGW and although MinGW executables are intended to run on "Native Windows" without additional DLLs, clearly that promise is not being. On my Windows 10 machine, I have the following copies of that file:
c:\cygwin64\user\i686-w64-mingw32\sys-root\mingw\bin\libwinpthread-1.dll c:\cygwin64\user\x86_64-w64-mingw32\sys-root\mingw\bin\libwinpthread-1.dll c:\cygwin64\usr\i686-w64-mingw32\sys-root\mingw\bin\libwinpthread-1.dll c:\cygwin64\usr\x86_64-w64-mingw32\sys-root\mingw\bin\libwinpthread-1.dll c:\Program Files (x86)\Microsoft Visual Studio\2017\...\libwinpthread-1.dll c:\Program Files (x86)\PhotoQt\libwinpthread-1.dllI've also used the depends32.exe tool (which is in the Exiv2 code base) to inspect for other DLLs which you may need:
$ msvc/tools/bin/depends32 /q $(cygpath -aw /c/temp/dist/mingw/bin/exiv2.exe) bcryptPrimitives.dll CRYPTBASE.dll SspiCli.dll RPCRT4.dll WS2_32.dll SHELL32.dll PSAPI.DLL zlib1.dll GDI32.dll win32u.dll USER32.dll KERNELBASE.dll ntdll.dll KERNEL32.dll libexpat-1.dll libexiv2-26.dll Not found: libstdc++-6.dll Not found: libwinpthread-1.dll Not found: libgcc_s_dw2-1.dll exiv2.exe Not found: libstdc++-6.dll Not found: libgcc_s_dw2-1.dll 511 rmills@rmillsmbp-w7:/c/users/rmills/gnu/exiv2/0.26 $I'm a little surprised by those dependancies. These DLLs are readily available on-line.
For your information, I have found MinGW to be a very troublesome build environment and will not be supporting it in future. During the last year, I've talked to the Engineers at darktable who strongly advocate msys2. I'm hoping to find the motivation and time to work on that soon. If you're interested in this, I'm always looking for volunteers to join the team. If you'd like to support Exiv2/MinGW,/MSYS I will be happy to mentor you and give you encouragement.