RCGamorot

After following the instructions from the "Using Visual C++ 2005 Express Edition with the Microsoft Platform SDK" (including the downloading instructions for the x86 WS2003 R2 SDK), I get out-of-date errors (indicated in the Build log) when I attempt to build a WIN32 application which goes something like...

warning PRJ0041: cannot find missing dependency followed by some file names then followed by Your project may still build, but may continue to appear out of date until this file is found.

Did I miss something or are there some more modifications/work arounds not included in the procedure Hope you could help me... Thank you very much!



Re: Visual C++ Express Edition help on VS C++ 2005 express edition and MS PSDK for Windows Server 2003 R2

Ji Zhou ĘC MSFT

Hi RCGamorot,

Look at this thread, wish this help:

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=356980&SiteID=1






Re: Visual C++ Express Edition help on VS C++ 2005 express edition and MS PSDK for Windows Server 2003 R2

RCGamorot

Hi Ji Zhou,

Thank you very much for the response! However the last reply from the posted message thread that you've suggested was applicable to AMD64 PCs; mine is Intel P4. Thank you anyway, I appreciate it!

Need help once more, thank you very much!

Best regards





Re: Visual C++ Express Edition help on VS C++ 2005 express edition and MS PSDK for Windows Server 2003 R2

zjrm

RCGamorot wrote:
warning PRJ0041: cannot find missing dependency followed by some file names then followed by Your project may still build, but may continue to appear out of date until this file is found.

I think if you want to get further suggestions on this you're going to have to post just a few of the PRJ0041 error messages you're getting so that folks can at least guess at what might not be configured correctly. It's hard to extraplote from just "followed by some file names". Smile






Re: Visual C++ Express Edition help on VS C++ 2005 express edition and MS PSDK for Windows Server 2003 R2

RCGamorot

Hi zjrm,

Thanks for the reply! As requested here flags that came up...

Build Log

Build started: Project: Sample App, Configuration: Debug|Win32

Command Lines
Sample App : warning PRJ0041 : Cannot find missing dependency 'winwlm.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macwin32.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'rpcerr.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'rpcmac.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macname1.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macpub.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macapi.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.


Sample App : warning PRJ0041 : Cannot find missing dependency 'macname2.h' for file 'Sample App.rc'. Your project may still build, but may continue to appear out of date until this file is found.

Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000013963700.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yu"stdafx.h" /Fp"Debug\Sample App.pch" /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\Sample App.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000013963700.rsp" /nologo /errorReportStick out tonguerompt"
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000023963700.rsp" with contents
[
/Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_UNICODE" /D "UNICODE" /Gm /EHsc /RTC1 /MDd /Yc"stdafx.h" /Fp"Debug\Sample App.pch" /Fo"Debug\\" /Fd"Debug\vc80.pdb" /W3 /c /Wp64 /ZI /TP ".\stdafx.cpp"
]
Creating command line "cl.exe @"c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000023963700.rsp" /nologo /errorReportStick out tonguerompt"
Creating command line "rc.exe /d "_UNICODE" /d "UNICODE" /fo"Debug/Sample App.res" ".\Sample App.rc""
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\TMP0000033963700.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\Sample App.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\Debug\Sample App.exe.embed.manifest.res" "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\TMP0000033963700.tmp""
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000043963700.rsp" with contents
[
/OUT:"C:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Debug\Sample App.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\Sample App.exe.intermediate.manifest" /DEBUG /PDB:"c:\documents and settings\hp_owner\my documents\visual studio 2005\projects\sample app\debug\Sample App.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib

".\debug\stdafx.obj"

".\debug\Sample App.obj"

".\debug\Sample App.res"

".\Debug\Sample App.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000043963700.rsp" /NOLOGO /ERRORREPORTStick out tongueROMPT"
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000053963700.rsp" with contents
[
/out:".\debug\Sample App.exe.embed.manifest" /notify_update /manifest

".\debug\Sample App.exe.intermediate.manifest"
]
Creating command line "mt.exe @"c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000053963700.rsp" /nologo"
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\BAT0000063963700.bat" with contents
[
@echo Manifest resource last updated at %TIME% on %DATE% > ".\debug\mt.dep"
]
Creating command line """c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\BAT0000063963700.bat"""
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\TMP0000073963700.tmp" with contents
[
1 /* CREATEPROCESS_MANIFEST_RESOURCE_ID */ 24 /* RT_MANIFEST */ ".\\Debug\\Sample App.exe.embed.manifest"
]
Creating command line "rc.exe /fo".\Debug\Sample App.exe.embed.manifest.res" "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\TMP0000073963700.tmp""
Creating temporary file "c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000083963700.rsp" with contents
[
/OUT:"C:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Debug\Sample App.exe" /INCREMENTAL /MANIFEST /MANIFESTFILE:"Debug\Sample App.exe.intermediate.manifest" /DEBUG /PDB:"c:\documents and settings\hp_owner\my documents\visual studio 2005\projects\sample app\debug\Sample App.pdb" /SUBSYSTEM:WINDOWS /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib

".\debug\stdafx.obj"

".\debug\Sample App.obj"

".\debug\Sample App.res"

".\Debug\Sample App.exe.embed.manifest.res"
]
Creating command line "link.exe @"c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\RSP0000083963700.rsp" /NOLOGO /ERRORREPORTStick out tongueROMPT"
Output Window
Compiling...
stdafx.cpp
Compiling...
Sample App.cpp
Compiling resources...
Compiling manifest to resources...
Linking...
Embedding manifest...
Results
Build log was saved at "file://c:\Documents and Settings\HP_Owner\My Documents\Visual Studio 2005\Projects\Sample App\Sample App\Debug\BuildLog.htm"
Sample App - 0 error(s), 0 warning(s)

Hope you could help me on this, thanks and best regards!





Re: Visual C++ Express Edition help on VS C++ 2005 express edition and MS PSDK for Windows Server 2003 R2

zjrm

I don't know if I can help since I'm still struggling to with VC++ myself. But I'll offer what I can.

First thing I did while reading your post was to Google winwlm.h, macwin32.h, and macname1.h just to see what it might turn up.

It appears other people have bumped up against this before. Perhaps a solution that will work for you is mentioned in one of the links Google turns up.

My own quick glance at the Google results came up with the following possibilities:

1) The thread on the Channel 9 Forums suggests editing the Resource.h for your application and defining the macro preprocessor symbol _X86_ (by adding the line
#define _X86_) to prevent bringing in Mac related includes.

2) Another thread (can't remember where) suggested the simple workaround of just creating dummy (empty) copies of the missing include files. This would get rid of the PRJ0041 warnings, but it really just hides the symptoms without really solving the problem.

Don't know if this helps at all, but it's all I've got.