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.