diff options
Diffstat (limited to 'TAO/CIAO/CIAO-INSTALL.html')
-rw-r--r-- | TAO/CIAO/CIAO-INSTALL.html | 90 |
1 files changed, 54 insertions, 36 deletions
diff --git a/TAO/CIAO/CIAO-INSTALL.html b/TAO/CIAO/CIAO-INSTALL.html index 6e1b8a5a612..17b6fd46597 100644 --- a/TAO/CIAO/CIAO-INSTALL.html +++ b/TAO/CIAO/CIAO-INSTALL.html @@ -104,56 +104,68 @@ 1.90GHZ CPU, please be patient). </li> </ul> - <p><A href="../../MPC/README">MPC</A> is used to build the CIDL compiler on <strong> - Windows</strong>. The procedure is outlined below. + <p>There are 2 ways to build the CIDL compiler on <strong>Windows</strong>: </p> - <ul> - <li> - If you have not created it already, create the file <code>%ACE_ROOT%/bin/MakeProjectCreator/config/default.features</code> - and add <code>cidl=1</code> and <code>boost=1</code> to it, each on its own - line. An easy way to do this is to copy the file <code>global.features</code> (in the - same directory) as <code>default.features</code> - and modify the appropriate lines in the new file, leaving everything else the - same. + <ol> <li> - Install the <a href="http://www.boost.org">Boost</a> - libraries on your machine. For Windows, you can download either the - Windows-specific .exe file or the platform-independent .zip file. Use version - 1.32.0 or later. The accompanying documentation on how to build and install - Boost is pretty straightforward. + Use the provided Visual Studio solution/project file. For detail please see <A href="./CCF/Documentation/Build.html"> + Build.html</A>. Since MPC is now supported to build the CIDL compiler on + Windows, these solution/project files may be removed in the future. <li> - Set the following environment variables: + Use <A href="../../MPC/README">MPC</A>. The procedure is outlined below. <ul> <li> - <code>ACE_ROOT</code> - - [path ending with ACE_wrappers directory] (this should already be - set if you're using CIAO) + If you have not created it already, create the file <code>%ACE_ROOT%/bin/MakeProjectCreator/config/default.features</code> + and add <code>cidl=1</code> and <code>boost=1</code> to it, each on its own + line. An easy way to do this is to copy the file <code>global.features</code> (in the + same directory) as <code>default.features</code> + and modify the appropriate lines in the new file, leaving everything else the + same. + <li> + Install the <a href="http://www.boost.org">Boost</a> + libraries on your machine. For Windows, you can download either the + Windows-specific .exe file or the platform-independent .zip file. Use version + 1.32.0 or later. The accompanying documentation on how to build and install + Boost is pretty straightforward. <li> - <code>BOOST_CFG</code> - <code>_vc7_mdsd</code> + Set the following environment variables: + <ul> + <li> + <code>ACE_ROOT</code> + - [path ending with ACE_wrappers directory] (this should already be + set if you're using CIAO) + <li> + <code>BOOST_CFG</code> - <code>_vc7_mdsd</code> + <li> + <code>BOOST_ROOT</code> + - [path ending with Boost directory] + <li> + <code>BOOST_VERSION</code> - [name of the directory under <code>%BOOST_ROOT%\include</code>, + for ex. <code>boost-1_32</code>, for Boost vesrion 1.32.0] + <LI> + <code>UTILITY_ROOT</code> - <code>%ACE_ROOT%\contrib\utility</code> + </LI> + </ul> <li> - <code>BOOST_ROOT</code> - - [path ending with Boost directory] + In <code>%CIAO_ROOT%\CIDLC</code> run <code>%ACE_ROOT%\bin\mwc.pl -type vc71 + CIDLC.mwc</code> <li> - <code>BOOST_VERSION</code> - [name of the directory under <code>%BOOST_ROOT%\include</code>, - for ex. <code>boost-1_32</code>, for Boost version 1.32.0] + Open <code>CIDLC.sln</code> and build as usual. Within the solution, the CIDLC + project is the top-level one, which depends on all the other projects, and + produces <code>cidlc.exe</code> in <code>%CIAO_ROOT%\bin</code>. + </li> </ul> - <li> - In <code>%CIAO_ROOT%\CIDLC</code> run <code>%ACE_ROOT%\bin\mwc.pl -type vc71 - CIDLC.mwc</code> - <li> - Open <code>CIDLC.sln</code> and build as usual. Within the solution, the CIDLC - project is the top-level one, which depends on all the other projects, and - produces <code>cidlc.exe</code> in <code>%CIAO_ROOT%\bin</code>. </li> - </ul> + </ol> <hr> <h3>Obtaining and Installing Xerces-C </h3> <p>The Xerces-C XML parsing library is a necessary component to build parts of DAnCE that need to process XML based descriptor files, which include the <b>Plan Launcher</b> and the <b>Repository Manager</b>. Currently, the only Xerces-C - version supported by the DOC group is version 2.6 or later. - Earlier versions of the Xerces-C library may work. + version supported by the DOC group is version 2.6 compiled with RTTI support. + Earlier versions of the Xerces-C library may work, but only if they were built + with RTTI support. </p> <h4>Building Xerces-C </h4> @@ -170,6 +182,12 @@ inconsistant library decorators onto the end of the Xerces-C libraries. The MPC build tool will expect these libraries to be named xerces-c for non debug versions, and xerces-cd for debug versions. + <li> + <strong>NOTE</strong>: RTTI is not enabled on most Win32 targets by default. If + you are building your own libraries, please make sure that you enable RTTI + support.<br> + <br> + </li> </ul> <h4>Xerces-C Environment Settings </h4> @@ -257,10 +275,10 @@ <li> Remove all the GNUmakefiles or project files that are shipped with the release. <li> - Open up <code>$CIAO_ROOT/CIAO_TAO.mwc</code> + Open up <code>$CIAO_ROOT/CIAOTAO.mwc</code> . <li> - Run <code>$ACE_ROOT/bin/mwc.pl CIAO_TAO.mwc</code> from <code>$CIAO_ROOT</code> + Run <code>$ACE_ROOT/bin/mwc.pl CIAOTAO.mwc</code> from <code>$CIAO_ROOT</code> . <li> Type 'make' |