Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

adding dx libraries to vc++

This topic is 5189 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have visual c++ 6.0 and directx sdk 9.0 installed on my system. i browesed around in the IDE and did not find a way to add the required dx files so i can compile my programs. any suggestion?

Share this post


Link to post
Share on other sites
Advertisement
I don''t have VC 6 in front of me, so I a going by memory...

In the project settings (right click on the project in the workspace window and choose "settings"), there is a "linker" tab. Somewhere on that tab is something like "additional libraries". Type in the names of the libraries there. For D3D, I include d3d9.lib d3dx9.lib and dxerr9.lib

Share this post


Link to post
Share on other sites
i prefer doing this at the top of one of my files in the project

#comment (lib, "d3d9.lib")

note that will only work for msvc but if that is the compiler/ide you use then it will work fine. i like doing it that way so that when i start a new project with those same files i dont have to go through the whole thing that the above poster wrote down.

"A soldier is a part of the 1% of the population that keeps the other 99% free" - Lt. Colonel Todd, 1/38th Infantry, Ft. Benning, GA

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!