problem in gcrypt
Lokesh Madan
mail2lokesh at gmail.com
Thu Apr 10 19:54:16 CEST 2008
Hi,
I am not the group member of this list, but i have one serious problem. In
one of my application i want to use the libcrypt-1.2.2 version, but my
application is in windows and i am using visual c++(2008 express
edition) compiler. I don't have the *.lib* file which is making me much
trouble, when i am trying to compile my code just with the *.dll* files i am
getting the errors:
Hash.obj : error LNK2019: unresolved external symbol _gcry_check_version
referenced in function "void __cdecl hash_init(void)" (?hash_init@@YAXXZ)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_control
referenced in function "void __cdecl hash_init(void)" (?hash_init@@YAXXZ)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_md_close
referenced in function "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl gdx2(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,bool)" (?gdx2@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N
@Z)
1>Hash.obj : error LNK2019: unresolved external symbol
_gcry_md_get_algo_dlen referenced in function "class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > __cdecl gdx2(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,bool)" (?gdx2@@YA?AV?$basic_string at DU
?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N@Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_md_read
referenced in function "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl gdx2(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,bool)" (?gdx2@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N
@Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_md_write
referenced in function "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl gdx2(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,bool)" (?gdx2@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N
@Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_md_setkey
referenced in function "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl gdx2(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,bool)" (?gdx2@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N
@Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_md_open
referenced in function "class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > __cdecl gdx2(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &,bool)" (?gdx2@
@YA?AV?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@ABV12 at 0_N
@Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_close
referenced in function "void __cdecl docrypt(unsigned char *,unsigned
int,bool)" (?docrypt@@YAXPAEI_N at Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_decrypt
referenced in function "void __cdecl docrypt(unsigned char *,unsigned
int,bool)" (?docrypt@@YAXPAEI_N at Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_encrypt
referenced in function "void __cdecl docrypt(unsigned char *,unsigned
int,bool)" (?docrypt@@YAXPAEI_N at Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_ctl
referenced in function "void __cdecl docrypt(unsigned char *,unsigned
int,bool)" (?docrypt@@YAXPAEI_N at Z)
1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_open
referenced in function "void __cdecl docrypt(unsigned char *,unsigned
int,bool)" (?docrypt@@YAXPAEI_N at Z)
1>C:\Documents and Settings\Lokesh Madan\My Documents\Visual Studio
2008\Projects\misc\Debug\misc.exe : fatal error LNK1120: 13 unresolved
externals
Can anyone please help me in getting *.lib* files of libcrypt-11 and
libgpg-error or is there any way out.
I am not in the mailing list please CC me your answers. Thanks in advance
--
Regards,
Lokesh Madan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20080410/404c6ccd/attachment.htm>
More information about the Gcrypt-devel
mailing list