Compiler is apparently skipping files

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hey all,

I recently did an upgrade to VS.Net 2005, and am trying to compile an old (2003-format) C++ solution. When I do so, the linker complains about missing symbols that should be defined in the source code. For example, it gives me a number of errors like so:

test_jellyfish_slice.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall force::ForceManager::~ForceManager(void)" (??1ForceManager@force@@UAE@XZ) referenced in function __unwindfunclet$??0OpenAirForceSimulator@force@@QAE@AAVNumericalIntegrator@numerical_analysis@@@Z$0

Now, when I click on the CPP file that defines the ForceManager's method implementations, I get a warning dialog that says:

"The line endings in the following file are not consistent. Do you want to normalize the line endings?"

I don't know why VC2005 even cares, but so I tell it to convert everything to Windows-style line breaks. Still no go. I still get the linking errors.

So why might this be? Why would it not be able to find the code? It doesn't give me any errors about missing files or anything like that, so it is apparently compiling the CPP files with the supposedly missing functions.

Thanks.

Dave
.



Relevant Pages

  • Re: Compiler is apparently skipping files
    ... but I am getting other linking errors that say that given symbols are defined multiple times: ... That particular destructor symbol is not defined in a header, but instead in a .cpp file. ... "The line endings in the following file are not consistent. ... It doesn't give me any errors about missing files or anything like that, so it is apparently compiling the CPP files with the supposedly missing functions. ...
    (microsoft.public.vc.ide_general)
  • Re: Compiler is apparently skipping files
    ... I've never seen this sort of thing before, but you could open one of the offending files using the Binary Editor (use Open with... ... Now, when I click on the CPP file that defines the ForceManager's method implementations, I get a warning dialog that says: ... "The line endings in the following file are not consistent. ... It doesn't give me any errors about missing files or anything like that, so it is apparently compiling the CPP files with the supposedly missing functions. ...
    (microsoft.public.vc.ide_general)
  • Problem with obj files in sysgen phase
    ... seems to be missing. ... BUILD: Compile and Link for x86. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Review of FreeBSD 5.4
    ... >> Torvalds often does NOT compile a kernel when it is released. ... Missing #includes for popen et al, strcpy, strcat, getlogin. ... (possible inefficiency) ... * Command to execute another command in the user's home directory. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: compiler problems
    ... I just attempted my first compile - but didn't install the package when I installed the distro. ...
    (Fedora)