Re: Link warning and error, what do they mean?

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

From: M K (mark_at_nospamcenturycolor.com)
Date: 12/01/04


Date: Wed, 1 Dec 2004 11:17:03 -0800

Thank you sooo much... I never heard of F1 before. It opens a whole world of
possibilities...

Let's take this error here, given to us by the linker:
LINK : fatal error LNK1181: cannot open input file
'.\debug\KPDCLoader_Win.obj'

Now, I hit F1, and get this:
>
cannot open input file 'filename'

The linker could not find filename because it does not exist or the path was
not found.
<

Hmmm... very informative. I do some digging on MSDN, and get this article:
http://support.microsoft.com/default.aspx?scid=kb;en-us;815645

The problem I have is, KPDCLoader_Win.obj doesn't ring any bells. I have a
KPDCLoader.h (header file) but I'm not sure where the linker getting the
'_Win'.

This was a VS 6 project, that I converted to VS 2k3.

The path this error gives, .\debug, in my project's folder I have a debug
folder and it's not readonly.

input file... Hmm... I'm just not sure what they mean by input file. Should
the link/build process be creating this .obj (input) file. If so, is the
linker not linking in the correct order? Where do I change the order if
that's the case... F1 got me part of the way, but where do I go from here?!?!



Relevant Pages

  • Re: Rookie Student C++ Array question (reading from a file)
    ... int main ... // open input file ... That's your overall plan. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Link warning and error, what do they mean?
    ... > The linker could not find filename because it does not exist or the path was ... What would anybody mean by "input file"? ... it is possible that an obj file is not the result of compiling any ... compilation phase or taken from the project settings. ...
    (microsoft.public.vc.ide_general)
  • Re: Syswrite Function in Perl
    ... die("Cannot open input file input.txt\n"); ... @keys = keys %structure; ... When i use syswrite function, ...
    (perl.beginners)
  • Re: inputting the ephemerides
    ... my $filename = 'eph9.txt'; ... # process all lines in input file ... # write modified fields to output file ...
    (comp.lang.perl.misc)
  • replace multiple lines in a file with Perl
    ... example to replace multiple lines from a file. ... undef $/; ... print "Can't open input file $file\n"; ... The input file contains only one copy of the original text, ...
    (comp.lang.perl.misc)