Best known fixes and workaround for several dynamic library link errors found on running lab for Threading Game for Performance

By Tao B Wang (Intel) (7 posts) on January 5, 2009 at 3:34 pm

Recently, Course Materails for a one-day Threading Games for Performance workshop are available for academic community member to download (http://software.intel.com/en-us/articles/threading-games-for-performance). This mid-level workshop takes a sample game, Destroy the Castle, from serial to parallel over the course of one day. Strategies are considered for optimal threading of components such as physics, AI, and rendering. Tools are employed to identify workload hotspots, profile threading performance, and trap threading errors such as race conditions.

Several Dynamic Library Link issues have been reported by academic community members on various platform with different HW/SW configurations when running the Dectroy the Castle ( DTC) lab. Below are the best known fixes and workaround I found that could resolve the issues.

Error 1: D3Dx9_30.dll not found

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.

Error 2: MSVCP71.dll not found
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 reported as a 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.

Error 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).

Error 4. The gun will not shoot:

 1. the gun will not shot, press T to switch between Serial and Multi-threading and press G to see the difference.

Related Download:

Student Workbook for Threading Games for Performance:
http://software.intel.com/file/6609

Categories: Academic, Multi-Core

Comments (0)

Trackbacks (0)


Leave a comment  

To obtain technical support, please go to Software Support.
Name (required)*

Email (required; will not be displayed on this page)*

Your URL (optional)


Comment*