Could not create c++ project

During i create a new c++ project (with basic code template and Desktop, Maximum Quality and with Starter Content configuration I get following error. When I try with 4.9 it also gives the same error. What should I do? My operating systems is Windows 8.1 Pro.

Thanks.

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

Running C:/Program Files (x86)/Epic Games/4.10/Engine/Binaries/DotNET/UnrealBuildTool.exe Test Development Win64 -project=“D:/Unreal/Test/Test.uproject” -rocket -editorrecompile -progress -noubtmakefiles -2015
@progress push 5%
Parsing headers for TestEditor
Running UnrealHeaderTool “D:/Unreal/Test/Test.uproject” “D:\Unreal\Test\Intermediate\Build\Win64\TestEditor\Development\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -rocket -installed
Reflection code generated for TestEditor in 5,5043263 seconds
@progress pop
Fatal Error: Invalid/conflicting options specified: StopOnErrors

ERROR: UBT ERROR: Failed to produce item: D:\Unreal\Test\Binaries\Win64\UE4Editor-Test.dll
XGE execution time: 23,64 seconds

Hello Okutanoğlu,

This type of error normally points toward an issue with the Visual Studio installation. To be sure however, could you please accept when it asks you to open it in Visual Studio? When you do, if the errors aren’t automatically showing in Visual Studio, build the project by pressing Ctrl+Shift+B and then they should reappear. After doing that, you should be able to select the Output tab at the bottom. Can you copy/paste all of the output log into a .txt file and upload it? It should show more errors that may point to the particular problem.

Thanks for your reply. Below is the visual studio build output (I first clean the project and then build it)

1>------ Build started: Project: Test, Configuration: Development_Editor x64 ------
1> Creating makefile for TestEditor (no existing makefile)
1> Performing full C++ include scan (no include cache file)
1> Parsing headers for TestEditor
1> Running UnrealHeaderTool “D:\Unreal\Test\Test.uproject” “D:\Unreal\Test\Intermediate\Build\Win64\TestEditor\Development\UnrealHeaderTool.manifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -rocket -installed
1> Reflection code generated for TestEditor in 5,6043417 seconds
1>EXEC : Fatal error : Invalid/conflicting options specified: StopOnErrors
1>
1>
1>ERROR : UBT error : Failed to produce item: D:\Unreal\Test\Binaries\Win64\UE4Editor-Test.dll
1> XGE execution time: 18,00 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ““C:\Program Files (x86)\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat” TestEditor Win64 Development “D:\Unreal\Test\Test.uproject” -rocket -waitmutex -2015” exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I also attach log file containing the same output. Also note that my other regular visual studio projects are work fine.

Thanks.link text

Thank you for providing that output, Aydin. I’ve never seen the error before myself but it seems like a problem with your settings in Visual Studio conflicting with either another setting in Visual Studio or settings in the UHT.

Do you have any previous versions of Visual Studio installed? From looking into other reports of the error, it seems like older versions of Visual Studio sometimes causes this issue. If so, could you try uninstalling those to see if that fixes it? If not, could you try reinstalling this version of Visual Studio itself?

We haven’t heard from you in a while, Aydin. Are you still experiencing these issues? If so, have you tried what I suggested in my previous comment? If so, what were the results? In the meantime, I’ll be marking this issue as resolved for tracking purposes.

Hello, actually I could not solve the problem. I try to reinstall visual studio but it not solve the problem. So I reinstall windows and it solves the problem.