Luasockets获取LUA文件

发布于 2025-01-23 06:25:33 字数 168 浏览 1 评论 0原文

我可以在某个地方获取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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

指尖上得阳光 2025-01-30 06:25:33

尽管尚未明确指定,但您 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文