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

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
ghostwriter
Prole
Posts: 38
Joined: Sat Dec 11, 2010 11:08 pm

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

Post 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 3072 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 3072 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 3072 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 187 times
Edit: if multiple users are going to run love2d, you might have to change the permissions for each of them.
Last edited by ghostwriter on Thu Jan 20, 2011 5:38 pm, edited 1 time in total.
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

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

Post by thelinx »

User avatar
ghostwriter
Prole
Posts: 38
Joined: Sat Dec 11, 2010 11:08 pm

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

Post by ghostwriter »

Ah... well I'll keep this post here anyway for those of us who don't browse the bitbucket issues
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 23 guests