Closed liukai234 closed 3 years ago
It cannot unrecognize with spaces in path For example D:\Program Files to D:\Program:
> Executing task: D:\Program Files\mingw64\bin\make.exe build --file=c:\Users\lk234\.vscode\extensions\franneck94.c-cpp-runner-1.1.5\templates\Makefile --directory=c:\Users\lk234\Desktop\nowcoder COMPILATION_MODE=Debug EXECUTABLE_NAME=outDebug.exe LANGUAGE_MODE=Cpp CPP_COMPILER=D:\Program Files\mingw64\bin\g++.exe ENABLE_WARNINGS=1 WARNINGS_AS_ERRORS=0 WARNINGS="-Wall -Wextra -Wpedantic" < D:\Program : 无法将“D:\Program”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1 + D:\Program Files\mingw64\bin\make.exe build --file=c:\Users\lk234\.vs ... + ~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (D:\Program:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
If do not modify path, How to solve this problem?
You could try the 'experimental' setting of the extension. There makefile is not used (makefile cant work with spaces in the path)
It cannot unrecognize with spaces in path For example D:\Program Files to D:\Program: