Page 1 of 1
Installation issue?
Posted: Sun Jul 01, 2012 2:23 pm
by IndieMedia
I have tryed to install LOVE and run my HELLOWORLD program with it...
Love is not a reconised command, when I added it to the system variables I can use love and itll run the Basic program... but I cannot add Command line options.
Any help? I have tried 64 bit and 32 bit....
Re: Installation issue?
Posted: Sun Jul 01, 2012 2:34 pm
by Robin
Hi.
So. What is the operating system you use?
After installing LÖVE, how did you write your "hello world"? How did you try to run it?
Re: Installation issue?
Posted: Sun Jul 01, 2012 4:47 pm
by IndieMedia
Robin wrote:Hi.
So. What is the operating system you use?
After installing LÖVE, how did you write your "hello world"? How did you try to run it?
Windows 7 64-bit (home premium)
I opened Notepad++ and typed.
Code: Select all
function love.draw()
love.graphics.setColor(0,255,0)
love.graphics.print("Hello World", 100, 100)
end
Saved the file as main.lua in C:\Users\Alexh\lua_games\test
and I opened CMD then did love C:\Users\Alexh\lua_games\test
It didnt work so I tryed love --version it just doesnt do anything -.-
I got it so If i do "love" it opens love.exe but thats the closest Ive gotten.
Re: Installation issue?
Posted: Sun Jul 01, 2012 5:25 pm
by kikito
Try this:
Code: Select all
cd C:\Users\Alexh\lua_games\test
love .
Notice that there is a dot (.) right after love. Don't miss it.
Re: Installation issue?
Posted: Sun Jul 01, 2012 9:41 pm
by IndieMedia
That works but still cant use --version... but I can not use LOVE so thanks very much
Re: Installation issue?
Posted: Mon Jul 02, 2012 3:39 am
by Santos
Boolsheet wrote:The reason the version doesn't show up in the console is because LÖVE currently does not redirect any output to the console of the parent process. Windows handles its consoles differently compared to other operating systems and getting around that requires some careful code.
If you want to see the output, redirect the output to a file.
Code: Select all
love.exe --version > love_version.txt
Source:
viewtopic.php?f=4&t=9372#p58173