This post has been de-listed (Author was flagged for spam)
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
I'm testing a game server (based on LuaSocket), which I'd like to compile into an executable for distribution. I tried compiling it using "srlua", but it seems like it's unable to include the required socket library.
I found a suggestion to use "luac" to compile the script with the required socket library into bytecode and then compile the resulting file with "srlua". Unfortunately, when I tried doing luac path\to\socket\core.dll server.lua
it gave me a strange error, which I assume is because the library is a .dll
I also tried using L-bia to compile my script, but there must be a mistake in this program because all it seems to be able to do is print "Hello" to the console.
I've been searching how to make srlua include the socket library and how to use L-bia for hours, so any help at all is appreciated!
Subreddit
Post Details
- Posted
- 12 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/lua/comment...