
VC7 project always out-of-date, always rebuilds all
In our big project, we have many resources files. When
porting the project to VC7, I got the problem that the
project always builds resources.
I fixed the problem with moving the RC2 to the same
folder as *.rc and I inserted the RC2 to the vcproj.
Quote:
>-----Original Message-----
>Every time I issue the build command my VC7 project
completely rebuilds.
Quote:
>When I try to start debugging it always tells me that my
project is
>out-of-date and needs to be built.
>This only happens for this one project.
>All my modified dates look correct.
>My build log looks normal, but I've included it below
anyway.
>My only solution so far is to compile each unit
individually and then link
Quote:
>manually. Ouch.
>Any suggestions are appreciated,
>Tom.
>The Build Log
> ------- Build started: Project: CallView,
Configuration:
>Debug|Win32 -------
> Environment Space
> ALLUSERSPROFILE=D:\Documents and
Settings\All Users
> APPDATA=D:\Documents and Settings\Tom\Application
Data
> Boost=e:\DevCode\boost
> CLASSPATH=D:\WINNT\System32\QTJava.zip
> CommonProgramFiles=D:\Program Files\Common Files
> COMPUTERNAME=HECK
> ComSpec=D:\WINNT\system32\cmd.exe
> HOMEDRIVE=D:
> HOMEPATH=\
>INCLUDE=F:\PlatformSDK\include;F:\vsnet\Vc7
\include;F:\vsnet\Vc7\atlmfc\incl
Quote:
>ude;F:\vsnet\Vc7
\PlatformSDK\include\prerelease;F:\vsnet\Vc7
\PlatformSDK\inc
Quote:
>lude;F:\vsnet\FrameworkSDK\include;
>LIB=F:\PlatformSDK\lib;F:\vsnet\Vc7\lib;F:\vsnet\Vc7
\atlmfc\lib;F:\vsnet\Vc7
Quote:
>\PlatformSDK\lib\prerelease;F:\vsnet\Vc7
\PlatformSDK\lib;F:\vsnet\FrameworkS
Quote:
>DK\lib;
> LIBPATH=
> LOGONSERVER=\\HECK
> NUMBER_OF_PROCESSORS=1
> OS=Windows_NT
> Os2LibPath=D:\WINNT\system32\os2\dll;
>Path=F:\PlatformSDK\bin\winnt;F:\PlatformSDK\bin;F:\vsnet
\Vc7\bin;F:\vsnet\C
>ommon7\Tools\bin\prerelease;F:\vsnet\Common7
\Tools\bin;F:\vsnet\Common7\tool
Quote:
>s;F:\vsnet\Common7\ide;D:\Program Files\HTML Help
>Workshop\;F:\vsnet\FrameworkSDK\bin;d:\WINNT\Microsoft.NE
T\Framework\v1.0.37
>05;D:\WINNT;D:\WINNT\system32;D:\WINNT\system32
\WBEM;D:\Program
>Files\Support
>Tools\;E:\SysUtil\Win2Krsk\;e:\DevApps\VStudio\VC98
\Bin;e:\python\python21\;
Quote:
>E:\DevTools\Perl\bin\;e:\MiscApps\PGPfree;D:\Program
>Files\Microsoft.NET\FrameworkSDK\Bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
Quote:
> PROCESSOR_ARCHITECTURE=x86
> PROCESSOR_IDENTIFIER=x86 Family 6 Model 7 Stepping
2, GenuineIntel
> PROCESSOR_LEVEL=6
> PROCESSOR_REVISION=0702
> ProgramFiles=D:\Program Files
> PySpy=h:\dev\pyspy
> PySrc=e:\DevCode\Python-2.1.1
> QTJAVA=D:\WINNT\System32\QTJava.zip
> STLport=e:\DevCode\STLport
> SystemDrive=D:
> SystemRoot=D:\WINNT
> TEMP=d:\Temp
> TMP=d:\Temp
> USERDOMAIN=HECK
> USERNAME=Tom
> USERPROFILE=D:\Documents and Settings\Tom
> VSCOMNTOOLS="F:\vsnet\Common7\Tools\"
> windir=D:\WINNT
> WXWIN=e:\DevCode\wx2
> _ACP_ATLPROV=F:\vsnet\Vc7\bin\ATLPROV.DLL
>_ACP_INCLUDE=E:\vsnet\Vc7\vcpackages;F:\vsnet\Vc7
\vcpackages;F:\PlatformSDK\
Quote:
>include;F:\vsnet\Vc7\include;F:\vsnet\Vc7
\atlmfc\include;F:\vsnet\Vc7\Platfo
Quote:
>rmSDK\include\prerelease;F:\vsnet\Vc7
\PlatformSDK\include;F:\vsnet\Framework
Quote:
>SDK\include;
>_ACP_LIB=F:\PlatformSDK\lib;F:\vsnet\Vc7\lib;F:\vsnet\Vc7
\atlmfc\lib;F:\vsne
>t\Vc7\PlatformSDK\lib\prerelease;F:\vsnet\Vc7
\PlatformSDK\lib;F:\vsnet\Frame
Quote:
>workSDK\lib;;E:\vsnet\Vc7\vcpackages;F:\vsnet\Vc7
\vcpackages;F:\PlatformSDK\
Quote:
>include;F:\vsnet\Vc7\include;F:\vsnet\Vc7
\atlmfc\include;F:\vsnet\Vc7\Platfo
Quote:
>rmSDK\include\prerelease;F:\vsnet\Vc7
\PlatformSDK\include;F:\vsnet\Framework
Quote:
>SDK\include;
>_ACP_PATH=F:\PlatformSDK\bin\winnt;F:\PlatformSDK\bin;F:\
vsnet\Vc7\bin;F:\vs
>net\Common7\Tools\bin\prerelease;F:\vsnet\Common7
\Tools\bin;F:{ w O ; ?:|?< f \vsnet\Common7
Quote:
>\tools;F:\vsnet\Common7\ide;D:\Program Files\HTML Help
>Workshop\;F:\vsnet\FrameworkSDK\bin;d:\WINNT\Microsoft.NE
T\Framework\v1.0.37
>05;D:\WINNT;D:\WINNT\system32;D:\WINNT\system32
\WBEM;D:\Program
>Files\Support
>Tools\;E:\SysUtil\Win2Krsk\;e:\DevApps\VStudio\VC98
\Bin;e:\python\python21\;
Quote:
>E:\DevTools\Perl\bin\;e:\MiscApps\PGPfree;D:\Program
>Files\Microsoft.NET\FrameworkSDK\Bin;
> Command Lines
> Creating temporary
file "d:\Temp\RSP000028.rsp" with contents
Quote:
>[
>/D "_DEBUG" /mktyplib203 /env
win32 /tlb "./CallView.tlb" /h "CallView.h"
Quote:
>/iid "CallView_i.c"
>CallView.idl
>]
>Creating command line "midl.exe
Quote:
>Creating temporary file "d:\Temp\RSP000029.rsp" with
contents
>[
>/Od /I "E:\vsnet\Vc7\vcpackages" /I "F:\vsnet\Vc7
\vcpackages" /D
>"h:\Dev\dotNet\CallView\\" /D "WIN32" /D "_DEBUG" /D "_WI
NDOWS" /D "_MBCS"
>/D "_USRDLL" /D "_ATL_STATIC_REGISTRY" /D "_WINDLL" /FD /
EHsc /MDd /GR
>/Fp".\Debug/CallView.pch" /Fo".\Debug/" /Fd".\Debug/" /W3
/c /ZI /TP
>DotParent.cpp
>DotFile.cpp
>Solution.cpp
>Project.cpp
>HardArray.cpp
>Events.cpp
>DotProject.cpp
>Document.cpp
>Connect.cpp
>ClassTree.cpp
>CallViewCtl.cpp
>CallView.cpp
>BscUserFile.cpp
>BscParent.cpp
>BscMod.cpp
>BscInst.cpp
>BscFile.cpp
>BscArray.cpp
>AutoObj.cpp
>]
>Creating command line "cl.exe
Quote:
>Creating command
line "rc.exe /d "_AFXDLL" /d "_DEBUG" /I ".\Debug"
Quote:
>/fo".\Debug/CallView.res" CallView.rc"
>Creating temporary file "d:\Temp\RSP00002A.rsp" with
contents
>[
>/OUT:".\Debug/CallView.dll" /INCREMENTAL /NOLOGO /DLL /DE
F:".\CallView.def"
>/DEBUG /PDB:".\Debug/CallView.pdb" /SUBSYSTEM:WINDOWS
>/IMPLIB:".\Debug/CallView.lib" comctl32.lib shell32.lib
msbsc70.lib
>kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib
Quote:
>shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib
odbccp32.lib
>msbsc70.lib
>Debug\AutoObj.obj
>Debug\BscArray.obj
>Debug\BscFile.obj
>Debug\BscInst.obj
>Debug\BscMod.obj
>Debug\BscParent.obj
>Debug\BscUserFile.obj
>Debug\CallView.obj
>Debug\CallViewCtl.obj
>Debug\ClassTree.obj
>Debug\Connect.obj
>Debug\Document.obj
>Debug\DotProject.obj
>Debug\Events.obj
>Debug\HardArray.obj
>Debug\Images.obj
>Debug\LoadRes.obj
>Debug\MfcData.obj
>Debug\Name.obj
>Debug\Project.obj
>Debug\Solution.obj
>Debug\CallView.res
>Debug\StdAfx.obj
>Debug\DotFile.obj
>Debug\DotParent.obj
>]
>Creating temporary file "d:\Temp\BAT00002B.bat" with
contents
>[
>cd .\Debug
>regsvr32 /s "CallView.dll"
>]
>Creating command line "d:\Temp\BAT00002B.bat"
> Output Window
> Creating Type Library...
>Processing .\CallView.idl
>CallView.idl
>Processing F:\PlatformSDK\include\oaidl.idl
>oaidl.idl
>Processing F:\PlatformSDK\include\objidl.idl
>objidl.idl
>Processing F:\PlatformSDK\include\unknwn.idl
>unknwn.idl
>Processing F:\PlatformSDK\include\wtypes.idl
>wtypes.idl
>Processing F:\PlatformSDK\include\basetsd.h
>basetsd.h
>Processing F:\PlatformSDK\include\guiddef.h
>guiddef.h
>Processing F:\PlatformSDK\include\ocidl.idl
>ocidl.idl
>Processing F:\PlatformSDK\include\oleidl.idl
>oleidl.idl
>Processing F:\PlatformSDK\incl