-
I'm getting cmake named generator error when building the default hello world program. When I try to build it I get an error from cmake: CMake Error: Could not create named generator NMake Makefiles. I'm not very familiar with cmake so hopefully this is something simple. I'm running ubuntu on WSL2 in Windows 11. I haven't made any changes to the template repository. Build output:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I remembered previously that when I setup a Pico dev environment I had to change the Cmake Generator type. I found it documented in the Pico getting started docs: Doing this resolved my issue. |
Beta Was this translation helpful? Give feedback.
I remembered previously that when I setup a Pico dev environment I had to change the Cmake Generator type. I found it documented in the Pico getting started docs:
"Now click on the Cog Wheel at the bottom of the navigation bar on the left-hand side of the interface and select
"Settings". Then in the Settings pane click on "Extensions" and the "CMake Tools configuration". Then scroll down to
"Cmake: Generator" and enter "Unix Makefiles" into the box."
Doing this resolved my issue.