PROS VSCode Compiler Configuration Error

I have been using VSCode with PROS for the entirety of this season. Recently however (Thursday 2/22/24), when I opened VSCode the terminal gave this message Unable to resolve configuration with compilerPath "c:\Users\<My Name>\AppData\Roaming\Code\User\globalStorage\sigbots.pros\install\pros-toolchain-windows\usr\bin\arm-none-eabi-g++". Using "cl.exe" instead. I did not change anything for this to happen. I’ve uninstalled VSCode and PROS twice (including deleting every folder on my system related to them, such as in AppData/Roaming), made a new project, installed gcc with MinGW64, and added the above file to my PATH environment. I’m using Windows 10. Here’s my c_cpp_properties.json file

{
  "configurations": [
    {
      "name": "PROS Project",
      "includePath": [
        "${workspaceFolder}/**",
        "c:\\Users\\<Name>\\Documents\\robotics\\include"
      ],
      "defines": [
        "_DEBUG",
        "UNICODE",
        "_UNICODE"
      ],
      "compilerPath": "c:\\Users\\<Name>\\AppData\\Roaming\\Code\\User\\globalStorage\\sigbots.pros\\install\\pros-toolchain-windows\\usr\\bin\\arm-none-eabi-g++",
      "cStandard": "gnu11",
      "cppStandard": "gnu++20",
      "intelliSenseMode": "gcc-arm",
      "compileCommands": "c:\\Users\\<Name>\\Documents\\robotics\\compile_commands.json",
      "browse": {
        "path": [
          "c:\\Users\\<Name>\\Documents\\robotics"
        ],
        "limitSymbolsToIncludedHeaders": true,
        "databaseFilename": ""
      }
    }
  ],
  "version": 4
}

I’ve read about similar problems on various forums, including this one, and none of the solutions worked. The impact on my code is a lack of C++ functionality, such as IntelliSense and the STL, and a huge amount of errors in every file. VSCode and PROS are up to date.

Microsoft changed something in the C++ extension for 1.19.4 that has a compatibility issue with the c_cpp_properties file for PROS , just rollback to an earlier version, 1.18.5 for example.

4 Likes

How do I rollback the version? I can’t see any option to use a previous version?

Use the dropdown menu from the uninstall button.

3 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.