Open microbit-carlos opened 3 months ago
Okay, at least the Msys2 system does work when installing Python internally with Pacman instead of using the Windows system Python. So it's more an issue about with using system Python inside Msys2 (although maybe setting the subprocess shell
argument to True
would be worth trying).
For the first case:
FileNotFoundError: [WinError 2] The system cannot find the file specified
It's hard to tell exactly what it can't find, but it may be referring to the C preprocessor, named by the variable $(CPP)
in the makefile.
In the second case (cygwin) it looks something to do with relative vs absolute paths and the destination build directory.
Tries on two different set ups.
This one with Msys2, CMake 3.28.1, Python 3.8 (installed via Windows installer)
Cygwin with CMake 3.14.3, Python 3.8 (installed via Windows installer):
On GitHub Actions: https://github.com/microbit-foundation/micropython-microbit-v2/actions/runs/8391892458/job/22983253141