-
-
Notifications
You must be signed in to change notification settings - Fork 235
Getting started with Runtime Compiled C Plus Plus
Doug Binks edited this page May 2, 2016
·
6 revisions
- Windows XP+, Visual Studio 2008+. Note we currently distribute only the VS 2010 solution and projects.
- Mac OS X 10.7+ with XCode 4.
- Linux using Eclipse CDT (tested Ubuntu 12.04 64bit).
- cmake (many thanks to user join_the_fun from reddit) for Linux.
- A MinGW port exists here: https://github.com/BobSmun/RuntimeCompiledCPlusPlus/tree/MinGWw64_Support
For Visual Studio and XCode the main project file is found in the Aurora directory. All dependencies should be normally present.
Linux requires the following dependencies installed for the SimpleTest project (use "sudo apt-get install NAME"):
- libfreetype6-dev
- libx11-dev
- libgl1-mesa-dev
- libgl1u-mesa-dev
- libglfw-dev, if using system glfw, otherwise this comes prebuilt for 64bit Linux. To use the system glfw set the option GLFW_SYSTEM to ON - cmake .. -DGLFW_SYSTEM=ON
For Eclipse use File->Import->General->Existing Projects into Workspace and select the RuntimeCompiledCPlusPlus directory and import all projects it finds (best not to copy so you can keep everything up to date with git).
For cmake, create a folder called build in the Aurora directory and run cmake from there followed by make: on Linux run "mkdir build && cd build && cmake .. && make" from Aurora dir.
- There are two examples: SimpleTest and ConsoleExample. If using Visual Studio, to run the Pulse demo, right click on the SimpleTest project and select Set as StartUp Project. Build and Run.
- See the Demo Tutorials page for how to reproduce the examples shown in the videos on our blog.