Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 on Visual Studio 2008.

my project uses a .lib file that I created.

can anyone help me out ?

like image 827
Attilah Avatar asked May 06 '09 09:05

Attilah


People also ask

How do I fix error LNK1104?

To fix this issue, stop the program and unload it from the debugger before building it again. If the app is open in another program, such as a resource editor, close it. If your program is unresponsive, you may need to use Task Manager to end the process. You might also need to close and restart Visual Studio.

Where is kernel32 Lib located?

kernel32. lib is THE fundamental Windows API library. It is found in the Windows SDK and the default set of library locations should include it.


1 Answers

Thanks , guyz. I've found the solution to my problem. I had to add quotes around the path to my .lib file in Project->Properties->Configuration Properties->Linker->Input->Additional Dependencies .

like image 133
Attilah Avatar answered Sep 16 '22 15:09

Attilah