Running F:/New folder (5)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“C:/Users/ali12/Documents/Unreal Projects/MyProject3/MyProject3.uproject” -game -rocket -progress
Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
Visual C++ 2015 toolchain does not appear to be correctly installed. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015.
Discovering modules, targets and source code for project…
UnrealBuildTool Exception: ERROR: Failed to find cl.exe in the default toolchain directory C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools../…/VC/bin/x86_amd64\cl.exe. Please verify that “Common Tools for Visual C++ 2015” was selected when installing Visual Studio 2015
You find the solution here:
The problem is that the Common Tools for Visual C++ 2015 are not installed on your pc. By modifying your visual studio installation you can add it.
tnx bro…
but new this error
Running F:/New folder (5)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject4 Development Win64 -project=“C:/Users/ali12/Documents/Unreal Projects/MyProject4/MyProject4.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for MyProject4Editor
Running UnrealHeaderTool “C:\Users\ali12\Documents\Unreal Projects\MyProject4\MyProject4.uproject” “C:\Users\ali12\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\MyProject4Editor\Development\MyProject4Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject4Editor in 10.1258397 seconds
@progress pop
Performing 9 actions (2 in parallel)
[2/9] Resource PCLaunch.rc
PCH.MyProject4.h.cpp
[3/9] Resource ModuleVersionResource.rc.inl
MyProject4.generated.cpp
MyProject4GameMode.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\UE4Editor\Inc\MyProject4\MyProject4.generated.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled headerC:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4GameMode.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyProject4Character.cpp
MyProject4PlayerController.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4PlayerController.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4Character.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyProject4.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
ERROR: UBT ERROR: Failed to produce item: C:\Users\ali12\Documents\Unreal Projects\MyProject4\Binaries\Win64\UE4Editor-MyProject4.dll
Total build time: 83.14 seconds
The “command line argument number 261 does not match precompiled header” error usualy means that you have an outdated version of your precompiled headers. If you delete them by cleaning your c++ project the engine will generate new and correct precompiled headers.
Clean your c++ project in visual studio by clicking on your solution and then Clean Solution:
After this recompile your project and it should work correctly. This can be done by clicking Build Solution in the same menu.
tnx bro…
but new this error
Running F:/New folder (5)/Epic Games/4.12/Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject4 Development Win64 -project=“C:/Users/ali12/Documents/Unreal Projects/MyProject4/MyProject4.uproject” -editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE
@progress push 5%
Parsing headers for MyProject4Editor
Running UnrealHeaderTool “C:\Users\ali12\Documents\Unreal Projects\MyProject4\MyProject4.uproject” “C:\Users\ali12\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\MyProject4Editor\Development\MyProject4Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -installed
Reflection code generated for MyProject4Editor in 10.1258397 seconds
@progress pop
Performing 9 actions (2 in parallel)
[2/9] Resource PCLaunch.rc
PCH.MyProject4.h.cpp
[3/9] Resource ModuleVersionResource.rc.inl
MyProject4.generated.cpp
MyProject4GameMode.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Intermediate\Build\Win64\UE4Editor\Inc\MyProject4\MyProject4.generated.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled headerC:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4GameMode.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyProject4Character.cpp
MyProject4PlayerController.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4PlayerController.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4Character.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
MyProject4.cpp
C:\Users\ali12\Documents\Unreal Projects\MyProject4\Source\MyProject4\MyProject4.cpp: error C4599: ‘/IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE’: command line argument number 261 does not match precompiled header
ERROR: UBT ERROR: Failed to produce item: C:\Users\ali12\Documents\Unreal Projects\MyProject4\Binaries\Win64\UE4Editor-MyProject4.dll
Total build time: 83.14 seconds