gpgme-w32spawn problem on Windows
castrillo.miguel at gmail.com
Mon Sep 21 17:19:01 CEST 2015
As it is used to say... I should have figured it out. Lately I thought
in installing the complete version of gpg2win, but finally discarded
that option because I didn't think it included gpme also...
What I did, in case it is useful for anybody:
- Installed gpg4win.
- Copied dll files and gpgme-w32spawn.exe to my aplication's run dir.
(I had to copy the spawning exe there, because it didn't run from
C:/Program Files/GNU/GnuPG, although it finds succesfully the
gpgconf.exe in that path).
- Included to my project VS 2013 the .h and .imp files.
PS: I used the gpg4win 2.2.6 version to give it a try and it included
.imp files instead of .a files in /lib, which I think is better for me
for including it in VS. I don't really know much about the difference
between .lib files and .imp files but it seems to work. With .a files
I think is not so straightforward.
Thank you very much I was getting crazy with this problem,
2015-09-21 16:01 GMT+02:00 Werner Koch <wk at gnupg.org>:
> On Mon, 21 Sep 2015 14:40, castrillo.miguel at gmail.com said:
>> I don't sure if I understand. As far as I know libgpgme*.dll is not
>> distributed. The same happens with the lib files. From gpgme source I
> It might be that the vanilla installer does not distibute gpgme. The
> light and standard installers do that:
> The *dll.a are the import files.
> The GnuPG 2.1 installer has these files:
> File bin/libgpgme-11.dll
> File bin/gpgme-w32spawn.exe
> File lib/libgpgme.dll.a
> File include/gpgme.h
> for a new project I would suggest to use 2.1.
> Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
Miguel Castrillo Melguizo
More information about the Gnupg-devel