-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
The common prerequisites for rst are wxWidgets and OpenGL. The project uses git for version control. To configure and compile rst uses VS2010 in Windows and CMake in Ubuntu. To use rst the source code can be downloaded directly or use git to clone the rst repository.
The librst project creates a static library. This static library can be linked by external projects to utilize the simulators functionality. A template project shows how a project can be created and used.
Supported Platform: Windows 7, Visual Studio 2010
- Create an account on github.com
- Install msysgit.
- Install TortoiseGit.
- Generate a key pair using sshkeygen.
- Login github, Account Settings > SSH Keys > Add your public key
- Save your private key. TortoiseGit will ask for it.
- If you want to contribute, we need to grant you write permisssion to the repository.
- Install wxWidgets using our custom installer. It will install the necessary compiled wxWidgets libraries in C:\wxWidgets.
- Clone the repository from [email protected]:golems/rst.git. Right-click in Windows explorer and choose "Git clone...".
- Open the VS2010 solution file at
win32/rst_all.sln
. - Compile the librst project, both in Release and Debug configuration.
Use the Ubuntu APT tool to install the prerequisites.
-
sudo apt-get install git-core
. A guide to use git on Linux is here. sudo apt-get install libwxgtk2.8-dev libwxgtk2.8-dbg cmake cmake-curses-gui
To clone the rst repository use git clone git://github.com/golems/rst.git
. If you want to use https authentication use git clone https://<username>@github.com/golems/rst.git
. Use CMake to configure and compile the project.
cd rst
cmake .
- To create an Eclipse project use
cmake -G"Eclipse CDT4 - Unix Makefiles" .
make
-
Download wxWidgets2.9.x
-
Go to wxWidgets2.9.x folder
-
mkdir osx-build
-
cd osx-build
-
../configure --with-osx_cocoa --enable-unicode --enable-universal-binary CFLAGS="-arch x86_64" CXXFLAGS="-arch x86_64" CPPFLAGS="-arch x86_64 " LDFLAGS="-arch x86_64" OBJCFLAGS="-arch x86_64" OBJCXXFLAGS="-arch x86_64 " --without-macosx-sdk
-
make
-
sudo make install
-
Go to rst folder
-
cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug .
-
make