i use to CMake to like this satie here
but it is error
how to fix it
IMHO Off topic : install problem
Install Visual Studio?
sometimes when you install VS only IDE is installed. You need to install c++ too
i think so too
i try it
it work!
thank you very much!
Having already installed VSCode, do I need to install Visual Studio too? Aren’t these two programs where only one needs to be installed?
VSCode is “just” an editor. it does not bring with it any C++ toolchains (compilers).
You might get away with installing an appropriate extension to VSCode. see below.
the usual procedure for building C++ programs on Windows is to get the installer for Visual Studio, e.g. the free “community edition”, and use that to at least install the MSVC toolchain (microsoft C++ compiler), even if you don’t want to install anything else (you can uncheck installing of Visual Studio itself). this is independent of whether you’ll use VS, or VSCode, or any other editor, or none at all and you’d just want to build some existing code from the command line.
if you have installed MSVC, either “standalone” or as part of an install of VS, then CMake will find it and allow you to choose it for generating build files.
VSCode, with the right extension/extension pack (e.g. the “C/C++ Extension Pack”), will also be able to use the installed CMake and MSVC for autocompletion and other stuff.