Advertisement

Problem building with VS Code & MSVC

Started by July 21, 2019 02:23 AM
1 comment, last by Endurion 5 years, 4 months ago

Hi

I followed the guide here https://www.udemy.com/unrealcourse/ and here https://code.visualstudio.com/docs/cpp/config-msvc to setup the C++ extension, paths, etc; but when I build the output shows:


> Executing task: cl.exe /EHsc /Zi /Fe: server.exe main.cpp <

'D:\Microsoft' is not recognized as an internal or external command,
operable program or batch file.

d:\Projects\game>

My compilerPath is set to:


"D:\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.21.27702\\bin\\Hostx64\\x64\\cl.exe"

EDIT:

The only solution I found was to change the compilerPath to not use spaces but that creates other problems elsewhere. Is there another way?

Why not use forward slashes like the tutorial shows?

🙂🙂🙂🙂🙂<←The tone posse, ready for action.

Advertisement

Usually a space in a path requires using quotes in front and at the end of the path string.

Fruny: Ftagn! Ia! Ia! std::time_put_byname! Mglui naflftagn std::codecvt eY'ha-nthlei!,char,mbstate_t>

This topic is closed to new replies.

Advertisement