in vs vex when trying to download code
Build Failed: Make process closed with exit code: 2
Rebuild Failed: make process closed with exit code : 2
i tried this also on a blank template and got the same error.
in vs vex when trying to download code
Build Failed: Make process closed with exit code: 2
Rebuild Failed: make process closed with exit code : 2
i tried this also on a blank template and got the same error.
Is this all of the message? as if there is an error it should tell you what that error is for example a define
thread o(DoSomething);
thread o(DoSomething);
In the message it says “redefinition of o”. Is there any information included other than that?
try restarting the the window
i checked the files and there is nothing in the build folder section. its just empty
Can you post the error here? And maybe your code.
Build Failed: Make process closed with exit code: 2
Rebuild Failed: make process closed with exit code : 2
[2/14/2024, 1:28:40 PM] Unable to resolve configuration with compilerPath: “c:\Users\student\AppData\Roaming\Code\User\globalStorage\vexrobotics.vexcode\tools\cpp\toolchain_win32\clang\bin\clang”
[2/14/2024, 1:28:41 PM] Unable to resolve configuration with compilerPath: “c:\Users\student\AppData\Roaming\Code\User\globalStorage\vexrobotics.vexcode\tools\cpp\toolchain_win32\clang\bin\clang”
Could you show us your c_cpp_properties.json file?
(its in the .vscode folder)
Here is mine
{
"env": {
"vex_compilerPath": "${config:vexrobotics.vexcode.Cpp.Toolchain.Path}\\clang\\bin\\clang",
"vex_sdkPath": "${config:vexrobotics.vexcode.Cpp.Sdk.Home}\\V5\\V5_20220726_10_00_00\\vexv5",
"vex_gcc": "${vex_sdkPath}/gcc/include/c++/4.9.3",
"vex_sdkIncludes": [
"${vex_sdkPath}/clang/8.0.0/include/**",
"${vex_gcc}/**",
"${vex_gcc}/arm-none-eabi/armv7-arm/thumb",
"${vex_sdkPath}/gcc/include",
"${vex_sdkPath}/include/**",
"${workspaceFolder}/include/**",
"${workspaceFolder}/src/**"
]
},
"configurations": [
{
"name": "Win32",
"includePath": [
"${vex_sdkIncludes}",
"${workspaceFolder}"
],
"compilerPath": "${vex_compilerPath}",
"cStandard": "gnu99",
"cppStandard": "gnu++11",
"intelliSenseMode": "windows-clang-x86"
},
{
"name": "Mac",
"includePath": [
"${vex_sdkIncludes}"
],
"compilerPath": "${vex_compilerPath}",
"cStandard": "gnu99",
"cppStandard": "gnu++11",
"intelliSenseMode": "macos-clang-x86"
},
{
"name": "Linux",
"includePath": [
"${vex_sdkIncludes}"
],
"compilerPath": "",
"cStandard": "gnu99",
"cppStandard": "gnu++11",
"intelliSenseMode": "linux-clang-x86"
}
],
"version": 4
}
Is this a school or personal computer ? It feels like you don’t have correct permissions to run the build system. We have had some issues with new installs with VSCode version 1.86 in windows, was it a recent install ?
yes its happening on both school and home pc school no admin home yes admin
it’s also the newest version of vs
Then my assumption is that you have run into this issue.
so i get to wait and i cant do anything. but i got a comp in a few days lovely.
Blame Microsoft.
you could install vscode 1.85 (and disable updates) and then remove the
c:\Users\student\AppData\Roaming\Code\User\globalStorage\vexrobotics.vexcode
folder which would cause the extension to download everything again.
and it will still work for a laptop without admin that my school runs? if i remove everything?
Changelog | Visual Studio Marketplace
they have a new update 0.2.1
but i still get
[2/15/2024, 1:03:59 PM] Unable to resolve configuration with compilerPath: “c:\Users\student\AppData\Roaming\Code\User\globalStorage\vexrobotics.vexcode\tools\cpp\toolchain_win32\clang\bin\clang”
[2/15/2024, 1:03:59 PM] Unable to resolve configuration with compilerPath: “c:\Users\student\AppData\Roaming\Code\User\globalStorage\vexrobotics.vexcode\tools\cpp\toolchain_win32\clang\bin\clang”
and this is on my school windows laptop without admin.
Did you reload vscode after installing the update?
yeah i uninstalled and removed everything and still getting that error in c/c++ config warnings