# Missing Main error on clean and build?

**URL:** <https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633>\
**Category:** Glider (IDE)\
**Created:** [September 18, 2014, 1:07am UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633 "2014-09-18T01:07:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsumwork](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/f05b48/32.png) [@gsumwork](https://forums.solar2d.com/u/gsumwork)\
**Post date:** [September 18, 2014, 1:07am UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/1 "2014-09-18T01:07:59Z")

</div>

I am using Glider version 2 and I constantly receive a Missing Main error, “could not find main.lua” when I try and clean and build. The work around is to just keep clicking clean and build until it goes away. It’s really maddening to deal with. I have the paid version of Glider and according to the Updates menu I have the latest build. I’ve tried restarting Glider, sometimes it works, sometimes it doesn’t. I can’t seem to find a pattern.

I’m using Glider on Windows 7. Any suggestions?

Other than this pesky problem works great.

Thanks

---

<div class="post-metadata">

**Author:** ![M.Y.developers](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@M.Y.developers](https://forums.solar2d.com/u/M.Y.developers)\
**Post date:** [September 18, 2014, 6:36pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/2 "2014-09-18T18:36:24Z")

</div>

Hello gsumwork,

Sorry for the inconvenience. Does the latest update say Glider v. 2.1.2? You can see it in the “Whats New” window. &nbsp;Also, please set your main project by going to run-\>set main project and let us know if this works.

Thanks,

M.Y. Developers

---

<div class="post-metadata">

**Author:** ![gsumwork](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/f05b48/32.png) [@gsumwork](https://forums.solar2d.com/u/gsumwork)\
**Post date:** [September 22, 2014, 5:18pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/3 "2014-09-22T17:18:20Z")

</div>

Under What’s new I am showing the latest build as&nbsp;Glider v 2.0.3. However, when I check for updates it states no new ones available?

Also I will try setting the Main Project and see if that helps.

---

<div class="post-metadata">

**Author:** ![M.Y.developers](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@M.Y.developers](https://forums.solar2d.com/u/M.Y.developers)\
**Post date:** [September 23, 2014, 10:19pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/4 "2014-09-23T22:19:31Z")

</div>

Hello gsumwork,

Please go to Tools -\>Plugins-\>Settings and click “Add” on the right side. Then, paste this&nbsp;&nbsp;[http://www.mydevelopersgames.com/site/Glider/v2/v202/updates.xml](http://www.mydevelopersgames.com/site/Glider/v2/v202/updates.xml "External link")&nbsp;into the url field and “Name” as Glider and click “Ok” . You should now see the updates. Once Glider is updated, the latest version should say Glider v 2.1.2.&nbsp;If not, please re-download and try the above steps again. Please let us know if this works.

Regards,

M.Y. Developers

---

<div class="post-metadata">

**Author:** ![M.Y.developers](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@M.Y.developers](https://forums.solar2d.com/u/M.Y.developers)\
**Post date:** [September 18, 2014, 6:36pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/5 "2014-09-18T18:36:24Z")

</div>

Hello gsumwork,

Sorry for the inconvenience. Does the latest update say Glider v. 2.1.2? You can see it in the “Whats New” window. &nbsp;Also, please set your main project by going to run-\>set main project and let us know if this works.

Thanks,

M.Y. Developers

---

<div class="post-metadata">

**Author:** ![gsumwork](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/g/f05b48/32.png) [@gsumwork](https://forums.solar2d.com/u/gsumwork)\
**Post date:** [September 22, 2014, 5:18pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/6 "2014-09-22T17:18:20Z")

</div>

Under What’s new I am showing the latest build as&nbsp;Glider v 2.0.3. However, when I check for updates it states no new ones available?

Also I will try setting the Main Project and see if that helps.

---

<div class="post-metadata">

**Author:** ![M.Y.developers](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/m/53a042/32.png) [@M.Y.developers](https://forums.solar2d.com/u/M.Y.developers)\
**Post date:** [September 23, 2014, 10:19pm UTC](https://forums.solar2d.com/t/missing-main-error-on-clean-and-build/328633/7 "2014-09-23T22:19:31Z")

</div>

Hello gsumwork,

Please go to Tools -\>Plugins-\>Settings and click “Add” on the right side. Then, paste this&nbsp;&nbsp;[http://www.mydevelopersgames.com/site/Glider/v2/v202/updates.xml](http://www.mydevelopersgames.com/site/Glider/v2/v202/updates.xml "External link")&nbsp;into the url field and “Name” as Glider and click “Ok” . You should now see the updates. Once Glider is updated, the latest version should say Glider v 2.1.2.&nbsp;If not, please re-download and try the above steps again. Please let us know if this works.

Regards,

M.Y. Developers
