ACE: Complier Errors building ACE SSL Project Against Openssl 3.0.1

Johnny Willemsen jwillemsen at remedy.nl
Thu Mar 17 02:27:00 CDT 2022


Hi,

Thanks for using the PRF form. The 6.2.8 release is ancient, there have 
been a lot of changes after that release. OpenSSL 3 is pretty new, I 
haven't seen any specific changes for it in the TAO repository and I 
haven't tried it my self.

I would recommend to first try the most recent release (see 
https://github.com/DOCGroup/ACE_TAO/releases). That way you get all 
changes made the last years, including OpenDDS 1.1 support. Maybe that 
resolves the issue, but not sure.

Best regards,

Johnny Willemsen
Remedy IT
https://www.remedy.nl

On 3/16/22 22:07, Phelps, Anthony W. - US wrote:
> ACE VERSION: 6.2.8
> 
>      HOST MACHINE and OPERATING SYSTEM:
>      Edition Windows 10 Enterprise, Version 21H2, OS build 19044.1586, 
> Experience Windows Feature Experience Pack 120.2212.4170.0
>      WINSOCK version: 10.0.19041.1
> 
>      TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
>      COMPILER NAME AND VERSION (AND PATCHLEVEL): Microsoft Visual Studio 
> Professional 2013
>      Version 12.0.40629.00 Update 5
> 
>      THE $ACE_ROOT/ace/config.h
> #include "ace/config-win32.h"
> 
>      AREA/CLASS/EXAMPLE AFFECTED:
>      SSL Project failed to compile
> 
>      DOES THE PROBLEM AFFECT:
>      COMPILATION Yes
> 
> 
>      SYNOPSIS:
>      Untarred openssl-3.0.1.tar.gz, built and installed. Untarred 
> ACE-src-6.2.8.tar.gz and tried to compile but got compilation errors 
> (see below).
> 
>      DESCRIPTION:
> (1) After untaring building and installing Openssl 3.0.1 to include FIPS 
> support ACE 6.2.8 is untarred to the "ACE_wrappers" folder.
> 
>   (2) Next, I create the ACE Visual Studio 2013 solution and project 
> files i.e.
>          call perl "%ACE_ROOT%\bin\mwc.pl" -type vc12 -recurse 
> -hierarchy -features ^
>             ssl=1 -value_template libname_prefix=NTCSS_
> When I try to build Ace via the Visual Studio 2013 solution all the 
> solutions build except the SSl Project i.e.
> 
>      2>------ Build started: Project: SSL, Configuration: Release Win32 
> ------
>      2>  SSL_Asynch_BIO.cpp
>      2>  SSL_Asynch_Stream.cpp
>      2>  SSL_Context.cpp
>      2>  SSL_Initializer.cpp
>      2>  SSL_SOCK.cpp
>      2>  SSL_SOCK_Acceptor.cpp
>      2>  SSL_SOCK_Connector.cpp
>      2>  SSL_SOCK_Stream.cpp
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_Asynch_BIO.h(29): 
> fatal error C1083: Cannot open include file: 'openssl/bio.h': No such 
> file or directory (SSL_Asynch_BIO.cpp)
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_SOCK_Stream.h(30): 
> fatal error C1083: Cannot open include file: 'openssl/err.h': No such 
> file or directory (SSL_SOCK_Connector.cpp)
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_SOCK_Stream.h(30): 
> fatal error C1083: Cannot open include file: 'openssl/err.h': No such 
> file or directory (SSL_SOCK_Acceptor.cpp)
>      2>SSL_SOCK_Stream.cpp(10): fatal error C1083: Cannot open include 
> file: 'openssl/err.h': No such file or directory
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_Context.h(30): 
> fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such 
> file or directory (SSL_Context.cpp)
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_Context.h(30): 
> fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such 
> file or directory (SSL_Asynch_Stream.cpp)
>      
> 2>c:\development\ntcss-3.40\ntcss-3.40-desktop-client\ace_wrappers\ace\ssl\SSL_Context.h(30): 
> fatal error C1083: Cannot open include file: 'openssl/ssl.h': No such 
> file or directory (SSL_Initializer.cpp)
>      ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped 
> ==========
>      Failed to build ACE in Release mode.
> 
>      (3) Next, I opened the ACE Visual Studio 2013 solution file 
> (Ace.sln) via Visual Studio 2013 and see the following SSL Project's 
> Property Pages setting C++->General->Additional Include Directories is 
> pointing to: $(SSL_ROOT)\include and $(SSL_ROOT)\inc32. These folders 
> don't exist in the Openssl 3.0.1 install folder i.e. 
> ...\openssl-install\ProgramFiles (x86)\OpenSSL\include\openssl. 
> $(SSL_ROOT) is set to "openssl-install" above.
> 
> (4) I modified the Additional Include Directories for the SSL Project to 
> point to correct Openssl 3.0.1 installed folders so it found the above 
> include files but I got many compiler errors. The Additional Library 
> Directories were pointing to the ...\ACE_wrappers\lib and the ACE.dll 
> and ACE.lib were successfully built and in this folder.
> 
> Question: Is there a current version of ACE that builds with OpenSSL 
> 3.0.X i.e. openssl-3.0.0.tar.gz?
> 
> Thanks Anthony Phelps
> 
> ------------------------------------------------------------------------
> 
> This electronic message contains information from CACI International Inc 
> or subsidiary companies, which may be company sensitive, proprietary, 
> privileged or otherwise protected from disclosure. The information is 
> intended to be used solely by the recipient(s) named above. If you are 
> not an intended recipient, be aware that any review, disclosure, 
> copying, distribution or use of this transmission or its contents is 
> prohibited. If you have received this transmission in error, please 
> notify the sender immediately.


More information about the ace-users mailing list