Page 1 of 1

How to solve: love.exe has stopped working (Windows 7)

Posted: Thu Jan 20, 2011 5:37 pm
by ghostwriter
If you're working on Windows 7, you might have this problem when trying to debug your love2d programs:
1.png
1.png (15.01 KiB) Viewed 3288 times
Instead of displaying useful debug information, love.exe simply crashes. This is because since Windows 7, the Program Files and Program Files (x86) directories are protected and love.exe is not allowed to write its errors to stdout.txt.

To solve this, find your LOVE directory and view its properties and click on the Security tab:
2.png
2.png (135.28 KiB) Viewed 3288 times
Click on Advanced, then Change Permissions, then select your username and click Edit. Check "Full Control":
3.png
3.png (375.13 KiB) Viewed 3288 times
Click OK, OK, OK, OK to clear all the properties windows. Now run your crashing program again for great success!
4ZJS2.png
4ZJS2.png (30.5 KiB) Viewed 403 times
Edit: if multiple users are going to run love2d, you might have to change the permissions for each of them.

Re: How to solve: love.exe has stopped working (Windows 7)

Posted: Thu Jan 20, 2011 5:38 pm
by thelinx

Re: How to solve: love.exe has stopped working (Windows 7)

Posted: Thu Jan 20, 2011 5:39 pm
by ghostwriter
Ah... well I'll keep this post here anyway for those of us who don't browse the bitbucket issues