Hi,
I switched from a Mac machine to a new Windows box, and would like to set up Visual Studio to work with LÖVE. I know that there's ZeroBrane Studio available for Windows (which I also used on the Mac), but I thought I'd give Visual Studio a try this time.
I configured Visual Studio and Babelua according to this topic: viewtopic.php?f=3&t=79884&p=181765&hili ... io#p181765
But my problem now is that I can't get the debugger to work (the main reason why I want to use Visual Studio). I can successfully run LÖVE using Babelua's "Run Without Debugging", but if I try to "Start Debugging" (F5), I get the following error message:
https://db.tt/jTuiwqmh
Here's my Babelua setup for this example project:
https://db.tt/SrbVEnBj
LÖVE itself has been installed to the standard directory on "C:\Program Files".
Did anyone have success with a similar setup, and can tell me maybe what settings I need to change?
Configuring Visual Studio with Babelua for LÖVE
Re: Configuring Visual Studio with Babelua for LÖVE
Late reply, but maybe other people also wanted to know a solution?Did anyone have success with a similar setup, and can tell me maybe what settings I need to change?
Install BabeLua and after this, first start Visual Studio as Admin (important!; after this you can start VS as normal User).
Create a Lua Project, go to project settings and setup like this:
Lua exe path: c:\Projects\0100\love.exe
Working path: c:\Projects\0100\game
Command line: ./
In Lua exe path you put Löve.
In Working path you put your project...main.lua should be there!
Have some fun with debugging lua .
cheers
Re: Configuring Visual Studio with Babelua for LÖVE
I did start VS as an Admin but still getting the same problem Eroica mentioned. If I run without debugger everything is fine, but otherwise I get the error message about "Error starting process love.exe"
I'm using VS 2015, the free edition.
I'm using VS 2015, the free edition.
Currently working on Breaking Fast, a competitive 2D "mario kart alike" racing game! Already passed steam greenlight, hopefully soon to be released!
Re: Configuring Visual Studio with Babelua for LÖVE
Maybe you use Löve 64bit ?
Visual Studio is always 32bit .
So just use Löve 32 bit.
Visual Studio is always 32bit .
So just use Löve 32 bit.
Re: Configuring Visual Studio with Babelua for LÖVE
I have the feeling it's going to be that, I'll try tomorrow and I'll let you now! Thanks!
Currently working on Breaking Fast, a competitive 2D "mario kart alike" racing game! Already passed steam greenlight, hopefully soon to be released!
Re: Configuring Visual Studio with Babelua for LÖVE
Yes, it did work! I can finally debug properly, thanks so much!SiENcE wrote:Maybe you use Löve 64bit ?
Visual Studio is always 32bit .
So just use Löve 32 bit.
Currently working on Breaking Fast, a competitive 2D "mario kart alike" racing game! Already passed steam greenlight, hopefully soon to be released!
Re: Configuring Visual Studio with Babelua for LÖVE
No problem . Good Luck, i think VS+Babelua is the best debug environment for löve.
Re: Configuring Visual Studio with Babelua for LÖVE
Thanks for your replies both of you! The problem was really caused by having the 64bit version of LÖVE installed. Now with the 32bit version, everything works!
-
- Prole
- Posts: 11
- Joined: Sun Feb 12, 2017 4:50 pm
Re: Configuring Visual Studio with Babelua for LÖVE
Everything seems to work. But how do you set up code completion for the LOVE API?
Re: Configuring Visual Studio with Babelua for LÖVE
I too would like to know this. As far as I can tell, this isn't possible yet? I hope I'm wrongphobos2077 wrote: ↑Sun Feb 12, 2017 4:51 pm Everything seems to work. But how do you set up code completion for the LOVE API?
Who is online
Users browsing this forum: Google [Bot] and 2 guests