Topic: Problem when Building wolfSSL with ECC on Windows

I tried to define NO_RSA&HAVE_ECC in C/C++ ->Preprocessor,but it didn't work with ssl.c. Then I tried to define it in ssl.h and met lots of errors such as "error LNK2001: unresolved external symbol _ecc_free".

how can I fix this?

Share

Re: Problem when Building wolfSSL with ECC on Windows

Hi,

You'll need to do a couple of things to build the existing Visual Studio wolfSSL project file with NO_RSA and HAVE_ECC:

1.  In the Visual Studio project file for wolfSSL embedded SSL, you'll need to add NO_RSA and HAVE_ECC to the Preprocessor Definitions.

2.  You'll need to remove the OPENSSL_EXTRA define already listed in the preprocessor definitions in the project settings.

3.  You'll need to add the ./ctaocrypt/src/ecc.c source file to the "Source Files" list in Visual Studio.

4.  Clean and re-build the wolfSSL project.

Best Regards,
Chris