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

Compilation for macOS #1

Open
gquere opened this issue Oct 18, 2021 · 0 comments
Open

Compilation for macOS #1

gquere opened this issue Oct 18, 2021 · 0 comments

Comments

@gquere
Copy link
Owner

gquere commented Oct 18, 2021

From user @ptro46 (thanks!):

On macOS, PATH_MAX is not defined in limits.h, thus it has to be added to the source code:
#define PATH_MAX (1024)

Also the ncurses dependency is named differently than on GNU/Linux, so the Makefile must be altered to link against lcurses:
LDFLAGS = -lpthread -lcurses

After making these changes, ngp2 seems to compile and run as intended.

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