954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

cant get directx9 to work with dev-c++

i have downloaded the sdk directx9 and installed and put the lib and include files in the dev-c++ directory.
I have adjusted the compiler options and I still get 100 errors.
e.g redefinition of struct D3DVECTOR
and C\devcpp\...\d3d9.h, in file included from C\devcpp\...\d3d9.h

any ideas???

ultimate_fusion
Light Poster
44 posts since Oct 2004
Reputation Points: 10
Solved Threads: 0
 
i have downloaded the sdk directx9 and installed and put the lib and include files in the dev-c++ directory.


The files don't go in the same directory. Include files go in $DEVCPPDIR/include and library files in $DEVCPPDIR/lib (I think).e.g redefinition of struct D3DVECTOR
You must have some other version of DirectX, too, which would mess you up. Make sure you only have one version.

dwks
Posting Whiz in Training
269 posts since Nov 2005
Reputation Points: 185
Solved Threads: 28
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You