lvgl / lv_port_pc_visual_studio

Visual Studio projects for LVGL embedded graphics library. Recommended on Windows. Linux support with Wayland is work in progress.
MIT License
583 stars 296 forks source link

Failed to locate "CL.exe" #74

Open focussing opened 3 months ago

focussing commented 3 months ago

Hi! I did exactly what is described in the readme, when I press the Local Windows debugger I get this message Failed to locate "CL.exe" This is my Visual Studio info:

Microsoft Visual Studio Community 2022
Version 17.10.1
VisualStudio.17.Release/17.10.1+34928.147
Microsoft .NET Framework
Version 4.8.09037

Installed Version: Community

Visual C++ 2022   00482-90000-00000-AA286
Microsoft Visual C++ 2022

ASP.NET and Web Tools   17.10.338.1105
ASP.NET and Web Tools

Azure App Service Tools v3.0.0   17.10.338.1105
Azure App Service Tools v3.0.0

C# Tools   4.10.0-3.24270.2+e8f775c1d8a73dee7ad02408712d714251e708ea
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

GitHub Copilot   0.2.889.30432
GitHub Copilot is an AI pair programmer that helps you write code faster and with less work.

Linux Core Dump Debugging   1.0.9.34902
Enables debugging of Linux core dumps.

Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines

NuGet Package Manager   6.10.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/

TypeScript Tools   17.0.30327.2001
TypeScript Tools for Microsoft Visual Studio

Visual Basic Tools   4.10.0-3.24270.2+e8f775c1d8a73dee7ad02408712d714251e708ea
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.

Visual C++ for Linux Development   1.0.9.34902
Visual C++ for Linux Development

Visual F# Tools   17.10.0-beta.24228.1+dd749058c91585e9b5dae62b0f8df892429ee28f
Microsoft Visual F# Tools

Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.
sec13b commented 3 months ago

go to cmd : cd c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\ after see 344197223-dc645338-4418-4258-8dd4-d243dee10026

at mine is in all but i select 14.38.33130 : "c:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe"

focussing commented 3 months ago

This is not the way to go. Fuzzing around with a command window is not done. Please fix the Visual Studio environment as described in the readme to prevent the message I get as described above.