Re: Building gpgme on windows with GCC 5.1.0

2016-08-08 Thread Werner Koch
On Mon, 8 Aug 2016 14:46, jus...@g10code.com said: > Do you need exactly that version? Debian has a gcc 5.4 cross toolchain: Take a bit of care: Mingw is known to introduce regression with new compilers or runtimes. For the binaries distributed by gnupg.org we currently use 4.9.1. If you inst

Re: Building gpgme on windows with GCC 5.1.0

2016-08-08 Thread Justus Winter
Hi :) Le Roy Francis writes: > Hi, I have difficulties building gpgme on windows. I have tried to cross > compile on ubuntu, but I was unable to found a cross compile toolchain > with gcc version 5.1.0.. Do you need exactly that version? Debian has a gcc 5.4 cross toolchain: %

Building gpgme on windows with GCC 5.1.0

2016-08-08 Thread Le Roy Francis
Hi, I have difficulties building gpgme on windows. I have tried to cross compile on ubuntu, but I was unable to found a cross compile toolchain with gcc version 5.1.0.. Building with MSYS on windows also gave me error. Is there a simple way of building gpgme on windows ? Thanks. FLR

gpgme on Windows

2009-10-12 Thread David Gray
Hi all, Been doing some searching this morning to see if gpgme is available for Windows and can be used commercially. Is anyone using this product on Windows under .net 3.5 (C#) that can give advice? Also does anyone know where the Windows download site is? Thanks in advance Dave Regis

Re: gpgme on windows

2009-03-20 Thread Werner Koch
On Thu, 19 Mar 2009 18:24, gordian.kl...@gmx.de said: > Is it possible to build a static library with mingw or cygwin that i can > link against with VS? No, the Microsoft C compiler requires a newer version of the Microsoft C runtime library than the one supported by mingw. This will lead to a l

Re: gpgme on windows

2009-03-20 Thread Florian Schwind
Gordian Klein wrote: > Is it possible to build a static library with mingw or cygwin that i can > link against with VS? Have a look at: http://clbianco.altervista.org/gnupg/eng/gnupg.html I don't think this is a complete tutorial, but I managed to compile gpgme after a few days :-). When you fini

Re: gpgme on windows

2009-03-19 Thread Gordian Klein
Hello, now i have another question concerning gpgme and Windows. As i said in the previous post i do dynamically link my application with Visual Studio against the gpgme-11.dll from the gpg4win project. Is it somehow possible to statically link gpgme with Visual Studio? What whould i have to do t

Re: gpgme on windows

2009-03-19 Thread Gordian Klein
> Try something like this: > > int translate_fd(int fd, int for_write) { > #ifdef WIN32 > int x; > > if (fd == -1) { > return -1; > } > > x = _open_osfhandle ((long)fd, for_write ? 1 : 0); > if (x == -1) { > printf("Failed to translate osfhandle %p\n", (void *) fd

Re: gpgme on windows

2009-03-19 Thread Florian Schwind
Gordian Klein wrote: > Hello, > > i want to use gpgme with Visual Studio on Windows. > Therefore i downloaded gpg4win and now succesfully use the > libgpgme-11.dll from it with VS. > But i have some trouble with the password callback function. > It looks like this: > > static gpgme_error_t passph

gpgme on windows

2009-03-18 Thread Gordian Klein
Hello, i want to use gpgme with Visual Studio on Windows. Therefore i downloaded gpg4win and now succesfully use the libgpgme-11.dll from it with VS. But i have some trouble with the password callback function. It looks like this: static gpgme_error_t passphrase_cb (void *hook, co