Closed slowpoke-lizard closed 4 years ago
Have you tried using MSVC?
I haven't, I suppose MSVC is the correct way to go.
My apologies for not giving you any help on this matters. As stated before I have macOS and Linux environments so let's hope our good community can help you. -- Perbone
Hi Did you solve your problem? May I close this issue?
The issue could also be solved by conditionally disabling <sys/wait.h>
on Windows while compiling with mingw.
The OP may have abandoned the issue.
I see... gonna try this. Thanks for the replay
Hello,
This compiles without any issues on my Debian (targeting Debian).
I fail to compile it for Windows though: scons -j 6 bits=64 module_luascript_enabled=yes target=release_debug tools=yes platform=windows [...] modules/luascript/lib/lua/lauxlib.c:267:10: fatal error: sys/wait.h: No such file or directory 267 | #include <sys/wait.h>
As far as I could learn online, mingw-64 doesn't provide a full posix implementation, and the sys/wait.h requirement apparently cannot be satisfied in that context. Has anyone been able to build it for Windows?
Thanks!