Jump to content
  • Advertisement
Sign in to follow this  
markhuntley

fatal error LNK1104

This topic is 3702 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 had a error saying fatal error LNK1104: cannot open file 'C:\Program.obj' which after reading a few sites i fixed by adding "" on the directory link now it gives me this error fatal error LNK1104: cannot open file 'C:\Program Files\Microsoft DirectX SDK (June 2008)\Include.obj' i cant seem to find any that helps. if anyone is able to help me with this it would be great. thanks

Share this post


Link to post
Share on other sites
Advertisement
You seem to have entered an DirectX SDK include path in the wrong field.

Assuming this is Visual C++ (the formatting of the error message gives it away :p), you have to set the following:

Project Settings - C/C++ - General - Additional Include Directories
Set this to "C:\Program Files\Microsoft DirectX SDK (June 2008)\Include"

Project Settings - Linker - General - Additional Library Directories
Set this to "C:\Program Files\Microsoft DirectX SDK (June 2008)\Lib\x86"

Project Settings - Linker - Input - Additional Dependencies
Set this to dxguid.lib d3d9.lib or whatever libs you need.

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!