Article ID: 168420
Article Last Modified on 10/24/2003
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q168420
SYMPTOMS
If your intermediate directory starts with ..\ and you export a makefile for the project, the makefile may not be written correctly. The result is that some or all files in the project may not compile.
RESOLUTION
- Change the intermediate directory to start with .\..\ instead of ..\.
- Export a new makefile for the project.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, version 6.0.
MORE INFORMATION
Steps to Reproduce Behavior
- Create a default Appwizard application.
- From the Project menu select Settings and then General.
- Change the intermediate directory for the debug build to ..\debug.
- Run "Export Makefile" from the Project menu.
- Open a Command Shell and run vcvars32.bat from the <msdevpath>\bin directory.
- Build the exported makefile using nmake /a /f <makefile>. You get the following error:
- Now change the intermediate directory for the debug build to .\..\debug.
- Repeat steps 4 [ASCII 150] 6 and not that the project builds successfully.
Keywords: kbbug kbfix kbide kbvc600fix KB168420