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

PATH_MAX undeclared identifier #19

Closed
jeffythedragonslayer opened this issue Sep 5, 2021 · 4 comments
Closed

PATH_MAX undeclared identifier #19

jeffythedragonslayer opened this issue Sep 5, 2021 · 4 comments

Comments

@jeffythedragonslayer
Copy link

When I try to build this with the "meson compile -C build" command on windows, I get these errors:

Activating VS 16.11.2
ninja: Entering directory `build'
[1/2] Compiling C object spc2it.exe.p/main.c.obj
FAILED: spc2it.exe.p/main.c.obj
"cl" "-Ispc2it.exe.p" "-I." "-I.." "/MDd" "/nologo" "/showIncludes" "/W2" "/O2" "/Gw" "/Zi" "/Fdspc2it.exe.p\main.c.pdb" /Fospc2it.exe.p/main.c.obj "/c" ../main.c
../main.c(60): error C2065: 'PATH_MAX': undeclared identifier
../main.c(60): error C2057: expected constant expression
../main.c(60): error C2466: cannot allocate an array of constant size 0
../main.c(60): error C2133: 'fn': unknown size
../main.c(156): error C2065: 'PATH_MAX': undeclared identifier
ninja: build stopped: subcommand failed.
@uyjulian
Copy link
Owner

uyjulian commented Sep 5, 2021

The specified build environment and commands are located here: https://github.com/uyjulian/spc2it/blob/master/.github/workflows/ci.yml#L53
If you want to add support for alternative build environment, I accept pull requests

@jeffythedragonslayer
Copy link
Author

jeffythedragonslayer commented Sep 5, 2021 via email

@uyjulian
Copy link
Owner

uyjulian commented Sep 5, 2021

Yes, that is correct

@jeffythedragonslayer
Copy link
Author

Thank you.

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

2 participants