microsoft / vscode-cmake-tools

CMake integration in Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=vector-of-bool.cmake-tools
MIT License
1.43k stars 429 forks source link

I dont now what is this error #3834

Open ArashGamer23 opened 1 week ago

ArashGamer23 commented 1 week ago

Brief Issue Summary

it sais Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable.

CMake Tools Diagnostics

No response

Debug Log

[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT
[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT
[proc] The command: make --version failed with error: Error: spawn make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[proc] The command: ninja --version failed with error: Error: spawn ninja ENOENT
[proc] The command: ninja-build --version failed with error: Error: spawn ninja-build ENOENT
[proc] The command: make --version failed with error: Error: spawn make ENOENT
[main] Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json, your Kit configuration or PATH variable. Error: No usable generator found.
[main] Configuring project: DDNetPP

Additional Information

No response

v-frankwang commented 1 week ago

@ArashGamer23 Thank you for reporting this issue. Regarding this issue, we tried to reproduce it using a simple demo project but were not able to reproduce it, in order to investigate further, could you please provide us with a simple project that can reproduce this issue, we look forward to your feedback.