Sign in to follow this  
Charles256

fatal error LNK1104:

Recommended Posts

Quote:
LINK : fatal error LNK1104: cannot open file 'C:\progra~1\Microsoft.obj' Build log was saved at "file://c:\grr\Debug\BuildLog.htm"
originally it said it couldn't open c:\Program.obj and I googled that it could be in the spaces in the directory path, i.e. c:\Program Files\the path to my linked and included files, so I changed it to c:\progra~1\the rest of the path with no spaces at all and then i got the error you see above.....any ideaS? googling it didn't help out much more than what I've all ready tried..

Share this post


Link to post
Share on other sites
normally this can mean you have the application already open

Seriously, just try restarting your compiler - it sometimes happens pretty randomly.
If not copy and paste all your code into a new project.

Share this post


Link to post
Share on other sites
Try using double quotes around the path like "C:\Program Files\Microsoft Visual Studio etc etc", this is how I've always got round the problem of spaces in path names before.

Share this post


Link to post
Share on other sites
Quote:
Original post by Charles256
Quote:
LINK : fatal error LNK1104: cannot open file 'C:\progra~1\Microsoft.obj'
Build log was saved at "file://c:\grr\Debug\BuildLog.htm"

originally it said it couldn't open c:\Program.obj and I googled that it could be in the spaces in the directory path, i.e. c:\Program Files\the path to my linked and included files, so I changed it to c:\progra~1\the rest of the path with no spaces at all and then i got the error you see above.....any ideaS? googling it didn't help out much more than what I've all ready tried..


What is the actual, full path you want to use? And where are you specifying it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this