visual c++ - linker errors with openssl on VS 2008 -


I have installed openssl 0.9.8l and added and VS Library path for directories (I did this before installing bootl libraries) but I continue to get the linker errors

Anyway I can solve the same

thus

  Error 1 error LNK2019 errors are: .. Unsolved exotic symbol _BN_free _main RSA.obj RSA error 2 error referenced in LNK2019 function: Unsolved external symbol _BN_bn2dec _main RSA.obj RSA error 3 error referenced in LNK2019 function: Unsolved external symbol _main RSA.obj RSA error 4 error referenced in LNK2019 function _BN_num_bits : Unsolved external symbol _BN_generate_prime _main RSA.obj RSA error 5 error referenced in LNK2019 function: Unsolved external symbol _main RSA.obj RSA error 6 serious error in the LNK1120 function The following is the text "itemprop =" followed by: _BN_new: 5 unsolved external C: \ Visual Studio 2008 \ Projects \ RSA \ debug \ RSA.exe RSA  

You also need to specify the name of the library as" additional dependency ".

In the project. Properties, you must go to Linker. Input. In additional dependencies, you need to provide the names of libraries.

Update

You want to link in libeay32.lib and ssleay32.lib.

You may have more than one version called libeayMT.lib or libeayMDd.lib. These sequences are constructed against different versions of the library and you want to pick up how you are building your program. You can also see it in the properties dialog C / C ++ | Code Generation | Runtime Libraries.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -