Page 1 of 2

My first simple program not working :(

Posted: Sun Apr 22, 2012 6:51 pm
by Kronoze
So I've watched a Introduction to LOVE tutorial on YouTube, and I did exactly what the guy said. I installed the Zipped 32-bit, and then renamed that folder as "Love2D". I then created a new folder inside Love2D called "Games". Finally, I made a folder inside Games called "HelloWorld". Inside HelloWorld, I made main.lua, and typed this inside.

Code: Select all

function love.draw()
love.graphics.print("Hello World!",300,300)
end
I then dragged the HelloWorld folder on top of the love.exe inside of the Love2D folder. When I ran it, it said "love.exe has stopped working (blah blah)". I'm assuming this is because I've made an error. Does anyone know what I did wrong, and could they explain it to me?

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 7:22 pm
by Nixola
No error, it seems it's (partially) LOVE's fault. It requires something, but I don't remember what... Maybe .NET Framework?

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 7:57 pm
by bartbes
The visual c++ runtime.. 2008, I think.
This is a case where using the installer would've worked (afaik).

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 8:09 pm
by Kronoze
So what you're saying is I should download the installer 32-bit version? Then it will work?

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 8:27 pm
by Nixola
No, 'cause I used the installer and had the same problem, you have to download The Visual C++ Runtime .. 2008, I think
EDIT: No, I didn't have the same problem

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 8:40 pm
by Boolsheet
The only dependency of LÖVE 0.8.0 is at least Windows XP and a graphics driver with decent OpenGL support. (Hell, even the Microsoft OpenGL fallback driver works)

It's likely that your graphics driver has an issue with LÖVE. What graphics card and driver are you using? Can you update it?

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 8:48 pm
by Kronoze
I'm sorry, I don't know anything about graphic cards or drivers. Is it simple to update? What do I have to do? It's for sure the graphic card then, right?

Re: My first simple program not working :(

Posted: Sun Apr 22, 2012 9:18 pm
by Boolsheet
Kronoze wrote:Is it simple to update?
That really depends on your hardware. The hardest part may be the search for the latest driver.
First, you need to know what hardware you have. You can use one of the many system information programs, like speccy.

If you have a desktop card from NVIDIA or ATI/AMD you can visit their drivers website and select it from the dropdown menu.
A laptop graphics card might get trickier. It's possible that it works like above with the desktop cards, but you may have to go to the laptop manufacturer's website and search for the driver. This can be a huge pain.
It's for sure the graphic card then, right?
No. It's just that the most crashes I have heard about with 0.8.0 were related to the graphics driver.

Re: My first simple program not working :(

Posted: Mon Apr 23, 2012 2:18 am
by Kronoze
Do you think it might work if I got the installer version instead of the zipped?

Re: My first simple program not working :(

Posted: Mon Apr 23, 2012 5:36 pm
by Robin
Can't hurt to try. ;)