# An error occurs when opening solution UE.sln 4.10

**URL:** <https://forums.unrealengine.com/t/an-error-occurs-when-opening-solution-ue-sln-4-10/341226>\
**Category:** Pipeline & Plugins\
**Tags:** twitch, UE4-10, build, unreal-engine, Visual-Studio, question\
**Created:** [December 12, 2015, 6:39am UTC](https://forums.unrealengine.com/t/an-error-occurs-when-opening-solution-ue-sln-4-10/341226 "2015-12-12T06:39:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![newsdu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@newsdu](https://forums.unrealengine.com/u/newsdu)\
**Post date:** [December 12, 2015, 6:39am UTC](https://forums.unrealengine.com/t/an-error-occurs-when-opening-solution-ue-sln-4-10/341226/1 "2015-12-12T06:39:50Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![akpil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@akpil](https://forums.unrealengine.com/u/akpil)\
**Post date:** [March 21, 2016, 2:24am UTC](https://forums.unrealengine.com/t/an-error-occurs-when-opening-solution-ue-sln-4-10/341226/2 "2016-03-21T02:24:01Z")

</div>

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.
