An error occurs when opening solution UE.sln 4.10

Hi, I’m trying to build UE full source.

My steps are,

  1. Install [ Windows 10 - 64bit ].(No upgrade. Clean install)
  2. Install [ Visual Studio 2015 Community ].
  3. Clone [ UnrealEngine ] from GitHub.
  4. Execute [ Setup.bat ] in UnrealEngine folder.
  5. Execute [ GenerateProjectFiles.bat ] in UnrealEngine folder.
  6. Try to open [ UE.sln ] in UnrealEngine folder.
  7. An error always occurs. No choice but to close the solution.

I checked sources several times, I found a source that cause.

UnrealEngine\Engine\Plugins\Runtime\TwitchLiveStreaming\Source\TwitchLiveStreaming\TwitchLiveStreamingModule.h

Content is simple.

#ifndef WITH_TWITCH

#error Expecting WITH_TWITCH to be defined to either 0 or 1 in TwitchLiveStreaming.Build.cs
#define WITH_TWITCH=1	// For IntelliSense to be happy

#endif

Problem is only “equal” keyword.

#define WITH_TWITCH=1 => error occurs on open solution.

#define WITH_TWITCH 1 => no problem on open solution.

#define WITH_TWITCH => no problem on open solution.

But, second problem is that the solution build to fail because “twitchsdk.h” file is not found .

I try to download twitch sdk, but it’s project is closed now.

How to build UE 4.10 solution perfectly? tell me anybody…

I had a similar situation. In my case, not only “TwitchLiveStreamingModule.h” but also all “.cpp" and ".h” files in “UnrealEngine\Engine\Plugins\Runtime\TwitchLiveStreaming\Source\TwitchLiveStreaming”. So, I remove “TwitchLiveStreaming” directory from “UnrealEngine\Engine\Plugins\Runtime” after that I can use well (maybe I couldn’t use TwitchLiveStreaming in unreal engine source cord).
ps. Sorry about poor English.