Fatal error LNK1104 cannot open file C: \ users \ user \ documents \ visual.obj

I get a "fatal error LNK1104 cannot open file C: \ users \ user \ documents \ visual.obj" whenever I want to compile my project in Visual Studio 2008.

my project uses the .lib file that I created.

can someone help me?

+6
visual-studio-2008 visual-studio mfc
source share
3 answers

Thank you man. I found a solution to my problem. I had to add quotes along the path to my .lib file in Project-> Properties-> Configuration Properties-> Linker-> Input-> Additional Dependencies.

+6
source share

Make sure that the directory C: \ users \ user \ documents \ exists and that you have read / write access.

0
source share

With this http://www.google.de/search?q=visual+studio+2008+LNK1104 I found this answer http://social.msdn.microsoft.com/Forums/en-US/user?user=einaros .

You need to add the DirectX library folder to the Visual Studio search path. See Settings "Directories" under "Tools" → "Options" → "Projects and Solutions". Otherwise, the linker does not know where to find d3dx9.lib.

0
source share

All Articles