【问题标题】:(LUA) Failed to install winapi(LUA) 安装 winapi 失败
【发布时间】:2023-02-17 01:42:06
【问题描述】:

我在安装 winapi lua 时遇到问题。
操作系统:Win 8.1,
Lua版本:5.1.5,
Luarocks 最新。

命令行:

C:\Users\user\Desktop\luarocks-3.9.2-windows-32>luarocks install winapi
Warning: Lua 5.4 interpreter not found at C:\Users\Didn't understanded word\Desktop\luarocks-3.
9.2-windows-32

Modules may not install with the correct configurations. You may want to configu
re the path prefix to your build of Lua 5.4 using

   luarocks config --local lua_dir <your-lua-prefix>

Installing https://luarocks.org/winapi-1.4.2-1.src.rock

Error: Could not fetch rock file: Failed creating temporary directory luarocks-r
ock-winapi-1.4.2-1: Failed setting permission exec for all

C:\Users\user\Desktop\luarocks-3.9.2-windows-32>

我试图在没有 luarocks winapi 的情况下安装,但我有 C 文件和其他不理解的文件。

【问题讨论】:

    标签: windows lua luarocks


    【解决方案1】:

    Tenho 或 arquivo winapi.dll 没有我的 PC tenho 或 luaForWindows instalado com lua 1.5.5,funciona tudo normalmente。

    Uma função em particular que mais me agrada no modulo Winapi é a função "execute", que faz a mesma coisa que "os.execute" exceto que ela não abre a tela preta do prompt do Windows, o que é útil em alguns casos。

    【讨论】:

      猜你喜欢
      • 2018-03-06
      • 1970-01-01
      • 2019-03-14
      • 1970-01-01
      • 2013-02-24
      • 1970-01-01
      • 2022-08-06
      • 2017-08-14
      • 2021-05-06
      相关资源
      最近更新 更多