Skip to content
meeloo edited this page Sep 30, 2010 · 2 revisions

Getting started on Windows

Requirements

  • a decent Windows computer (XP, Vista, Windows 7…). Both 32 and 64bit OSes are supported as a build platform as well as a build target.
  • Visual Studio 2008 (Visual Studio 2005 projects are still there but we don’t update them as often). Visual Studio Express is also known to work.
  • The DirectX 9 SDK
  • Up-to-date graphic cards drivers for your hardware.

Downloading the sources

You can download the sources from the subversion repository with Tortoise SVN . The SVN repository is svn://libnui.net/nui/trunk/nui3.

Alternatively you can download the sources from http://viewvc.libnui.net/cgi-bin/viewvc.cgi/nui/trunk/nui3/?pathrev=4491 by clicking the “Download GNU Tarball” link.

Preparing your visual studio installation for NUI.

DirectX SDK

Add the header and lib directories for the DirectX SDK to Visual Studio’s default search paths for headers and libs.

Building and running nuiDemo

Open the Visual Studio project for nuiDemo (look in the folder nui3/examples/nuiDemo) and make Visual Studio build and run the project.
Compiling all the project should take a while and eventually end successfully launching nuiDemo.
Every tutorials should build and run out of the box.

Where to go from there?

You can toy around with the tutorials and examples to get a feel of how to use the framework. You can also create a new project by using “Yapuka” (in nui3/tools/yapuka) and read the TutorialCommon.