Skip to main content

History: Creating SDK

Source of version: 1 (current)

Copy to clipboard
            This page describes the process for creating an OGRE SDK for release, based on OGRE 1.7 or later.

{maketoc}

!MS Visual C++
!!Prerequisites
You need the following before you start:
# CMake 2.8.0+ on your path
# Doxygen on your path
# BOOST_ROOT environment variable defined, pointing at your boost install
# DXSDK_DIR environment variable must point at the DirectX SDK you wish to build against

!!Creating the SDK
# Open a command prompt 
# Run vcvars32.bat for your compiler of choice. 
# Checkout a clean working copy of OGRE at the release tag (e.g. v1-7-0) as folder 'ogre'
# Change directory to ogre/SDK/Win32
# Set the OGRE_DEPENDENCIES_DIR environment variable to point at the location of OGRE dependencies matching your intended compiler / architecture
# Run: "buildsdk ~np~<compiler>~/np~", where ~np~<compiler>~/np~ is one of:
#* vc71
#* vc8
#* vc8_x64
#* vc9
#* vc9_x64
#* vc10
#* vc10_x64
# The SDK will now be built in a subfolder called the same as the supplied ~np~<compiler>~/np~ option. 
# Once the SDK has been built, simply zip up the contents of ogre/SDK/Win32/~np~<compiler>~/np~/sdk and release