Obtaining and Installing CoSMIC
Welcome to the download page for CoSMIC, an open-source model-driven
development toolsuite for developing component-based distributed,
real-time and embedded systems. This document describes how to obtain
and install CoSMIC. Please report any problems with installation to cosmic-users
mailing list. You will need to
subscribe to the mailing list before you can post a message.
CoSMIC Installation
CoSMIC can be installed by compiling from source, or by downloading the
CoSMIC Windows Installer package.
Binary Releases
The latest release is CoSMIC 0.6.3.
Double-click on the downloaded package and follow the installation dialogs. Operating system requiremens are
Windows 2000, XP, 2003 server or XP x64.
Old binaries can be found here.
Instructions for Source Release
CoSMIC revision control is done using Subversion (svn), a modern replacement for CVS.
System Requirements
The following are the minimum system requirements for building CoSMIC
from the Subversion repository (given below):
-
Windows 2000/XP/Windows Server 2003/XP x64
-
Microsoft Visual Studio .NET 2003/2005 Professional (or Enterprise)
-
Activestate ActivePerl. Please note that Cygwin perl or MinGW perl
will not work.
-
Generic
Modeling Environment (GME) version 6.11.9
-
Universal Data Model (UDM) version
3.1.1 for MSVC 7.1 (or MSVC 8.0)
-
Boost library version 1.32
or later. Pre-compiled versions (VC7.1/VC8.0)are
also available.
-
Xerces version
2.7.0 or later. Pre-compiled versions (VC7.1/VC8.0)are
also available.
-
ZLib version 1.2.3 or later. Pre-compiled versions (VC7.1/VC8.0)are
also available.
-
The latest SVN
version of ACE/TAO/CIAO.
Checkout ACE/TAO/CIAO/MPC from SVN (using anonymous SVN) using
the following commands:
svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/trunk/ACE ACE
svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/trunk/TAO TAO
svn co svn://svn.dre.vanderbilt.edu/DOC/Middleware/trunk/CIAO CIAO
svn co svn://svn.dre.vanderbilt.edu/DOC/MPC/trunk MPC
-
The latest SVN
version of CoSMIC.
Checkout CoSMIC from SVN (using anonymous SVN) using the
following command:
svn co svn://svn.dre.vanderbilt.edu/CoSMIC/trunk/CoSMIC CoSMIC
Once you have obtained CoSMIC from Subversion to create a local
workspace of the CoSMIC repository, you need to do the following
to be able to compile CoSMIC:
-
Install Microsoft Visual Studio .NET 2003/2005 Professional,
Activestate ActivePerl.
-
Install GME using the Windows Installer package. If you encounter
any problems with installing GME, please report the problem to the gme-users
mailing list.
-
Install UDM using the Windows Installer package. If you encounter
any problems with installing UDM, please report the problem to the udm-users
mailing list.
-
Compile and install Boost. Or alternatively, unzip the
pre-compiled version to some directory.
-
Set the environment variable BOOST_ROOT to point to the
directory where you have installed Boost. For example, if you
unzipped the pre-compiled version to C:\Tools, you will need to
set BOOST_ROOT to point to C:\Tools\Boost. Please ensure that
the values of %BOOST_ROOT%\lib and %BOOST_ROOT%\include are
valid, i.e., they both should point to some valid directory.
-
Set the environment variable BOOST_VERSION to contain the name
of the the directory immediately under $(BOOST_ROOT)/include.
For example, if you downloaded the pre-compiled version of
Boost, your BOOST_VERSION should be equal to boost-1_32.
-
Add the directory %BOOST_ROOT%\lib to your PATH.
-
Compile and install Zlib. Or alternatively, unzip the
pre-compiled version to some directory.
-
Set the environment variable ZLIB_ROOT to point to the
directory where you have installed Zlib. For example, if
you unzipped the pre-compiled version to C:\Tools, you
will need to set ZLIB_ROOT to point to C:\Tools\Zlib.
Please ensure that the values of %ZLIB_ROOT%\lib and
%ZLIB_ROOT%\include are valid, i.e., they both should
point to some valid directory.
-
Add the directory %ZLIB_ROOT%\bin to your PATH.
-
Compile and install Xerces. Or alternatively, unzip the
pre-compiled version to some directory.
-
If you choose to compile Xerces, you need to enable the setting
in MSVC 7.1 so that wchar_t is treated as a built-in type. You
can do this by setting
Project->Properties->C/C++->Language->Treat wchar_t as Built-in
Type to "Yes".
-
Set the environment variable XERCESCROOT to point to the
directory where you have installed Xerces. For example, if you
unzipped the pre-compiled version to C:\Tools, you will need to
set XERCESCROOT to point to C:\Tools\xerces-c-2_7_0-win32-vc7.
Please ensure that the values of %XERCESCROOT%\bin and
%XERCESCROOT%\include are valid, i.e., they both should
point to some valid directory.
-
Add the directory %XERCESCROOT%\bin to your PATH.
-
Compile and install ACE/TAO/CIAO. You don't have to compile
all of ACE+TAO+CIAO to be able to build CoSMIC. You need to
compile only the TAO_IDL compiler.
-
Information on how to compile and install ACE+TAO+CIAO is available.
If you have any problems with building the TAO_IDL compiler,
you should report the problem to tao-users
mailing list.
-
Make sure that you have set ACE_ROOT and TAO_ROOT environment
variables.
-
Add the directory %ACE_ROOT%\lib to your PATH.
-
Set COSMIC_ROOT to point to the top-level CoSMIC directory in
your local Subversion workspace.
-
Add %COSMIC_ROOT%\bin to your PATH.
-
In order to be able to register the interperters with GME from
within Visual Studio, you need to add the directories which contain
the DLLs, i.e., all of the directories that you added to your PATH,
into your VC++ directories setting. The easiest way to do this is
to just add your PATH to VC++ directories. You can do this by
navigating to Tools->Options->Projects->VC++ Directories. Choose
the appropriate platform (e.g., Win32). Make sure that the value
of "Show directories for:" is Executable files. Add $(PATH) at the
end of the list of directories.
-
Register the PICML paradigm into GME. You can do this by running
GME.exe, and File->Register Paradigms->Add from File->Browse to
%COSMIC_ROOT%\PIM\PICML\paradigms\ and select PICML.xmp->Close.
-
Register the WSML paradigm into GME. You can do this by running
GME.exe, and File->Register Paradigms->Add from File->Browse to
%COSMIC_ROOT%\PIM\WSML\paradigms\ and select WSML.xmp->Close.
-
Register the SIML paradigm into GME. You can do this by
running GME.exe, and File->Register Paradigms->Add from
File->Browse to %COSMIC_ROOT%\PIM\SIML\paradigms\ and select
SIML.xmp->Close.
-
cd %COSMIC_ROOT%
- Generate the Visual Studio solution. If you are using
VC7.1:
%ACE_ROOT%\bin\mwc.pl -type vc71 cosmic.mwc
If you are using VC8.0:
%ACE_ROOT%\bin\mwc.pl -type vc8 cosmic.mwc
-
Open the generated cosmic.sln and build the solution.
Back to CoSMIC Web
Page .
Last modified: Thu Aug 11 07:38:58 CDT 2005