Re: nmake not creating object files

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



On Jun 27, 12:48 am, jc <k.jayachand...@xxxxxxxxx> wrote:
I have a VC++ project in Visual Studio 2005. this application depends
on 5 more dlls. so i created a makefile and use nmake to compile the
release version of my application and to compile the debug version of
the application i use ide.

this is very very handy because any changes i make in one of the
libraries, i don't have to recompile both debug and release by the
changing the setting of all the libraries and the application that
depend upon the library.

i also use CVS to archive my source code to a linux server. to do that
i installed cygwin in my office laptop and from the cygwin ssh window
i check out the project and archive.

the problem i have is out of nowhere nmake won't compile an object
file and the link will fail
with error code LNK1181 cannot open input file file.obj

the problem is it is not the same file that i'm having problem with.
some times it automatically goes away.
has anybody had any issues like this with nmake

any pointers in the right direction

thanks
jc

after some research i found out that i can get some information using
the switch /D

Thu, Jun 26 2008 22:45:49 ../jcCanTool/jcCALMapProperties.h
./jcCanTool/CParMapGUI.obj target does
not exist
Fri, Jun 27 2008 00:40:29 ../jcCanTool/CParMapGUI.cpp
** ../jcCanTool\CParMapGUI.cpp newer than ./jcCanTool/CParMapGUI.obj
Fri, May 30 2008 20:17:40 Makefile
jcCANitha.exe target does not exist
LINK : fatal error LNK1181: cannot open input file './jcCanTool/
CParMapGUI.obj

thanks
jc

.



Relevant Pages

  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)
  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)
  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, to test if everything is ok. ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)
  • RE: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, to test if everything is ok. ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)
  • Re: problem compiling sample drivers
    ... Then I wanted to compile the sample drivers, ... NMAKE: fatal error U1064: MAKEFILE not found and no target specified ...
    (microsoft.public.development.device.drivers)