Joe Wein
Fighting spam and scams
on the Internet

Home / Blog / About us
Spam
419/Nigeria
Online fraud
jwSpamSpy
Contact

Email Spam Filter:
jwSpamSpy
Try it for free!

Google
 

How to fix compiler errors during MSVC build of OpenSSL

See also:

Problem: When building OpenSSL using Microsoft Visual Studio (MS Visual C++) by running

nmake -f ms\ntdll.mak
you may see the following error messages:

.\crypto\cversion.c(105) : error C2220: warning treated as error - no 'object' file generated
.\crypto\cversion.c(105) : warning C4129: 'o' : unrecognized character escape sequence

NMAKE : fatal error U1077: 'cl' : return code '0x2'

Stop.

Solution:
When you run the perl script to configure the build system for MS VC, make sure to specify Unix-style forward slashes (c:/blah/blah) instead of DOS-style backslashes (c:\blah\blah) when specifying the folder where you want OpenSSL installed.