Luasockets获取LUA文件
我可以在某个地方获取Luasockets随附的.lua文件吗?像ftp.lua,http.lua等...
我不知道如何构建我与vstudio一起尝试的东西,但没有运气。我试图看如何建造,但我不了解,我需要lua吗? Luarocks?安装在我的PC上?
如果我有.lua文件,那我的问题就可以了
can I get the the .lua files that comes with luasockets somewhere? Like ftp.lua , http.lua etc...
I have no idea how to build something I trying a lot with VStudio but no luck. I tried to look how to build but I didnt understood, did I need lua? luarocks? installed in my pc?
If I had that .lua files it would be ok for my problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管尚未明确指定,但您 win 。
也“ 我可以获得luasockets随附的.lua文件“没什么意义,因为如果您已经拥有 luasocket ,那么您就有(必需 .lua )文件(因为它们是包装的一部分)。
无论如何,我已经为 win 构建了包裹,可以从 [github]:cristifati/preduilt-binaries-(主人)预构建 - binaries/luasocket 。 .zip 档案是自我包含的(这意味着它们准备运行),请检查有关兼容 lua 版本的提及(您很可能需要在您的 pc ,然后在顶部安装 luasocket )。
您还会在那里找到我从中下载来源的官方存储库。
尽管真实的事情发生在 .dll ( .c 文件中),但您可能会在 .lua (包装器)文件。
Although it wasn't clearly specified, you're on Win.
Also "can I get the the .lua files that comes with luasockets" doesn't make much sense, because if you already have LuaSocket, then you have the (required .lua) files as well (as they are part of the package).
Anyway, I have built the packages for Win and they can be downloaded from [GitHub]: CristiFati/Prebuilt-Binaries - (master) Prebuilt-Binaries/LuaSocket. The .zip archives are self contained (meaning they are ready to run), check the mentions about compatible Lua versions (you'll most likely have to download and unpack them on your PC, then install LuaSocket on top).
You'll also find there the official repository where I've downloaded the sources from.
Although the real thing happens inside the .dll (codewise in the .c files), you'll probably find some useful stuff in the .lua (wrapper) files as well.