CSE 471 Software Requirements

You will need the following installed software on your computer:

  1. Visual Studio 2008
  2. Microsoft DirectX SDK
  3. Microsoft SDK for Windows Server 2008 and .NET Framework 3.5.

This software is already installed in the computer labs.  However, you must still do the Linking the Platform SDK to Visual Studio 2005 process in the computer labs.  See the in case of difficulty section if you have problems compiling any of the supplied code.

Visual Studio 2008

Michigan State University students can obtain a free copy of Visual Studio 2008 from http://msdn.cse.msu.edu.   If you have already installed the Platform SDK and/or the DirectX SDK, I suggests uninstalling them prior to installing Visual Studio 2008. 

Be sure to install the service pack Visual Studio 2008 SP1.

Microsoft DirectX SDK

The Microsoft DirectX SDK is available from DirectX Software Development Kit

Microsoft Platform SDK

Install the Windows SDK for Windows Server 2008 and .NET Framework 3.5.  If you want to save space when installing, select custom install and expand the categories.  You will probably not need any of the 64 bit libraries. 

Linking the SDKs to Visual Studio 2008

The installers are supposed to automatically add paths to the SDK's to Visual Studio 2008.  However, there are bugs in these installers that don't always do that correctly.  If the programs for class do not compile, you may have to do this step. Note that this works for home computers and in the computer labs.

There is a menu option to include the Windows SDK in the build paths for Visual Studio, but as far as I can tell it doesn't seem to work and I don't think it ever has.  In Visual Studio 2008 select Tools/Options.  In the Options dialog box, expand Projects and Solutions.  Click on VC++ Directories.  For Platform, select Win32.  In the top right corner of the dialog box, select Include Files.  You should see entries for the DirectX SDK and the Windows SDK. It should look like this:

Visual Studio 2008 Options setup for include directories

  If not, do the following steps.

Press the button that looks like a folder to create a new entry in the list.  To the right you will see a button labeled "...".  Press this and browse to the Windows SDK include directory.  By default this will be: 

C:\Program Files\Microsoft SDKs\Windows\v6.1\Include

Your version may vary somewhat.

Again, press the button that looks like a folder and the button labeled "...".  Browse to the DirectX SDK include directory.  By default this will be:

C:\Program Files\Microsoft DirectX SDK (March 2009)\Include

The date may vary.  Use the most recent if you have more than one.

Press Ok.  Then hit the up and down arrow button to make the DirectX SDK first in the list and the Windows SDK second in the list.  The DirectX SDK may include files that override those of the Windows SDK. When done, your configuration should look something like the above.

Repeat this process for the: Library Files: 

C:\Program Files\Microsoft DirectX SDK (March 2009)\Lib\x86
C:\Program Files\Microsoft SDKs\Windows\v6.1\Lib

Note that the Windows SDK x86 libraries are in "Lib", not "Lib\x86" as in other SDK's.

Finally, the Executable Files:

C:\Program Files\Microsoft DirectX SDK (March 2009)\Utilities\Bin\x86
C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin

Repeat this process for the C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin

If you have a 64 bit machine

Be sure you are using the x86 directories above.  If you have a 64 bit machine and want to compile 64 bit applications as well, you need to set the Platform to x64 and the corresponding x64 paths to the above. 

What the Dialog Boxes should look like

Here's screen shots of these dialog boxes as configured on my machine.  Your paths may be slightly different.

Visual Studio 2008 include file paths

Visual Studio 2008 Library file paths

Visual Studio 2008 Executable file paths

In case of difficulty

Error 1 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory c:\users\cbowen\documents\classes\cse 471\audio process\audio process\audio\dirsoundsource.h 18 AudioProcess

This is a sign you've not configured the path to the Windows SDK include files. 

Error 1 fatal error C1083: Cannot open include file: 'dsound.h': No such file or directory c:\users\cbowen\documents\classes\cse 471\audio process\audio process\audio\dirsoundsource.h 18 AudioProcess

This is a sign you've not configured the path to the DirectX SDK include files. 

LINK : fatal error LNK1104: cannot open file 'amstrmid.lib'

This is a sign you've not configured the path to the Windows SDK library files. 

LINK : fatal error LNK1104: cannot open file 'dsound.lib'

This is a sign you've not configured the path to the DirectX SDK library files. 

CSE 471 Home