VisualStudioDevelopment
From delta3d
Contents |
Installing Delta3D and Setting Up a Development Environment in Visual Studio
File:Http://www.delta3d.org/layout/deltalight/theme-images/pixel.gif
This tutorial will explain how to install Delta3D on your system and set up the development environment. The installation is based on a Windows XP system using Microsoft Visual Studio (which will hereafter be referred to as VS).
Delta3D is now available in a handy Windows installer application. If you use the installer application, you can skip to the Building Delta3D section, or just read the following to understand what happened during the automatic installation.
Overview
- Install Visual Studio and any Service Packs
- Install Non-distributed External Dependencies (for Utilities and Python Bindings)
- Install Python (http://python.org)
- Install Boost.Python
- Install Qt
- Download Delta3D source code (versioned release, nightly snapshot, or SVN)
- Download Delta3D External Dependency package, extract into Delta3D folder
- Set environment variables.
- Install and run CMake.
- Configure build options.
- Generate Visual Studio project files.
- Open generated .sln file and build all.
Downloads
If you chose to install manually and haven't downloaded Delta3D yet, do it now (Download). You can download a versioned source file release or a nightly snapshot of the repository. Be sure to remember to download the dependencies package for your compiler and platform (see Delta3D dependencies for more information).
Create a folder under C:\ or C:\Program Files\ and decompress the Delta3D package there.
Then inside the delta3d folder, decompress the dependencies packages. It will create a structure similar to this:
- build : all compiled Delta3D files live under here
- bin: Compiled dll's and executables
- lib: Compiled Delta3D .lib files
- data : Delta3D required data files
- doc: API reference (in html starting at \html\index.html).
- examples: Example programs
- ext: External dependencies: (versions.txt show the versions used)
- inc: Delta3D header files
- src: Delta3D source code
- tests: Delta3D unit tests
- utilities: Some programs to help the development
- VisualStudio: Some Visual Studio related files.
Environment Variables
Before launching VisualStudio, make sure you set the Delta3D environment variables.
Building Delta3D
Open the solution file that CMake generated and build the solution by clicking F7 or selecting: Build -> Build Solution
This is likely to take awhile to build all the projects in this solution.
|| ||
