Search found 3 matches

by GanMatt
Thu Oct 30, 2014 2:53 am
Forum: Support and Development
Topic: LuaFileSystem with Love2D
Replies: 4
Views: 4695

Re: LuaFileSystem with Love2D

I got it working in a weird way. Downloaded the previous official version of Lua File System, then I added this line to the C code: #define luaL_reg luaL_Reg Ran make and install and boom. Works. Love2D loads it without problem. Now I just hope it runs without issue. I suppose I could ask if there's...
by GanMatt
Thu Oct 30, 2014 2:21 am
Forum: Support and Development
Topic: LuaFileSystem with Love2D
Replies: 4
Views: 4695

Re: LuaFileSystem with Love2D

I'm writing a map editor, I just finished the world editing and saving and loading last night but I want to save the maps in the source directory instead of the application support directory. The reason for this is so that when I edit a map, I can hit commit in git and my buddy can edit the same wor...
by GanMatt
Wed Oct 29, 2014 8:19 pm
Forum: Support and Development
Topic: LuaFileSystem with Love2D
Replies: 4
Views: 4695

LuaFileSystem with Love2D

Hey I installed LuaFileSystem using LuaRocks and Love2D couldn't find the library. The lfs.so file was in lua 5.2. I moved it to lua 5.1 so it could find it. Now I get a separate error: Error: error loading module 'lfs' from file '/usr/local/lib/lua/5.1/lfs.so': dlopen(/usr/local/lib/lua/5.1/lfs.so,...