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.

CoSMIC version Generic Modeling Environment (GME) version md5sum
CoSMIC 0.6.3 Stable Installer
6.11.9
md5sum
Upcoming CoSMIC 0.6.4 Beta Installer
6.11.9
md5sum
Upcoming CoSMIC 0.6.4 Beta Installer
7.6.29
md5sum
CoSMIC Nightly Release Installer
6.11.9
md5sum
CoSMIC 0.6 Beta Installer
6.11.9
md5sum

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):
  1. Windows 2000/XP/Windows Server 2003/XP x64
  2. Microsoft Visual Studio .NET 2003/2005 Professional (or Enterprise)
  3. Activestate ActivePerl. Please note that Cygwin perl or MinGW perl will not work.
  4. Generic Modeling Environment (GME) version 6.11.9
  5. Universal Data Model (UDM) version 3.1.1 for MSVC 7.1 (or MSVC 8.0)
  6. Boost library version 1.32 or later. Pre-compiled versions (VC7.1/VC8.0)are also available.
  7. Xerces version 2.7.0 or later. Pre-compiled versions (VC7.1/VC8.0)are also available.
  8. ZLib version 1.2.3 or later. Pre-compiled versions (VC7.1/VC8.0)are also available.
  9. 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

  10. 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:
  1. Install Microsoft Visual Studio .NET 2003/2005 Professional, Activestate ActivePerl.
  2. 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.
  3. 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.
  4. Compile and install Boost. Or alternatively, unzip the pre-compiled version to some directory.
  5. Compile and install Zlib. Or alternatively, unzip the pre-compiled version to some directory.
  6. Compile and install Xerces. Or alternatively, unzip the pre-compiled version to some directory.
  7. 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.
  8. Set COSMIC_ROOT to point to the top-level CoSMIC directory in your local Subversion workspace.
  9. Add %COSMIC_ROOT%\bin to your PATH.
  10. 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.
  11. 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.
  12. 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.
  13. 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.
  14. cd %COSMIC_ROOT%
  15. 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

  16. Open the generated cosmic.sln and build the solution.

Back to CoSMIC Web Page .

Last modified: Thu Aug 11 07:38:58 CDT 2005