Hello OpenSSL users,
I need help on following errors which I am getting from my Windows machine building on Visual Studio 2019,
Version 16.11.17.
Build started...
1>------ Build started: Project: executeHelloWorld, Configuration: Debug Win32 ------
1>VerifyJWTSignUsingRSA.cpp
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(28,1): error C2447: '{': missing function header (old-style formal list?)
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(29,5): error C2018: unknown character '0x40'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(30,16): error C2018: unknown character '0x40'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(36,14): error C2018: unknown character '0x40'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(40,9): error C2018: unknown character '0x40'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(41,16): error C2018: unknown character '0x40'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(51,1): error C2447: '{': missing function header (old-style formal list?)
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(57,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(57,4): error C2065: '$config': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(57,12): error C2065: 'bn_ll': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(57,47): error C2059: syntax error: '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(57,47): error C2143: syntax error: missing ';' before '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(59,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(59,4): error C2065: '$config': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(59,12): error C2065: 'b64l': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(59,46): error C2059: syntax error: '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(59,46): error C2143: syntax error: missing ';' before '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(60,1): error C2143: syntax error: missing ';' before '{'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(60,1): error C2447: '{': missing function header (old-style formal list?)
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(61,1): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(61,4): error C2065: '$config': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(61,12): error C2065: 'b32': undeclared identifier
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(61,46): error C2059: syntax error: '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(61,46): error C2143: syntax error: missing ';' before '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(67,1): error C2143: syntax error: missing ';' before '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\configuration.h(67,1): error C2059: syntax error: '}'
1>C:\Users\myDir\WindowsUtils\executeHelloWorld\openssl-master\include\openssl\macros.h(138,6): fatal error C1017: invalid integer constant _expression_
1>Done building project "executeHelloWorld.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
NOTE: I have re-named file openssl\configuration.h.in to openssl\configuration.h
Likewise i re-named err.h, ssl.h, opensslv.h, crypto.h
I downloaded OpenSLL source from GitHub - openssl/openssl: TLS/SSL and crypto library
Regards,
S.Ashok Kumar