# Problem compiling UT source

**URL:** <https://forums.unrealengine.com/t/problem-compiling-ut-source/104759>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code\
**Created:** [January 8, 2018, 8:40pm UTC](https://forums.unrealengine.com/t/problem-compiling-ut-source/104759 "2018-01-08T20:40:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tarkas\_Bane](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Tarkas\_Bane](https://forums.unrealengine.com/u/Tarkas_Bane)\
**Post date:** [January 8, 2018, 8:40pm UTC](https://forums.unrealengine.com/t/problem-compiling-ut-source/104759/1 "2018-01-08T20:40:24Z")

</div>

I’m trying to compile the Unreal Tournament source code by following this guide:

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

When I try to build the project I get an error:

CS0103 The name ‘Properties’ does not exist in the current context UnrealControls …\UnrealTournament\Engine\Source\Programs\UnrealControls\XButton.cs 34 Active

And I get another error telling me it can’t find the UnrealControls.dll file.

This is the method in question, and it can’t resolve the Properties reference.

```
    public XButton()
    {
        InitializeComponent();

        Bitmap template = Properties.Resources.XButton;
        mXBitmap = template.Clone(new Rectangle(0, 0, template.Width, template.Height), template.PixelFormat);
        mXBitmap.MakeTransparent(Color.White);
    }

```

I’m pretty sure I followed the guide to the letter. What could be wrong?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_c130ce971](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_c130ce971](https://forums.unrealengine.com/u/anonymous_user_c130ce971)\
**Post date:** [December 21, 2018, 11:37am UTC](https://forums.unrealengine.com/t/problem-compiling-ut-source/104759/2 "2018-12-21T11:37:46Z")

</div>

Looks like you missed to run Setup.bat before running GenerateProjectFiles.bat
