# How to fix Source folder in my project?

**URL:** <https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588>\
**Category:** Platform & Builds\
**Tags:** error, package, unreal-engine, editor, packaging-projects, UE4, question\
**Created:** [March 18, 2015, 6:43pm UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588 "2015-03-18T18:43:39Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a0d22a251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a0d22a251](https://forums.unrealengine.com/u/anonymous_user_a0d22a251)\
**Post date:** [March 18, 2015, 6:43pm UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/1 "2015-03-18T18:43:39Z")

</div>

When I tried to package my project I experienced this error:

> Program.Main: ERROR: Exception in  
> AutomationTool: You are attempting to  
> compile on a machine that does not  
> have a supported compiler!

But when I deleted folder “Source” in my project, everything became okay, I could package project. But now I need this folder (I need file “ProjectName.Build.cs”). And when I return this folder and try to package project I experience the same error. How can I fix it?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_957a4452](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_957a4452](https://forums.unrealengine.com/u/anonymous_user_957a4452)\
**Post date:** [March 19, 2015, 8:50am UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/2 "2015-03-19T08:50:44Z")

</div>

Hi ,

It looks like on your machine no compiler. I wonder for what platform you package the project.  
To compile project for windows you should install Visual Studio 2013.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a0d22a251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a0d22a251](https://forums.unrealengine.com/u/anonymous_user_a0d22a251)\
**Post date:** [March 20, 2015, 6:45am UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/3 "2015-03-20T06:45:15Z")

</div>

T\_T no, I do have Visual Studio 2013. I’ve said that when I delete folder “Source” from my project folder, I can package project. That means I have compiler. But when I returned that folder I can’t compile with this error.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_957a4452](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_957a4452](https://forums.unrealengine.com/u/anonymous_user_957a4452)\
**Post date:** [March 23, 2015, 10:23am UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/4 "2015-03-23T10:23:43Z")

</div>

Sorry for delay. Can you attach txt with full package log?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a0d22a251](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a0d22a251](https://forums.unrealengine.com/u/anonymous_user_a0d22a251)\
**Post date:** [March 24, 2015, 5:59pm UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/5 "2015-03-24T17:59:32Z")

</div>

link text

---

<div class="post-metadata">

**Author:** ![wittlief\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@wittlief\_1](https://forums.unrealengine.com/u/wittlief_1)\
**Post date:** [March 27, 2015, 7:42pm UTC](https://forums.unrealengine.com/t/how-to-fix-source-folder-in-my-project/311588/6 "2015-03-27T19:42:06Z")

</div>

Hi ,

Here is [another AnswerHub thread](https://answers.unrealengine.com/questions/32135/launch-game-says-it-cannot-find-compiler.html) with a user experiencing a similar issue. His appears to have been related to incorrect environment variable setup. Can you have a look and see if any of this relates to your issue?
