Need help with setting up DirectX SDK

Started by
2 comments, last by Kenks23 22 years, 3 months ago
I''m sorry if this is really newbie''ish, but I need someone to walk me through setting up the DirectX SDK with Visual C++. Think anyone can help me? I''m pretty sure I have the DirectX 8.1 SDK. I got it a few months ago and I want to start back up on working on DirectX. Any help is much appreciated.
Advertisement
Hello!

You need to tell VC++ where you installed the sdk. So do the following: (In VC++)

1.- Select Tools from the Menu bar
2.- Options...
3.- Label Directories
4.- Put your include directory (usually C:/DXSDK/include) in the include section
5.- Do the same with your lib directory

Now you can compile code with includes to the DX

To link things:

1.- Project
2.- Settings
3.- Label Link
4.- You have to add the .lib files your code needs


Its all done

If you have problems, post it here

You can do what the above says, but everytime I install the DX SDK, it automatically does that for me as long as my VC6 is closed. Then all you have to do is add the necessary .LIB files to your workspace and everything should compile ok.
I have a small "tutorial"(ie. document) on doing this on my website..

Wazoo Enterprises

hth,
Learn about game programming!Games Programming in C++: Start to Finish

This topic is closed to new replies.

Advertisement