Closed mvoltz closed 1 year ago
I don't have Windows 11 to test.
FWIW, on Windows 10 Home 22H2 19045_3208, it works here if I execute the command via "x64 Native Tools Command Prompt" (comes with various VisualStudio versions though may be available via other means [1]).
[1] See here for some further details if interested.
I execute the command via "x64 Native Tools Command Prompt"
I think that may be the issue. "Failed to create process" seems like it can't find the compiler.
I've tried to replicate the issue. I have done the following:
janet bootstrap.janet
The error is precisely the same as reported.
The build succeeds.
Apologies, I didn't do a great job isolating my changes but it works now. You were correct. I needed VS command prompt to compile properly, but it was still breaking for me in different ways (broken externals). I installed Wix311 and added "C++ Modules for v143 build tools (x64/x86 - experimental)". I uninstalled Janet then reinstalled, tried again, and spork built just fine. Note: I'm using the release installer and not compiling Janet from source.
Thank you, sogaiu and primo-ppcg, for your help.