Re: Cannot open file 'C:Program.obj'

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




drhowarddrfinedrhoward wrote:
*I've seen this problem answered on the 'net that you can get this
link error
when building a project caused by spaces in the file name (using
VS.NET2003).

The solution seems to be making sure there are no spaces in your path
name
or enclosing the path in quotes. Ok, but I'm using the shortcut
paths
($VcInst/lib or whatever) for my library paths and include paths but
I still
get the error: fatal error LNK1104: cannot open file
'C:\Program.obj'

What am I doing wrong? *

I maybe know what is wrong : you forgot to write " chars
on a path of one of your libraries. "c:\program files\toto.lib"
and not c:\program files\toto.lib.

Hope that helps.

ptang



--
ptang
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------

.



Relevant Pages

  • lnk 1104 error
    ... I've seen this problem answered on the 'net that you can get this link error ... ($VcInst/lib or whatever) ... for my library paths and include paths but I still ... get the error: fatal error LNK1104: cannot open file 'C:\Program.obj' ...
    (alt.comp.lang.learn.c-cpp)
  • Cannot open file C:Program.obj
    ... I've seen this problem answered on the 'net that you can get this link error ... ($VcInst/lib or whatever) ... for my library paths and include paths but I still ... get the error: fatal error LNK1104: cannot open file 'C:\Program.obj' ...
    (microsoft.public.vstudio.general)