Strange link error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Sam (samwise22_at_hotmail.com)
Date: 05/06/04


Date: 6 May 2004 09:56:37 -0700

I'm attempting to reorganize a lot of source code. One of the aspects
is that I needed to move a project & workspace to another location. No
big deal, I'll just update its configuration and everything will be
fine. Almost.

I'm getting a couple of errors:

libcmtd.lib(fgetc.obj) : error LNK2005: _fgetc already defined in
decode.obj
libcmtd.lib(fclose.obj) : error LNK2005: _fclose already defined in
decode.obj

Which is strange, because decode.cpp has no definition for that
function, it merely calls it. The source, decode.cpp, hasn't changed
in quite some time. The only help I could find for this dealt with
changing the run-time library, but that hasn't been changed either.

Did I accidentally do something incredibly subtle to the project
options? I've compared the before/after, and it seems the pathing for
the include directories is the only change. Can I mess things up if I
have too many include directories, or the paths themselves are too
long?

I'd really appreciate any advice or suggestions anyone has. Thanks!



Relevant Pages

  • Re: File editor
    ... variables -- from the active workspace. ... it edits stuff in the ... will persist beyond the current APL session / only / ... also support a script- or file-based view of Source Code ...
    (comp.lang.apl)
  • Re: File editor
    ... Yes: An APL workspace is like a SpreadSheet: It contains your data and ... today every APL shop more or less has its own home-grown source code ... or allow a batch job which had already been running ... The advent of widespread Unicode support in source code management ...
    (comp.lang.apl)
  • Re: Unresolved external symbol
    ... I've got some source code that was ... Win32 console application, copied the files source files into the ... workspace directory, added the project to the workspace and made the ... Looking in the Debug directory I find no files generated, ...
    (microsoft.public.vc.language)
  • Re: Great SWT Program
    ... than in Eclipse's workspace. ... If I move that source code later, ... I haven't found any way to tell Eclipse about that other than to ... these new-fangled tools sure don't make it easy .... ...
    (comp.lang.java.programmer)
  • Unresolved external symbol
    ... I've got some source code that was ... workspace directory, added the project to the workspace and made the ... On compiling I get the follow: ... Looking in the Debug directory I find no files generated, ...
    (microsoft.public.vc.language)