Skip to content
Asger edited this page Dec 13, 2013 · 17 revisions

Installation instructions for MAC OSX (using Xcode) and Windows (using Visual Studio). To build the DSC framework, one needs a compiler which supports c++11 features. Newer versions of the major compilers support the c++11 features used in the DSC framework (including gcc, LLVM, Clang and the newest MSVC compiler). However, note that older versions than Visual Studio 2013 does not support all the used c++11 features. Furthermore, the DEMO application uses OpenGL 3.2 for drawing. Therefore, make sure that your graphics driver supports OpenGL 3.2.

MAC OSX (Xcode)

To build the DSC library:

  1. Install Xcode from the App Store.
  2. Clone the DSC GitHub repository or download a zip file with the repository content.
  3. Place the content (and possibly unzip) in some directory (for example /Users/user_name/Documents/DSC/ where 'user_name' is your user name).
  4. Open the DSC Xcode project.
  5. Select the DSC scheme and build.

To run the DEMO application:

  1. Download the GLEW source files from here.
  2. Unzip the GLEW source files in some directory (for example /Users/user_name/Documents/GLEW/ where user_name is your user name).
  3. Open a terminal and cd to the directory where you have placed the GLEW source files.
  4. Type 'sudo make install' and type your password when prompted. The GLEW library should now have been installed.
  5. Open the DSC Xcode project.
  6. Select the DEMO scheme and run.

Windows (Microsoft Visual Studio 2013 or newer)

To build the DSC library:

  1. Install Microsoft Visual Studio 2013 or newer (older versions of VS does not support all of the c++11 features used in the DSC framework).
  2. Clone the DSC GitHub repository or download a zip file with the repository content.
  3. Place the content (and possibly unzip) in some directory (for example c:\Users*user_name*\My Documents\DSC\ where user_name is your user name).
  4. Open the Visual Studio solution (DSC.visualstudio.sln) located in the DSC.visualstudio folder.
  5. Go to Demo Properties > Configuration Properties > Debugging
  6. Set 'Configurations' to 'All Configurations'
  7. Set 'Working Directory' to the DSC folder which should be $(ProjectDir)......\
  8. Compile the src project.

To run the DEMO application:

  1. Install GLEW as described here.
  2. Install GLUT.
  3. Open the Visual Studio solution (DSC.visualstudio.sln) located in the DSC.visualstudio folder.
  4. Go to Demo Properties > Configuration Properties > Debugging
  5. Set 'Configurations' to 'All Configurations'
  6. Set 'Working Directory' to the DSC folder which should be $(ProjectDir)......\
  7. Compile and run the DEMO project.

Clone this wiki locally