Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ultimal opened this issue Jun 14, 2024 · 0 comments
Open

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

ultimal opened this issue Jun 14, 2024 · 0 comments

Comments

@ultimal
Copy link

ultimal commented Jun 14, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant