Skip to content

pdcurses v3.9 build fails using makefile.vc #166

@ultimal

Description

@ultimal

Hi

Running the following command in the wincon directory:

nmake -f Makefile.vc WIDE=Y DLL=Y all

I get the following error:

Microsoft (R) Program Maintenance Utility Version 14.38.33133.0
Copyright (C) Microsoft Corporation.  All rights reserved.

        rc -r -fopdcurses.res ..\common\pdcurses.rc
Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
Copyright (C) Microsoft Corporation.  All rights reserved.

        cvtres -machine: -nologo -out:pdcurses.obj pdcurses.res
Microsoft (R) Windows Resource To Object Converter Version 14.38.33133.0
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: CVTRES [options] [files]

   options:

      /DEFINE:symbol
      /FOLDDUPS
      /MACHINE:{ARM|ARM64|ARM64EC|ARM64X|EBC|IA64|X64|X86}
      /NOLOGO
      /OUT:filename
      /READONLY
      /VERBOSE
NMAKE : fatal error U1077: 'cvtres -machine: -nologo -out:pdcurses.obj pdcurses.res' : return code '0x1'
Stop.

So I manually added the following line to the beginning of the Makefile.vc :

PLATFORM = amd64

Then the same command works and everything compiles without any issues. Not sure if it's something I'm missing or if there is an actual issue with the Makefile.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions