FIX: BSCMAKE Fails When Project Contains Only Object FilesLast reviewed: September 16, 1997Article ID: Q102664 |
1.00 | 1.00WINDOWS | WINDOWS NT kbtool kbfixlist kbbuglist kbfasttip The information in this article applies to:
SYMPTOMSAn attempt to run BSCMAKE on a project fails and BSCMAKE displays its usage screen.
CAUSEThe project contains only object files. Visual Workbench creates a makefile for the project that contains an NMAKE macro called "SBRS" that holds the names of the .SBR files for BSCMAKE to process. Because the project does not contain any source files, SBRS is an empty string. When the makefile sends the empty string to BSCMAKE through an inline response file, the resulting command line is "BSCMAKE /o<project_name>.bsc" The Visual Workbench creates a makefile for the project that contains an NMAKE macro called "SBRS". This macro is used to hold the names of the .SBR files to be fed into BSCMAKE via an inline response file. Since the project has no source files, the Visual Workbench assigns "SBRS" to an empty string. This empty string gets fed to BSCMAKE. The resulting command line is "bscmake /o<project_name>.bsc" which is invalid.
RESOLUTIONThere are two methods to address this situation when you build a project that contains only OBJ files, as follows:
STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was corrected in Visual C++ 32-bit Edition, version 2.0.
|
Additional reference words: 1.00 1.10
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |