fatal error LNK1104
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
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement