cc1.exe:抱歉,未实现:64 位模式未编译

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

命令提示符下的错误已解决

以前,我在命令提示符下收到此错误,但已通过 :

解决

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

如何解决 VS Code 调试器的错误

现在,VS Code 调试器抛出相同的错误:

# runtime/cgo

cc1.exe: sorry, unimplemented: 64-bit mode not compiled in

exit status 2

Process exiting with code: 1

到目前为止我试过:

set PATH=C:\TDM-GCC-64\bin\;%PATH%

{
    "version": "0.2.0",
    "configurations": [],
    "environment": [{"name": "Path", "value":  "C:\TDM-GCC-64\bin;${env:Path};"}],
}

我还能尝试什么?

按照@rustyx 的建议,重新启动计算机解决了问题。我不完全知道为什么 VS 代码调试器需要重新启动才能工作。