GPGME -- Context

View: New views
3 Messages — Rating Filter:   Alert me  

GPGME -- Context

by Bugzilla from mat69@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I hope this is the correct place to describe my problem.

I have GPGME 1.2.0, GnuPG 1.4.10 and GnuPG 2.0.13 installed on my 64 bit Arch-
Linux system.

Now creating gpgme_ctx_t does not work for me anymore (it did work on another
64 bit distribution with older versions though)

gpgme_ctx_t ctx = 0;
gpgme_error_t errCtx = gpgme_new (&ctx);
std::cout << errCtx << std::endl; //always prints 536871088

Can anybody help me on this issue?


Cheers!
matthias

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@...
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

Re: GPGME -- Context

by Daniel Mueller-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Matthias,

On Sat, 10 Oct 2009 15:19:14 +0200 Matthias Fuchs wrote:

> I have GPGME 1.2.0 [..]
> [..]
> gpgme_ctx_t ctx = 0;
> gpgme_error_t errCtx = gpgme_new (&ctx);
> std::cout << errCtx << std::endl; //always prints 536871088

Did you call gpgme_check_version(const char *REQUIRED_VERSION) before
creating the context? Please see gpgme's developer info page section 2.6
"Library Version Check" for more information.

bye,
Daniel

--
Daniel Mueller          http://www.danm.de
Berlin, Germany         OpenPGP: F9F982C1

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@...
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

Re: GPGME -- Context

by Bugzilla from mat69@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 10 October 2009 20:36:24 Daniel Mueller wrote:

> Hi Matthias,
>
> On Sat, 10 Oct 2009 15:19:14 +0200 Matthias Fuchs wrote:
> > I have GPGME 1.2.0 [..]
> > [..]
> > gpgme_ctx_t ctx = 0;
> > gpgme_error_t errCtx = gpgme_new (&ctx);
> > std::cout << errCtx << std::endl; //always prints 536871088
>
> Did you call gpgme_check_version(const char *REQUIRED_VERSION) before
> creating the context? Please see gpgme's developer info page section 2.6
> "Library Version Check" for more information.
>
> bye,
> Daniel
>
Oh, thx!
Should have rtfm, sorry for that stupid question.

Cheers!
matthias

_______________________________________________
Gnupg-devel mailing list
Gnupg-devel@...
http://lists.gnupg.org/mailman/listinfo/gnupg-devel