views:

76

answers:

2

Hello, I am recompling a project using Borland C++ Builder 6 and LMD tool 2010. The recompile process failed due to linker error. The message was: "[Linker Fatal error] Fatal unable to open file LMDOneInstance.OBJ"

I searched the whole hard drive, but could not find any reference to LMDOneInstance.OBJ

Any help is appreciated. Thanks in advance. David

+1  A: 

LMDOneInstance.Obj is an object code file generated a source file called LMDOneInstance.Cpp or a combined list of sources that make up the compiled object code. It could be an object file lying in a lib directory....

Hope this helps, Best regards, Tom.

tommieb75
+1  A: 

Another good tactic is to look for

#pragma link "LMDOneInstance"

in your source code.

But tommieb's suggestion is also correct, look for LMDOneInstance.LIB and make sure it's path is in your library path or add the lib file to your project.

David Dean - Embarcadero
yes - not adding the lib file to the project can be a 'gotchya' even if you have the correct directories in the include path.
Seth