# How to make wokring build for Windows?

**URL:** <https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112>\
**Category:** Win32 Desktop\
**Created:** [July 1, 2019, 3:48pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112 "2019-07-01T15:48:13Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shhekoldin.vadim2411](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/eb8c5e/32.png) [@shhekoldin.vadim2411](https://forums.solar2d.com/u/shhekoldin.vadim2411)\
**Post date:** [July 1, 2019, 3:48pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/1 "2019-07-01T15:48:13Z")

</div>

I made a build of the game from the first guide, but when I want to run the .exe file, I get “The system can not find the file specified”.&nbsp;I tried to change the screen resolution while creating the object, tried to change the event from “touch” to “mouse”, but no any result…((((

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [July 3, 2019, 4:04pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/2 "2019-07-03T16:04:55Z")

</div>

Can you provide more details?

---

<div class="post-metadata">

**Author:** ![shhekoldin.vadim2411](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/eb8c5e/32.png) [@shhekoldin.vadim2411](https://forums.solar2d.com/u/shhekoldin.vadim2411)\
**Post date:** [July 8, 2019, 9:49am UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/3 "2019-07-08T09:49:16Z")

</div>

I just did everything like here&nbsp;[https://docs.coronalabs.com/guide/programming/01/index.html](https://docs.coronalabs.com/guide/programming/01/index.html)&nbsp;and then I just made a build for Windows from this project

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [July 8, 2019, 7:37pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/4 "2019-07-08T19:37:58Z")

</div>

in Corona touch is a mouse event.&nbsp; The additional “mouse” events are for changing the cursor type etc. But for what you’re doing you should only use “touch” or “tap”.

Your error message, while vague is still specific enough that it shouldn’t lead you to changing event handlers or resizing windows. It says:

“The system can not find the file specified”

We need to determine what file it can’t find. I would suggest trying one of our SampleCode apps like found in C:\Program Files (x86)\Corona Labs\Corona\SampleCode\GettingStarted\HelloWorld and see if you can build it without error and run it.

Rob

---

<div class="post-metadata">

**Author:** ![thomas6](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/e274bd/32.png) [@thomas6](https://forums.solar2d.com/u/thomas6)\
**Post date:** [July 9, 2019, 11:49am UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/5 "2019-07-09T11:49:43Z")

</div>

Here’s a stupid fix to try: are you building to a ‘special’ OS folder, like the Desktop or Documents folder? If so, that file path can become too longer to work well as a 32-bit app.

Try copying your built app folder straight to the C:\ disk and see if that works.

Good luck,

Thomas

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [July 3, 2019, 4:04pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/6 "2019-07-03T16:04:55Z")

</div>

Can you provide more details?

---

<div class="post-metadata">

**Author:** ![shhekoldin.vadim2411](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/eb8c5e/32.png) [@shhekoldin.vadim2411](https://forums.solar2d.com/u/shhekoldin.vadim2411)\
**Post date:** [July 8, 2019, 9:49am UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/7 "2019-07-08T09:49:16Z")

</div>

I just did everything like here&nbsp;[https://docs.coronalabs.com/guide/programming/01/index.html](https://docs.coronalabs.com/guide/programming/01/index.html)&nbsp;and then I just made a build for Windows from this project

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [July 8, 2019, 7:37pm UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/8 "2019-07-08T19:37:58Z")

</div>

in Corona touch is a mouse event.&nbsp; The additional “mouse” events are for changing the cursor type etc. But for what you’re doing you should only use “touch” or “tap”.

Your error message, while vague is still specific enough that it shouldn’t lead you to changing event handlers or resizing windows. It says:

“The system can not find the file specified”

We need to determine what file it can’t find. I would suggest trying one of our SampleCode apps like found in C:\Program Files (x86)\Corona Labs\Corona\SampleCode\GettingStarted\HelloWorld and see if you can build it without error and run it.

Rob

---

<div class="post-metadata">

**Author:** ![thomas6](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/e274bd/32.png) [@thomas6](https://forums.solar2d.com/u/thomas6)\
**Post date:** [July 9, 2019, 11:49am UTC](https://forums.solar2d.com/t/how-to-make-wokring-build-for-windows/350112/9 "2019-07-09T11:49:43Z")

</div>

Here’s a stupid fix to try: are you building to a ‘special’ OS folder, like the Desktop or Documents folder? If so, that file path can become too longer to work well as a 32-bit app.

Try copying your built app folder straight to the C:\ disk and see if that works.

Good luck,

Thomas
