PDCurses
PDCurses copied to clipboard
pdcurses v3.9 build fails using makefile.vc
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