DOCGroup / ACE_TAO

ACE and TAO
https://www.dre.vanderbilt.edu/~schmidt/TAO.html
701 stars 380 forks source link

Issue in generating projects & solutions for VS2019 for SSL #2191

Closed gnsh0802 closed 8 months ago

gnsh0802 commented 8 months ago

I have installed latest ACE+TAO 713 and tried to configure for SSL as per the below steps,

  1. Created a default.features in %ACE_ROOT%\bin\MakeProjectCreator\config, by adding lines ssl=1, and openssl11=1.
  2. Installed OpenSSL and configured the environment variable %SSL_ROOT%
  3. When running the below command

%ACE_ROOT%\bin\mwc.pl -type vs2019 TAO_ACE.mwc MPC_ROOT was set to D:\ACETAO\ACE_wrappers\MPC. Using .../ACETAO/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg Generating 'vs2019' output using TAO_ACE.mwc Skipping ACE_XtReactor (ace_xtreactor.mpc); it requires xt. Skipping ACE_XML_Utils (XML.mpc); it requires xerces. Skipping ACE_TkReactor (ace_tkreactor.mpc); it requires tk. Skipping SSL (ssl.mpc); it avoids ace_for_tao.

Observed the line, "Skipping SSL" Question 1: -- Is this expected? Am I missing anything?

But, I observed that SSL related projects are created and I have manually added to ACE_TAO.sln. Question 2: Do I need to add manually to the solution ? or it will be added to the respective solutions automatically

Kindly help on my queries.

mitza-oci commented 8 months ago

I have installed latest ACE+TAO 713 and tried to configure for SSL as per the below steps,

  1. Created a default.features in %ACE_ROOT%\bin\MakeProjectCreator\config, by adding lines ssl=1, and openssl11=1.

  2. Installed OpenSSL and configured the environment variable %SSL_ROOT%

  3. When running the below command %ACE_ROOT%\bin\mwc.pl -type vs2019 TAO_ACE.mwc

MPC_ROOT was set to D:\ACETAO\ACE_wrappers\MPC. 
Using .../ACETAO/ACE_wrappers/bin/MakeProjectCreator/config/MPC.cfg 
Generating 'vs2019' output using TAO_ACE.mwc 
Skipping ACE_XtReactor (ace_xtreactor.mpc); it requires xt. 
Skipping ACE_XML_Utils (XML.mpc); it requires xerces. 
Skipping ACE_TkReactor (ace_tkreactor.mpc); it requires tk. 
Skipping SSL (ssl.mpc); it avoids ace_for_tao.

Observed the line, "Skipping SSL" Question 1: -- Is this expected? Am I missing anything?

That depends on how you've configured ACE+TAO. Based on the output from MPC it looks like the feature ace_for_tao was enabled. Note that it starts out as disabled in the global.features file.

An example of building ACE+TAO with OpenSSL using vs2019 is here https://github.com/DOCGroup/ACE_TAO/actions/runs/7770892998/job/21191585321

But, I observed that SSL related projects are created and I have manually added to ACE_TAO.sln. Question 2: Do I need to add manually to the solution ? or it will be added to the respective solutions automatically

It is not intended to be manually added. If you end up using a solution with a project manually added, make sure to set up the inter-project dependencies manually as well.

I would suggest removing the ACE_wrappers directory tree completely and starting from a clean state.