Compile problem

Last post 04-21-2008, 10:15 AM by The ZMan. 3 replies.
Sort Posts: Previous Next
  •  04-20-2008, 2:12 PM

    Compile problem

    Hi all!

    I have a little problem with compiling a DirectX application. I've built the release version and it runs great on my pc. But when I try to run it on other PC (which doesn't have psdk or directx sdk) it shows an error saying that d3dx9d_31.dll was not found.

    The project I compiled was "meshes" from the samples...

    Any help please?

  •  04-20-2008, 10:35 PM

    Re: Compile problem

    The computer that doesn’t run you program may have not installed the optional Direct3D components. See the following thread for details: http://forums.xna.com/thread/41483.aspx

  •  04-21-2008, 8:48 AM

    Re: Compile problem

    K I've read that thread. I've found out what the problem is... But there are other 3D games that don't require that file(s). Isn't there any solution?
  •  04-21-2008, 10:15 AM

    Re: Compile problem

    Those other games just don't make use of the functionality in that DLL so they dont need it.

    So you have 2 choices:

    1. Don't call any D3DX functions e.g. write your own mesh/sprite/font/etc handling

    2. Include the DirectSetup files with your app, or ask people to run the websetup to ensure that file is there.



    The ZBuffer - News and information for XNA and Managed DirectX
View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback