Hi.
I'm new here. I have installed Atom and ZeroBrane and attempted to run a main.Lua file in each one. Both of them gave me a traceback, claiming that they couldn't find Love 2D, which I installed. That's all I did. As a noob, what am I possibly missing?
Text Editors can't find LOVE
-
- Party member
- Posts: 227
- Joined: Thu Jun 28, 2012 8:46 pm
Re: Text Editors can't find LOVE
@Nerdzmasterz, I posted instructions for Love debugging with ZeroBrane Studio here (http://notebook.kulchenko.com/zerobrane ... -debugging). You need to make sure you select Love2d as the interpreter ("Program | Lua Interpreters | Love2d") and that you have love executable in one of the folders that the IDE knows about (there are several folders it checks, but the exact list is system-dependent) or in PATH. You can also explicitly configure your love executable path using `path.love2d` configuration setting (https://studio.zerobrane.com/doc-genera ... reter-path). If you post the exact error you are getting, we can provide better advice on how to fix this.
Re: Text Editors can't find LOVE
To run love-project you need to open with love the directory (or archive) where main.lua located, but not main.lua itself. For example:
Code: Select all
cd ~/my_awesome_project
/usr/bin/love .
-
- Prole
- Posts: 4
- Joined: Wed Feb 12, 2020 10:26 pm
Re: Text Editors can't find LOVE
Thank you! Sorry for the late reply. I managed to get Zerobranes to work, though I'm not entirely sure how.
Who is online
Users browsing this forum: No registered users and 14 guests