compile gpgme with VisualC

Thorsten Maerz torte at
Mon Feb 23 11:29:54 CET 2004

Hi Marcus,

On Thu, 19 Feb 2004 00:57:32 +0100 Marcus Brinkmann <marcus.brinkmann at> wrote:

> > I've modify the config.h by hand and I've fix minor
> > erroneous functions calls.
> > if anyone is interested in, I will send the dsp/dsw
> > and the little diff.
> We are definitely interested.  If you want to speed things up, check
> if those changes still apply to the 0.4.x branch, because the 0.3.x
> branch is effectively discontinued.  Still, I have no problems
> applying the changes even to 0.3.x if you provide a sane patch, in
> particular as getting 0.4.x to work on such platforms will be
> difficult.

Btw., the Sylpheed/Win32 port uses a MSVC built gpgme since 0.3.4
(IIRC the w32-*.c files have only been available from CVS at that
time&version, but 0.3.15 definitely provides them).

There is a developer package containing a prebuilt static library
along with the sources (and the applied .diff) at
(it can be built as a DLL as well using the workspace and rc
file from, but only the static build
has been tested for almost two years now - the DLL is untested).

That package is stripped down to the 'gpgme' subdir from the
original tarball, but you can use the original gpgme sources
as well by copying 'gpgme-0.3.15-msvc.diff' into its base
directory and apply it with 'patch -p1': It will create the
workspace files as well (depending on your patch.exe they
will have posix lineendings, so convert them to DOS before
feeding MSVC with them).

The patch also seems to work with gpgme-0.3.16, but it hasn't
undergone user testing yet (the released packages have been
linked against 0.3.4, 0.3.12 and 0.3.15).

I didn't try gpgme-0.4.x yet, cause Sylpheed doesn't use it
and v0.4 requires more libraries (gpg-error, assuan, ...?),
so I can't provide any details on the alpha version.

Thorsten Maerz          <torte at>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : /pipermail/attachments/20040223/1ec7e15c/attachment.bin

More information about the Gnupg-devel mailing list