Are you linking with ws2_32.lib?
From: openssl-users <openssl-users-bounces@xxxxxxxxxxx> On Behalf Of Don Payette
Sent: Thursday, August 24, 2023 1:33 PM
To: openssl-users@xxxxxxxxxxx
Subject: Linking problems in MSVC++
When I do a build in MSVC++ I get link errors, here is the one for _BIO_ctrl.
Severity Code Description
Error LNK2019 unresolved external symbol _BIO_ctrl referenced in function "public: void __thiscall CSocket::Connect(class CDFDSSocket *,char *,unsigned short)" (?Connect@CSocket@@QAEXPAVCDFDSSocket@@PADG@Z)
I get the same for _BIO_free_all, _BIO_new_ssl_connect and more.
I installed the OpenSSL Win64 pre-compiled binaries and pointed to C:\Program Files\OpenSSL-Win64\lib in Library Directories.
What am I missing?
Don Payette
(cell) 479-216-6320
On Thu, Aug 24, 2023 at 2:45 PM Floodeen, Tom <thomas.floodeenjr@xxxxxxxxxxx> wrote: