Re: Compiler is apparently skipping files

Tech-Archive recommends: Fix windows errors by optimizing your registry



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... then pick Binary Editor to get a closer look at the contents of the file.

Tom

"Dave Rudolf" <dave.rudolf@xxxxxxxx> wrote in message news:%23KGxhdNbHHA.5052@xxxxxxxxxxxxxxxxxxxxxxx
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)
  • Compiler is apparently skipping files
    ... I recently did an upgrade to VS.Net 2005, and am trying to compile an old C++ solution. ... 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)