Search found 15 matches
- Thu Feb 06, 2020 2:13 am
- Forum: Support and Development
- Topic: Calling C dll from love2d
- Replies: 11
- Views: 12393
Re: Calling C dll from love2d
AuahDark, Thank you, but my lslib does have the sentinel. My tests show that yes, you are correct, mixing the 64-bit mingw with 64-bit msvc causes issues. I found out on LuaJIT's site: http://luajit.org/install.html that LuaJit is NOT compatible with 64-bit mingw! Although, LuaJIT is compatible with...
- Mon Feb 03, 2020 5:00 pm
- Forum: Support and Development
- Topic: Calling C dll from love2d
- Replies: 11
- Views: 12393
Re: Calling C dll from love2d
Do you know what compiler love2d is compiled with? I use mingw, maybe it is a compiler mismatch of some sort.
For compiling, I use the same headers for both Linux and Windows. As for the .dll I use the one supplied with love2d .zip file. I'll have to look at regular lua dll.
For compiling, I use the same headers for both Linux and Windows. As for the .dll I use the one supplied with love2d .zip file. I'll have to look at regular lua dll.
- Mon Feb 03, 2020 1:09 am
- Forum: Support and Development
- Topic: Calling C dll from love2d
- Replies: 11
- Views: 12393
Re: Calling C dll from love2d
I have tried the ones in (https://www.lua.org/pil/26.1.html) namely lua_pushcfunction, and lua_setglobal. I get the same seg fault. Happens on the first lua_* function I call. I've even tried lua_createtable just for the fun of it. You are mentioning lua5.2. I was under the impression we are using l...
- Mon Feb 03, 2020 12:05 am
- Forum: Support and Development
- Topic: Calling C dll from love2d
- Replies: 11
- Views: 12393
Re: Calling C dll from love2d
Which function are you referring to? If I try to call any regular lua function on the passed in lua_State *L, I get a seg fault. Is there a different function beside the luaopen_* to use for interfacing with C? If so, what is it?
- Sun Feb 02, 2020 10:29 pm
- Forum: Support and Development
- Topic: Calling C dll from love2d
- Replies: 11
- Views: 12393
Calling C dll from love2d
I have a "it works fine in Linux, but fails in Windows" error that I think is really a "it happens to work in Linux, but never in Windows" issue. Namely, I have library code for our game built into a .so/.dll using gcc (for both Linux and Windows.) Unfortunately, when I run in Wi...
- Sat Jun 26, 2010 12:49 am
- Forum: Support and Development
- Topic: Installing LÖVE .6.2 on Debian Stable Lenny
- Replies: 2
- Views: 2761
Re: Installing LÖVE .6.2 on Debian Stable Lenny
I've had too many problems with Debian 'testing' and 'sid'. That and 'testing' probably doesn't work.
~PauloftheWest
~PauloftheWest
- Fri Jun 25, 2010 10:26 pm
- Forum: Support and Development
- Topic: Installing LÖVE .6.2 on Debian Stable Lenny
- Replies: 2
- Views: 2761
Installing LÖVE .6.2 on Debian Stable Lenny
I'm posting this so if anyone is trying to install love 0.6.2 on Debian Lenny, they won't repeat any of my problems. 1) Prereqs: # apt-get install libdevil1c2 libdevil-dev libphysfs-1.0-0 libphysfs-dev libflac++-dev libflac++6 libmodplug0c2 libmodplug-dev libmpg123-0 libmpg123-dev libflac-dev libsdl...
Re: Mercurial
Tell us when you settle on a repo.
~PauloftheWest
~PauloftheWest
- Thu Jul 30, 2009 9:10 pm
- Forum: General
- Topic: Loading and Image/Font from a resource file
- Replies: 6
- Views: 5204
Re: Loading and Image/Font from a resource file
Ah, I see. Well that makes sense that there isn't any documentation since it is only in the repository. For automatic documentation I've found luadoc to be useful: http://luadoc.luaforge.net/ . I didn't see the svn repository earlier. I'll look through the code and see what I can come up with. Doing...
- Thu Jul 30, 2009 2:03 pm
- Forum: General
- Topic: Loading and Image/Font from a resource file
- Replies: 6
- Views: 5204
Re: Loading and Image/Font from a resource file
Where is the documentation? I haven't seen it in tutorials or wiki.
Where are the definitions for the constants for the different data type (.PNG, .JPG, etc)?
~PauloftheWest
Where are the definitions for the constants for the different data type (.PNG, .JPG, etc)?
~PauloftheWest