Setup/Build Issues with 07-GameThreadingMethodologyPS Courseware - Destroy The Castle Windows

Setup/Build Issues with 07-GameThreadingMethodologyPS Courseware - Destroy The Castle Windows

Hi,

Here're some notes of trying to get the 07-GameThreadingMethodologyPS Courseware running from Parallel Training version 3.0 under Windows 7, 64-bit OS.

1. The provided DestroyTheCastleWin folder crash on update Castle Simulation. I had a previous version of DTC on a folder named CastleQueueUserWorkItemExercise which is the same name as the one pointed out on the lab workout. It crashed on getting frame for a pMesh of the blocks for the Castle.

2. Make sure that on ParallelDemo solution you point to the correct DirectX SDK for include and libs files.

3. If running on 64-bit OS make sure to include Program Files (x86) on the paths as wells.

4. Swap lib name from dxerr9.lib to dxerr.lib on additional libs.

5. You will need to define DirectX 8 version to build the solution inside dxstdafx.h under Main->Common.

#define DIRECTSOUND_VERSION 0x8001

// DirectSound includes

#include

#include

#include

6. The application will complain if you do not have MSVC711.dll present on your PC. You can copy it under Windows\\SysWOW64 for the application to use.

We should probably update this courseware with fixes. If needed I can provide.

Cheers.

Professor Jose Villeta

USC GamePipe Labs

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi, Jose,

I had posted a article last year regarding the solutions to some bugs reported on Destroy the Castle. The original post is here:

http://software.intel.com/en-us/articles/Tao/

Belows are some of the issues/solution in the article:

Issue 1: D3Dx9_30.dll not found issue

When you try to click Main_Release.exe to start the DTC, you got a pop-up window "Unable to locate component. This Application has failed to start because d3dx9_30.dll was not found, re-installing the application may fix this problem."

Solution

  1. Remove Old DirectX SDK edition you may have being using.
  2. Install DirectX SDK Aug 2008 edition.
  3. In Visual Studio 2005, click Option ->Projects and Solutions ->VC++ Directories, and update the links for the new Microsoft DirectX SDK Include and Lib you installed.

Issue2: MSVCP71.dll not found issue
When you try to click Main_Release.exe to start the DTC, and you got a pop-up window " This Application has failed to start because MSVCP71.dll was not found. re-installing the application may fix this problem."

  1. This error has been identified by MS as directX related error.
  2. Go to Microsoft Web site. Search and download MSVCP71.dll
  3. Alternatively, you can googgle msvcp71.dll and download a copy of msvcp71.dll
  4. Copy msvcp71.dll into C:\WINDOWS\system32.
  5. Registering the .dll by going to Start -> run ->
    and type "regsvr32 C:\WINDOWS\system32\msvcp71.dll" (without the quotes)
  6. Click OK. A warning message that the file is loaded, but not registered. It is OK to ignore the message.
  7. You should be able to run the Destroy the castle main_release.exe

Issue 3. TBB.lib not found when compiling the parallel Demo solution file.

  1. Go to Property -> C/C++ -> General and then click the first line Additional Include Directories to open Additional Include Directories Pop-up Window to add C:\Program Files\Intel\TBB\2.0\include or whatever version of TBB you have installed ( If you are using new Intel Compiler version 11, the TBB is included in Compiler package, and TBB folder is located under compiler folder).
  2. Go to Property -> Linker ->General and select the Additional Library Directories from the 3rd line from bottom add C:\Program Files\Intel\TBB\2.0\ia32\vc8\lib( If you are using new Intel Compiler version 11, the TBB is included in Compiler package, and is located under compiler folder).

Issue4. The gun will not shoot

  1. When start the demo,if gun will not shoot, just press T which is to switch between Serial and Multi-threading. The gun will shoot. You can alsopress G to see the different performance between Serial and Multi-threading.

Leave a Comment

Please sign in to add a comment. Not a member? Join today