Adding libgcrypt

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
sabique
Blank Cone
Blank Cone
Posts: 10
Joined: 23 Jun 2009 08:29

Adding libgcrypt

Postby sabique » 18 Aug 2009 12:58

hi...
I am programming with vlc source and
system...windows xp sp2
environment: MSys+MingW
vlc version 1.0.1

want to use libgcrypt functions with vlc.
i think libgcrypt is default enabled in vlc configuration.
my include is #include <gcrypt.h>
following files are added in vlc include directory.
gcrypt.h
gcrypt-module.h,
gpg-error.h

but still following errors are shown
undefined reference to `_gcry_check_version'
undefined reference to `_gcry_control'
undefined reference to `_gcry_control'
undefined reference to `_gcry_cipher_open'
undefined reference to `_gcry_cipher_setkey'
undefined reference to `_gcry_cipher_encrypt'
undefined reference to `_gcry_cipher_close'

what should i do to have a smooth run over libgcrypt.

thanks :mrgreen:

Ansaz

Rémi Denis-Courmont
Developer
Developer
Posts: 15184
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Adding libgcrypt

Postby Rémi Denis-Courmont » 18 Aug 2009 17:53

You need to adjust the linker flags.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 5 guests