Skip to content
New issue

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

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

Already on GitHub? # to your account

Build failure when building PDcurses DLL library for Window console #158

Open
jjceresa opened this issue Nov 7, 2023 · 1 comment
Open

Comments

@jjceresa
Copy link

jjceresa commented Nov 7, 2023

Working on Windows XP, and using the Visula Studio 10 command line tools set.

Compiling the library for Windows console using nmake: nmake -f makefile.vc dll=y.
The build fails because of the variable PLATFORM which isn't defined in makefile.vc.

In makefile.vc, this variable defines the option -machine for the linker.

To fix the issue I have added the following lines in makefile.vc:

#defaut cpu architecture required for option ddl=yes
!ifndef PLATFORM
PLATFORM = X86
!endif

Now the pdcurses.dll build is successfully.

@jjceresa
Copy link
Author

jjceresa commented Nov 7, 2023

Oups!, there is a typo mistake in the comment line that should be:#defaut cpu ...... for option dll=yes.

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

No branches or pull requests

1 participant