Running under Mono/openSUSE
Thales Simulator can now run under Mono 2.6.3. Some changes to the source code were done in order to make this possible. Note that running the simulator has only been tested under 32-bit openSUSE 11.2.
Here are the steps in order to build and run the simulator under this configuration:
1. Install Mono 2.6.3.The steps to install Mono 2.6.3 under openSUSE 11.2 may very well change as Mono and openSUSE are updated. On top of the basic packages of Mono, additional ones were installed. Some are needed (like the VB package), some may be irrelevant to the task of getting the simulator to run under Mono. You can experiment with changes at will.
To add the Mono repository and download the standard packages, execute the following commands as root:
zypper addrepo http://ftp.novell.com/pub/mono/download-stable/openSUSE_11.2 mono-stable
zypper refresh --repo mono-stable
zypper dist-upgrade --repo mono-stable
In addition, download and install the following Mono packages:
- Open Source Implementation of the GDI+ API (libgdiplus0-2.6.2-33.1)
- Mono Addins Framework (mono-addins-0.4-8.23)
- Mono's VB Runtime (mono-basic-2.6.2-30.13)
- A .Net Runtime Environment (mono-complete-2.6.3-38.1)
- Database connectivity for Mono (mono-data-2.6.3-38.1)
- Mono development tools (mono-devel-2.6.3-38.1)
- Extra packages (mono-extras-2.6.3-38.1)
- Extra locale information (mono-locale-extras-2.6.3-38.1)
- Collection of Tools and Utilities for Mono (mono-tools-2.6.2-30.14)
- Mono implementation of WCF, Windows Communication Foundation (mono-wcf-2.6.3-38.1)
- Mono implementation of ASP.NET, Remoting and Web Services (mono-web-2.6.3-38.1)
- Mono's Windows Forms implementation (mono-winforms-2.6.3-38.1)
- Mono implementation of core WinFX APIs (mono-winfxcore-2.6.3-38.1)
2a. Compile the source and copy files to openSUSE.Currently, there is no build script to compile the source under Mono so you'll have to perform the compilation under Windows using Visual Studio 2008.
The following files are needed to run ThalesWinSimulator:
- ThalesCore.dll
- ThalesMonoParameters.txt
- ThalesWinSimulator.exe
OR2b. Download the files needed to run under Mono.Download file ThalesSim.0.9.6.Mono.2.6.zip from the
downloads tab.
3. Run the simulator.From a terminal window:
mono ThalesWinSimulator.exe
You may also run the unit tests under Mono. In order to do that, you will have to copy all libraries and executables of the ThalesCore.Tests.Mono project to openSUSE
including the Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll file. Run the unit tests using:
mono ThalesCore.Tests.Mono.exe