-
Notifications
You must be signed in to change notification settings - Fork 19
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
Windows build failing due to the use of ls
#73
Comments
i figure, pd-lib-builder targets MinGW/MSYS environments (on Windows), where MSYS should provide however, i wonder why we can't use a Make-builtin instead of using external programs, e.g. a simple probably @katjav can share some thoughts on why it uses |
Thoughts are in the file itself but probably not at the appropriate place (starting at line 542):
Definitive expansion of paths as they will be used in commands is deferred to the section starting at line 787 and applicable for all platforms. The |
thanks for the clarification. it's just amazing how things can go awry when you combine the GNU and redmont powers. |
In addition to my previous comment: Makefile.pdilbbuilder explicitly depends on GNU make in order to be portable. GNU make documentation specifies which (POSIX compliant) tools can be used in a Makefile: https://www.gnu.org/software/make/manual/make.html#Makefile-Conventions But the same Makefile conventions also say:
Makefile.pdlibbuilder doesn't define |
I've got a personal variant of
Defined in
I also added a
I'm using xwin to make the Windows SDK available in WSL, which just seemed easier than dealing with the installed SDK on the Windows side of things. Then to make this work with other commands, you need to remove the quotes as the escapement means that the argument is recognized as a single argument anyway. I haven't shared a PR back yet as this seems to cause problems with MinGW and untested for Linux or MacOS. I've also started looking at if I could install GNU Make and try to use a Visual Studio environment to build directly in Windows using pd-lib-builder, but that's something for another day. |
Windows doesn't have the
ls
command by default.When I tried to use powershell instead, it ran into other issues.
The easiest way is to use
dir
, since it works in both powershell and cmd.I have a PR for that: #72
The text was updated successfully, but these errors were encountered: