2

I am doing flutter devlopement and in that there are some modules of c++. These were the automatically generated files of c++. When i open the project in vscode it shows this message in output. I have installed c++ compiler mingw64 and included path in the environment variables.

I tried changing configurations of c++ intellisense. As per this.. #include errors detected. Please update your includePath in visual studio code

Pratik Vinod
  • 21
  • 1
  • 3
  • 2
    This simply means that in your c_cpp_properties.json file you have the `compilerPath` setting `/usr/bin/gcc` and this is not correct for your computer. Simply edit the file and change the setting to wherever your compiler actually is. Since you are on Windows this will presumably be something like `"C:/msys64/mingw64/bin/g++.exe"` but obviously only you know the correct setting. – john Mar 20 '23 at 08:27
  • There might be some missing info from your comment - When I reload windows in VS Code (on Windows 10), I get 6 errors saying `[6/21/2023, 9:06:19 AM] Unable to resolve configuration with compilerPath: "C:\Tools\ARM_GCC\bin\arm-none-eabi-gcc.exe"` even though that path to my gcc compiler is correct (I can run it from cmd or powershell jus fine). – Gregory Fenn Jun 21 '23 at 08:09

0 Answers0