Hi,
I have been trying to get VSCode/CMake to work with Mbed-CE on Windows 11. It seems I have got very close but not quite there yet.
I cloned Mbed CE Custom Targets Example project, and followed instructions here as close as I can, but still seem unable to get it to work.
The error message I get is like this:
[cmake] CMake Error at mbed-os/tools/cmake/app.cmake:55 (enable_language):
[cmake] Running
[cmake]
[cmake] 'nmake' '-?'
[cmake]
[cmake] failed with:
[cmake]
[cmake] no such file or directory
[cmake] Call Stack (most recent call first):
[cmake] CMakeLists.txt:32 (include)
[cmake]
[cmake]
[cmake] -- Configuring incomplete, errors occurred!
This seems to mean that no compiler can be found. I tried to set the path for GCC_ARM compiler in VSCode as in the following screenshot:
This doesn’t seem to help.
Can someone advise on what I am missing/did wrong here?
Thanks,
ZL