Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 98612

Unable to determine what CMake generator to use. Please install or configure a preferred generator, or update settings.json

$
0
0

[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.

I keep getting that message for some unknown reason.

I have installed:

  • Visual Studio Code
  • MinGw
  • CMake

Yet, I have no idea why I keep getting this error. I am trying to configure a CMakeLists.txt file, so that I can make this project more portable, and so that it can be compiled under Linux and MAC OSX as well, I am working from a Windows Desktop Machine.

EDIT: Re: Comments

PATH=C:\MinGW\bin -- was added in the beginning to the Windows Environment Variables.

EDIT: Installed everything, and stillenter image description here


Viewing all articles
Browse latest Browse all 98612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>