Replies: 2 comments
-
Looks like a consequence of having "C:" in my path. I wonder how to make use of the Unix-like paths. How? |
Beta Was this translation helpful? Give feedback.
-
Hmm, I tested this on my machine in msys2 mingw64 environment. I was able to get through venv creation:
(I had to use I'm not exactly sure what's causing the error you are getting and I am not seeing -- perhaps it's because you are running in the ucrt64 environment while using the MSYS python? Maybe try installing the ucrt64 python and deleting and recreating your build directory (to clear your CMake cache) and see if that helps at all. However, from like an hour of trying stuff, I wasn't able to make much progress even without that error happening. One issue is that the pywin32 package does not seem to exist for the mingw environment, so it has to be commented out from our requirements.txt in order for things to work. The other issue is that the Frankly, I think that it will be more than a bit of a project to get this working. Ultimately the Python packages used by Mbed don't seem to have very good support for msys2 environments, so a lot of hacking like this will be needed to get things running. I know it's a pain to install stuff manually, but the Python stuff is way better tested if you use the Windows shell, I promise! Or, if you keep working on this, please let us know how it goes and if you find fixes for these issues! |
Beta Was this translation helpful? Give feedback.
-
I'm a beginner with MBedCE and I'm just setting up my environment, following the hello-world (https://github.com/mbed-ce/mbed-ce-hello-world) and the toolchain (https://github.com/mbed-ce/mbed-os/wiki/Toolchain-Setup-Guide) setups.
I'd like to make use of my current msys2 shell installation in Windows11, as it already includes ninja, python and cmake packages (why install again everything from scratch somewhere else?).
When going to setup the project from command-line (https://github.com/mbed-ce/mbed-os/wiki/Project-Setup:-Command-Line), and build with:
$ cmake .. -GNinja -DCMAKE_BUILD_TYPE=Develop -DMBED_TARGET=NUCLEO-LK432KC
I get this error, which is rather obscure to me:
This is the shell env PATH:
Any clue, someone?
Thanks
Fabio
Beta Was this translation helpful? Give feedback.
All reactions