Release build fails

Hello
I want to make a release build of my game, but I get an error "Cannot open include file: 'd3dx9.h': No such file or directory". The code works if debug configuration is set, also compiler finds and includes another file 'd3d9.h' from the same folder. I'm using Visual C++ 2008 Express Edition. What could be causing this?
Any help appreciated.
It's possible that your include path is set for debug and for release. Check under C++ settings. You may have a similar problem at link time too.
Thank you, it works now,
though why would anyone wand to use different headers and libraries for release and debug builds?
because there may be some different librarys which generate extra debug information...

i know they exist in directx but i don´t know their names... but usually some of the library file names contain a "d" at the end for debug

found some in the sdk´s lib folder: d3dx9d.lib for example

but they are in the same folder ... so neverment xD...
Last edited on
Topic archived. No new replies allowed.