-
Notifications
You must be signed in to change notification settings - Fork 12
Installation
Asger edited this page Apr 23, 2014
·
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.
To build the DSC library:
- Install Xcode from the App Store.
- Clone the DSC GitHub repository (recommended) or download a zip file with the repository content.
- Place the content (and possibly unzip) in some directory (for example /Users/user_name/Documents/DSC/ where 'user_name' is your user name).
- Open the DSC Xcode project.
- Select the DSC scheme and build.
To run the DEMO application:
- Open the DSC Xcode project.
- Select the DEMO scheme and run.
To build the DSC library:
- 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).
- Clone the DSC GitHub repository (recommended) or download a zip file with the repository content.
- 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).
- Open the Visual Studio solution (DSC.visualstudio.sln) located in the DSC.visualstudio folder.
- Go to Demo Properties > Configuration Properties > Debugging
- Set 'Configurations' to 'All Configurations'
- Set 'Working Directory' to the DSC folder which should be $(ProjectDir)\ ..\ ..\ ..\
- Compile the src project.
To run the DEMO application:
- Install GLEW as described here.
- Install GLUT.
- Open the Visual Studio solution (DSC.visualstudio.sln) located in the DSC.visualstudio folder.
- Go to Demo Properties > Configuration Properties > Debugging
- Set 'Configurations' to 'All Configurations'
- Set 'Working Directory' to the DSC folder which should be $(ProjectDir)\ ..\ ..\ ..\
- Compile and run the DEMO project.