Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake reports error, following installation of CMake Tools v1.11.25 #5408

Closed
BobT303 opened this issue Jun 14, 2022 · 3 comments
Closed

CMake reports error, following installation of CMake Tools v1.11.25 #5408

BobT303 opened this issue Jun 14, 2022 · 3 comments

Comments

@BobT303
Copy link

BobT303 commented Jun 14, 2022

I am running VSCode on Win10, building and running c++ on raspberry pi using gcc. Until today, everything worked fine.

The system is: Linux - 5.15.32-v7l+ - armv7l

CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.

I have tried to uninstall CMake Tools v1.11.25 but the problem persists.
Thanks

@BobT303
Copy link
Author

BobT303 commented Jun 14, 2022

Found a workaround by adding the line below to my local settings.json, then deleting the contents of./build, then rebuilding everything.

"cmake.generator": "Unix Makefiles"

It looks like the default cmake generator is not being selected. Would be great if this was fixed.

@elahehrashedi
Copy link
Contributor

Thank you for reporting this issue. Please follow the related issue from here microsoft/vscode-cmake-tools#2598.

@gregvanl
Copy link

Closing as linked to product issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants