Jump to content
  • Advertisement
Sign in to follow this  
Cillas

LNK1104: d3dx10.h

This topic is 2705 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

Hello Guys,

i just wanted to start, playing a little bit with DirectX 10 and using this http://www.directxtutorial.com/link.aspx tutorial.

http://www.directxtutorial.com/Tutorial10/B-Direct3DBasics/dx10B1.aspx "The Finished Program"
Theres the actual code (Show Code).

First thing VS said to me that it doesnt found the d3dx10.h, so i linked it manually. But as i try to debug it,
VS comes up with "LINK : fatal error LNK1104: Date "d3dx10.h" couldn't be open."

I already copied the dir to another place, if there was really a read restriction, didn't helped ...

Anybody an idea?

(sorry for my crappy english)(only found a related prob with *.lib ...)

Share this post


Link to post
Share on other sites
Advertisement
You don't link against headers. Linking is done with libraries or object files. You include header files. If the preprocessor can't find a particular header file you add the directory that contains the header file to the search path. The best way to do that depends on which version of Visual Studio you are using.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!