XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

Compile problem

Last post 04-21-2008 10:15 AM by The ZMan. 3 replies.
  • 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 In reply to

    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 In reply to

    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 In reply to

    Re: Compile problem

    Answer

    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
Page 1 of 1 (4 items) Previous Next
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG