-
Notifications
You must be signed in to change notification settings - Fork 14
Installation
Asger edited this page Nov 27, 2013
·
17 revisions
To build the DSC library:
- Install Xcode from the App Store.
- Clone the DSC GitHub repository 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:
- Download the GLEW source files from here.
- Unzip the GLEW source files in some directory (for example /Users/user_name/Documents/GLEW/ where user_name is your user name).
- Open a terminal and cd to the directory where you have placed the GLEW source files.
- Type 'sudo make install' and type your password when prompted. The GLEW library should now have been installed.
- 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 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).
- Create an empty project using the CGLA source code located in the CGLA folder.
- Compile the CGLA source code as a static library.
- Create an empty project using the ISMesh source code located in the is_mesh folder.
- Add the CGLA static library to the ISMesh project and set the INCLUDE_PATH to point to the CGLA headers.
- Compile the ISMesh source code as a static library
- Create an empty project using the DSC source code located in the src folder.
- Add the ISMesh static library to the DSC project and set the INCLUDE_PATH to point to the ISMesh headers.
- Compile the DSC source code as a static library
To run the DEMO application:
- Install GLEW
- Install GLUT
- Create an empty project using the SOIL source code located in the SOIL folder.
- Compile the SOIL source code as a static library.
- Create an empty project using the DEMO source code located in the DEMO folder.
- Add the DSC, SOIL, GLUT and GLEW static libraries to the DEMO project and set the INCLUDE_PATH to point to the header files for DSC (in the src and is_mesh folders), SOIL (in the SOIL folder), GLUT and GLEW.
- Compile the DEMO source code and run.