OK So I figured it out. After following the help files instructions on where
to copy the files, under the project properties -> configuration properties
-> linker -> input -> additional dependencies  add "libeay32MD.lib
ssleay32MD.lib" Note the MD matches the build type under properties ->
configuration properties -> C/C++ -> code generation

Mike Luich

On Fri, Oct 10, 2008 at 9:25 PM, Thomas J. Hruska <
[EMAIL PROTECTED]> wrote:

> Michael Luich wrote:
>
>> Hello,
>>    I'm trying to compile in Microsoft Visual C++ Express and I'm getting
>> linker errors like:
>>
>> error LNK2019: unresolved external symbol _BIO_gets referenced in function
>> "char * __cdecl sr_encrypt(char *,struct _iobuf *)" (?sr_encrypt@
>> @YAPADPADPAU_iobuf@@@Z)
>>
>> I got the header files all setup, but I can't get the libs working. I
>> followed the help and copied the lib files to C:\Program Files\Microsoft
>> Visual Studio 9.0\VC\lib .
>>
>> Anybody know what i'm missing?
>>
>> Mike Luich
>>
>
> You have to add the .lib files to your project's Linker properties.
>
> --
> Thomas Hruska
> Shining Light Productions
>
> Home of BMP2AVI, Nuclear Vision, ProtoNova, and Win32 OpenSSL.
> http://www.slproweb.com/
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    openssl-users@openssl.org
> Automated List Manager                           [EMAIL PROTECTED]
>

Reply via email to