fatal error LNK1104

Started by
1 comment, last by markhuntley 15 years, 9 months ago
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
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.
Professional C++ and .NET developer trying to break into indie game development.
Follow my progress: http://blog.nuclex-games.com/ or Twitter - Topics: Ogre3D, Blender, game architecture tips & code snippets.
your a star thank you. had missed a part. thanks for your help

This topic is closed to new replies.

Advertisement