CLion Can't Find Visual Studio Compiler Even Though It's Installed

Viewed 1850

I'm setting up my CLion compiler to use Visual Studio, but it says that the folder is not found.enter image description here But the folder does exist.enter image description here Even when I manually selected the Visual Studio folder, it says it doesn't exist. What can I do to fix this?

1 Answers

Had same problem, in my case the C++/C build tools got uninstalled.

I resolved the issue by running Visual Studio Installer, In Workloads Tab tick "Desktop Development with C++", click install. After installation restart your computer.

Related