I just realised that I necroposted, sorry.
I am still struggling with how to use external libraries. Can somebody let me know how to install loverocks on macOS? Or give me some other solution for incorporating external libraries into a love project?
How to use a LuaRocks project with a LÖVE one?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: How to use a LuaRocks project with a LÖVE one?
Most people are deathly allergic to anything luarocks, so we just download the library, and put it in a library folder in our project manually.
No need to overcomplicate things. And any decent library will support relative paths if they are made up of multiple files, so fitting them in your project is usually not a problem.
By the way, löve uses luaJIT, so that'd be lua version 5.1 mostly, not 5.4.
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: How to use a LuaRocks project with a LÖVE one?
I simply used git submodules to insert some external libs. Sue that approach is not everyone but worked for me
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Google [Bot] and 9 guests