Error building C++ New Project

Got Visual Studio 2015 Installed with:
Programming Languages > Visual C++
Common Tools > Visual Studio Extensibility Tools Update 3

The UE4 project im trying to build has the following features:
C++ > Basic Code + No Starter Content


Once I click “Create Project” in the UE Project Browser, the following error message appears:

The project could not be compiled. Would you like to open it in Visual Studio?

Running C:/Program Files (x86)/Epic Games/4.13/Engine/Binaries/DotNET/UnrealBuildTool.exe Scene_01 Development Win64 -project=“C:/Users/user/Desktop/Unreal Course/Scene_01/Scene_01.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for Scene_01Editor
Running UnrealHeaderTool “C:\Users\user\Desktop\Unreal Course\Scene_01\Scene_01.uproject” “C:\Users\user\Desktop\Unreal Course\Scene_01\Intermediate\Build\Win64\Scene_01Editor\Development\Scene_01Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for Scene_01Editor in 3.2821939 seconds
@progress pop
Performing 7 actions (4 in parallel)
[2/7] Resource PCLaunch.rc
[3/7] Resource ModuleVersionResource.rc.inl
PCH.Scene_01.h.cpp
c1xx: fatal error C1083: Cannot open compiler intermediate file: ‘C:\Users\user\Desktop\Unreal Course\Scene_01\Intermediate\Build\Win64\UE4Editor\Development\Scene_01\Scene_01.h.pch’: No such file or directory
ERROR: UBT ERROR: Failed to produce item: C:\Users\user\Desktop\Unreal Course\Scene_01\Binaries\Win64\UE4Editor-Scene_01.dll
Total build time: 11.33 seconds


I open it in Visual Studio and when I try to build it there I get the following error:

1>------ Build started: Project: Scene_01, Configuration: Development_Editor x64 ------
1> Performing full C++ include scan (building a new target)
1> Creating makefile for Scene_01Editor (no existing makefile)
1> Performing 5 actions (4 in parallel)
1> PCH.Scene_01.h.cpp
1>c1xx : fatal error C1083: Cannot open compiler intermediate file: ‘C:\Users\user\Desktop\Unreal Course\Scene_01\Intermediate\Build\Win64\UE4Editor\Development\Scene_01\Scene_01.h.pch’: No such file or directory
1>ERROR : UBT error : Failed to produce item: C:\Users\user\Desktop\Unreal Course\Scene_01\Binaries\Win64\UE4Editor-Scene_01.dll
1> Total build time: 6.89 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ““C:\Program Files (x86)\Epic Games\4.13\Engine\Build\BatchFiles\Build.bat” Scene_01Editor Win64 Development “C:\Users\user\Desktop\Unreal Course\Scene_01\Scene_01.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Anyone knows how I can fix this? Thanks in advance!!

Update: Problem solved.

Conflict with my Win10 User folder name containing special characters and messing up with UE4 reading the directory path.

*For clarification, all instances of the user folder name I provided in the error messages in the original post was changed to “user” for privacy.

Can you more accurately explain what were you do? i have same problem as you

I figured it out.
In my case, the file in which my project was had the following name :
E:\Jeux Vidéos\Unreal Engine 4\Stealth Game start\StealthGameProjectBase418\StealthGame

Actually, Visual Studio did not recognize the “é” special character so it was loading as
“E:\Jeux Vid&os\Unreal Engine 4\Stealth Game start\StealthGameProjectBase418\StealthGame”
and so could not find the directory.

Hope this will help ^^

Thank you, I faced the same issue. My output directory contains Turkish special characters and build failed. Everything works fine after I changed output directory.