Page 1 of 1

LÖVE isn't telling me what I did wrong

Posted: Sun Dec 02, 2012 2:50 am
by main123321
I've only had this problem on my laptop at home, not on other computers. Code will run fine if it has no errors, but if I have an error, I simply get a white screen, followed closely by crashing. On other computers, it displays a blue screen , with details on why the code won't run. I'm running Windows 7 64 bit. Any ideas? It would be really helpful to know what I did wrong.

Re: LÖVE isn't telling me what I did wrong

Posted: Sun Dec 02, 2012 4:15 am
by Jasoco
You need to provide us with your .love. We can't help you if you don't give us the problem.

Re: LÖVE isn't telling me what I did wrong

Posted: Sun Dec 02, 2012 5:03 am
by main123321
This happens with every piece of code I write.

Re: LÖVE isn't telling me what I did wrong

Posted: Sun Dec 02, 2012 9:24 am
by bartbes
Do you have an AMD card and does this also happens when you print text? (I remember something about a space being special.)

Re: LÖVE isn't telling me what I did wrong

Posted: Sun Dec 02, 2012 11:16 pm
by Jasoco
Yeah, what are the specs of the laptop where it only happens?

Re: LÖVE isn't telling me what I did wrong

Posted: Mon Dec 03, 2012 7:51 am
by main123321
I do have an AMD graphics card. List of specs:

OS - MS Windows 7 Home Premium 64-bit SP1
CPU - Intel Core i3 370M @ 2.40GHz Arrandale 32nm Technology
RAM - 6.00 GB Dual-Channel DDR3 @ 533MHz (7-7-7-20)
Motherboard - Dell Inc. 0G62V9 (CPU 1)
Graphics Card - ATI Mobility Radeon HD 550v (Dell)

It happens with everything. If a single thing is wrong, such as if I type love.graphics.newfont instead of capitalizing the F, instead of showing the blue screen with information on why the code won't run, LOVE simply crashes.

Re: LÖVE isn't telling me what I did wrong

Posted: Mon Dec 03, 2012 12:34 pm
by Nixola
Try to make a simple program that prints a string without spaces, then try to do one which prints a string with spaces and tell us what happens

Code: Select all

love.draw = function()
   love.graphics.print('stringWithoutSpaces', 0, 0)
end

Code: Select all

love.draw = function()
   love.graphics.print('string With Spaces', 0, 0)
end

If Bartbes is right, the second one should crash while the first should work nicely

Re: LÖVE isn't telling me what I did wrong

Posted: Mon Dec 03, 2012 11:47 pm
by main123321
Yeah, the one with spaces crashed, but the one without spaces worked fine.

Re: LÖVE isn't telling me what I did wrong

Posted: Tue Dec 04, 2012 12:16 am
by Boolsheet
Your ATI driver has a bug that crashes with a certain part of the code in LÖVE 0.8.0. Try this build, it includes a workaround.

Re: LÖVE isn't telling me what I did wrong

Posted: Wed Dec 05, 2012 2:13 am
by main123321
THANK YOU! It works great now! I can finally see what I'm doing wrong!