Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: devel

GPGME -- Context

 

 

GnuPG devel RSS feed   Index | Next | Previous | View Threaded


mat69 at gmx

Oct 10, 2009, 6:19 AM

Post #1 of 3 (89 views)
Permalink
GPGME -- Context

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[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


daniel at danm

Oct 10, 2009, 11:36 AM

Post #2 of 3 (86 views)
Permalink
Re: GPGME -- Context [In reply to]

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[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel


mat69 at gmx

Oct 11, 2009, 5:45 AM

Post #3 of 3 (83 views)
Permalink
Re: GPGME -- Context [In reply to]

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[at]gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-devel

GnuPG devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.