
D3DToolkit project notes
NVIDIA Co., 2000

This Microsoft Visual C++ 6.0 project was built around our D3D Toolkit, which can be found in the Programming Resources section of our website:
http://www.NVIDIA.com/Marketing/Developer/DevRel.nsf/ProgrammingResourcesFrame?OpenPage
To build this project, copy and expand the toolkit to your hard drive (ie c:\Dev\D3D Toolkit 1_7\).  Then copy this demo project's folder to the Direct3D directory of the D3DToolkit.  You may have to make a few adjustments to Visual C++ to build the project correctly:

You'll have to make a few simple changes to point VC6 to the right include and library files.

1) You must have the Microsoft DirectX 7 SDK installed.
   This can be downloaded for free from Microsoft's web site. 
   This ends up in C:\mssdk by default, which we will assume for the rest of this setup
2) Open Visual Studio
   Select Tools->Options->Directories tab
   From the "Show Directories for:" pulldown, select "Include Files"
 * Add: C:\mssdk\INCLUDE     and move it to the top using the arrow keys
 * Add: C:\mssdk\samples\Multimedia\D3DIM\include   move it to the 2nd entry
   Other entries below it should be something like:
    C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE
    C:\Program Files\Microsoft Visual Studio\VC98\MFC\INCLUDE
    etc...
3) Select Tools->Options->Directories tab
   From the "Show Directories for:" pulldown, select "library files"
 * Add: C:\mssdk\lib      and move it to the top
 * Add: C:\mssdk\samples\Multimedia\D3DIM\lib
   Other entries below it should be something like:
    C:\Program Files\Microsoft Visual Studio\VC98\LIB
    C:\Program Files\Microsoft Visual Studio\VC98\MFC\LIB
 
If the compiler still can't find include files or has trouble linking, you might have to add the D3DToolkit \include and \Direct3D\include or \libraries paths in the given project.  For example:

1) Select Project->Settings->C++ Tab
   Pulldown select "Preprocessor"
   Under "Additional Include Directories" add:  ..\..\include, ..\include
   The result will be something like:
    ..\..\include,..\include
2) Select the Link tab
   Pulldown select "Input"
   From "Settings for:" (on the left) select "Win32 Debug"
   Under "Additional Library Path" add: ..\..\libraries\debug
   From "Settings for:" select "Win32 Release"
   Under "Additional Library Path" add: ..\..\libraries\release
	
Now, hopefully everything will be happy.  If not, just e-mail DevWeb@NVIDIA.com and we'll do what we can to help.

Thanks and Enjoy!
- NVIDIA Developer Relations
