Hi, I really appreciate the work you have done in designing libcrypt-1.2.2. I am a new user, and using your package in one of my application in visual c++ (windows). while using your code i got various linking 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@ @[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED] @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@@[EMAIL PROTECTED] [EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED]@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@ @[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED] @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@ @[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED] @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@ @[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED] @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@ @[EMAIL PROTECTED]@[EMAIL PROTECTED]@@[EMAIL PROTECTED]@2@@std@@[EMAIL PROTECTED] @Z) 1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_close referenced in function "void __cdecl docrypt(unsigned char *,unsigned int,bool)" (?docrypt@@[EMAIL PROTECTED]) 1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_decrypt referenced in function "void __cdecl docrypt(unsigned char *,unsigned int,bool)" (?docrypt@@[EMAIL PROTECTED]) 1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_encrypt referenced in function "void __cdecl docrypt(unsigned char *,unsigned int,bool)" (?docrypt@@[EMAIL PROTECTED]) 1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_ctl referenced in function "void __cdecl docrypt(unsigned char *,unsigned int,bool)" (?docrypt@@[EMAIL PROTECTED]) 1>Hash.obj : error LNK2019: unresolved external symbol _gcry_cipher_open referenced in function "void __cdecl docrypt(unsigned char *,unsigned int,bool)" (?docrypt@@[EMAIL PROTECTED]) I am using the gcrypt.h,gcrypt-module.h,gpg-errors.h , also libcrypt-11.dll,libgpg-error.dll. can you please help me out in resolving this errors. -- Regards, Lokesh Madan
_______________________________________________ GNUnet-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnunet-developers
