BUG: Localize Sample Cannot Be Built

Last reviewed: May 12, 1997
Article ID: Q168424
The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, version 5.0

SYMPTOMS

Building the Localize sample from a command prompt using NMAKE generates the following errors:

   "Localize.mak(26) : fatal error U1050:
      An invalid configuration is specified. Stop"

   "NMAKE : fatal error U1077:
      '"C:\Program Files\DevStudio\VC\BIN\NMAKE.EXE"' : return code '0x2'"

Building the Localize sample from within Developer Studio causes the warning:

   "The following environment variables were not found $(OUTDIR)"

CAUSE

The first error occurs because the default makefile is missing the configurations for the locresde.mak and locresfr.mak files.

The second problem is caused by an undefined macro called $(OUTDIR) listed in the Additional resource include directories.

RESOLUTION

If you need to build from the command line, then invoke NMAKE separately on each of the project makefiles. For example:

    nmake /f localize.mak
    nmake /f locresde.mak
    nmake /f locresfr.mak

To eliminate the warning about $(OUTDIR), choose Project then Settings, and then highlight the Localize Project and select the Resources tab. Remove $(OUTDIR) from the Additional resource include directories.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


Keywords : kberrmsg vc5rel vcbuglist500 kbbuglist
Version : 5.0
Platform : NT WINDOWS
Issue type : kbbug


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: May 12, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.