4.15 Compile Problems - "inconsistent with precompiled header"

Hey guys,

I’m having a lot of trouble getting UE4 to compile after syncing to 4.15. I keep getting the following error on engine files. The specific file changes each time I do a clean re-build, but the error remains the same.



UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\EngineMessages\Module.EngineMessages.cpp : error C2855: command-line option '/source-charset' inconsistent with precompiled header
UnrealEngine\Engine\Intermediate\Build\Win64\UE4Editor\Development\EngineMessages\Module.EngineMessages.cpp : error C2855: command-line option '/execution-charset' inconsistent with precompiled header


This is compiling the latest release version in Visual Studio 2015 Update 3, Windows 10 64bit

Any help is much appreciated

Resolved it locally. It appears I was building the solution not the project, causing modules to sometimes conflict when compiling the generated headers.