x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

Product Version: UE 4.10
Tags:
more ▼

asked Jan 19 '16 at 03:28 PM in Bug Reports

avatar image

Aydın Okutanoğlu
21 1 1

avatar image Matthew J ♦♦ STAFF Jan 19 '16 at 09:21 PM

Hello Aydın 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.

avatar image Aydın Okutanoğlu Jan 20 '16 at 11:03 AM

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 ==========

avatar image Aydın Okutanoğlu Jan 20 '16 at 01:09 PM

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

Thanks.link text

log.txt (1.1 kB)
avatar image Matthew J ♦♦ STAFF Jan 20 '16 at 02:20 PM

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?

avatar image Matthew J ♦♦ STAFF Jan 26 '16 at 07:00 PM

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.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Jan 27 '16 at 02:20 PM

avatar image

Aydın Okutanoğlu
21 1 1

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question