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"

UE 4.10.4 Compiling Error

So I'm running VS2015 Update 3.

I ran both Setup and GenerateProjectFiles file, no issues.

When I press F5 in Visual studio I get presented with about 23-25 errors (Listed at the bottom).

How do I fix this as it won't compile due to these errors.

Thanks

---------------------- ERRORS ------------------------

Severity Code Description Project File Line Suppression State

Error C4599 '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.2_of_7.cpp:

error C4599: '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.6_of_7.cpp:

error C4599: '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.4_of_7.cpp:

error C4599: '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.3_of_7.cpp:

error C4599: '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled header UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.5_of_7.cpp 1

Error C4599 '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.1_of_7.cpp:

error C4599: '/IM:\Program Files\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 46 does not match precompiled header UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.7_of_7.cpp 1

Error C4605 '/DORIGINAL_FILE_NAME="UnrealHeaderTool-Json.dll"' specified on current command line, but was not specified when precompiled header was builtU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp:

error C4605: '/DORIGINAL_FILE_NAME="UnrealHeaderTool-Projects.dll"' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp 1

Error C4605 '/DJSON_API=DLLEXPORT' specified on current command line, but was not specified when precompiled header was builtU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp:

error C4605: '/DPROJECTS_API=DLLEXPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp 1

Error C4605 '/DJSON_API=DLLIMPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp 1

Error C4599 '/IU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Source\Runtime\Json\Private': command line argument number 2 does not match precompiled headerU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp:

error C4599: '/IU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Source\Runtime\Projects\Private': command line argument number 2 does not match precompiled header UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp 1

Error C4605 '/D_WINDLL' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4605 '/DORIGINAL_FILE_NAME="UnrealHeaderTool-ScriptGeneratorPlugin.dll"' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4605 '/DSCRIPTGENERATORPLUGIN_API=DLLEXPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4605 '/DPROJECTS_API=DLLIMPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4605 '/DJSON_API=DLLIMPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4599 '/IU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Source\Programs\UnrealHeaderTool\Public': command line argument number 2 does not match precompiled header UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Plugins\ScriptGeneratorPlugin\Intermediate\Build\Win64\UnrealHeaderTool\Development\ScriptGeneratorPlugin\Module.ScriptGeneratorPlugin.cpp 1

Error C4605 '/DORIGINAL_FILE_NAME="UnrealHeaderTool.exe"' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp 1

Error C4605 '/DUNREALHEADERTOOL_API=' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp 1

Error C4605 '/DJSON_API=DLLIMPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp 1

Error C4605 '/DPROJECTS_API=DLLIMPORT' specified on current command line, but was not specified when precompiled header was built UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp 1

Error C4599 '/IU:\Epic Games\UnrealEngine-4.10.4-release\Engine\Source\Runtime\Launch\Private': command line argument number 2 does not match precompiled header UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp 1

Error Failed to produce item: U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll UE4 U:\Epic Games\UnrealEngine-4.10.4-release\Engine\Intermediate\ProjectFiles\ERROR 1

Error MSB3073 The command "....\Build\BatchFiles\Build.bat UE4Editor Win64 Development -waitmutex" exited with code -1. UE4 C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets 41

Product Version: UE 4.10
Tags:
more ▼

asked Sep 10 '16 at 09:12 PM in Installation & Setup

avatar image

Kuuwahi
45 7 13 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello Kuuwahi,

This could be related to having Update 3. Update 3 was released during 4.12's release cycle and, as such, we can't guarantee that older versions of the engine will be able to support it. Unfortunately, as far as I know, there isn't a way to revert from Update 3. I would suggest upgrading to at least 4.11.2 with this QFE or to 4.12.5 or 4.13 which both have native support for Update 3.

more ▼

answered Sep 12 '16 at 05:17 PM

avatar image Kuuwahi Sep 12 '16 at 06:44 PM

Ello Matthew,

Yeah, I thought as much. I have raised the notion for upgrading from 4.10 to the latest versions with the project lead.

Thank you for the confirmation on this issue.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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