无法通过luarocks安装luafilesystem

时间:2018-09-02 12:32:32

标签: lua luarocks luafilesystem

美好的一天

我可以毫无问题地通过luarocks安装其他软件包。我正在使用Windows 10 和Lua 5.3.5。 Luarocks版本3.0.1。但是,cmd命令 luarocks install luafilesystem 导致以下错误:

Installing https://luarocks.org/luafilesystem-1.7.0-2.src.rock

C:\MinGW\bin\gcc.exe /nologo /MD /O2 -c -Fosrc/lfs.obj -IC:\lua\include src/lfs.c

gcc.exe: error: /nologo: No such file or directory

gcc.exe: error: /MD: No such file or directory

gcc.exe: error: /O2: No such file or directory

Error: Build error: Failed compiling object src/lfs.obj

当尝试安装任何具有luafilesystem作为依赖项的软件包时,也会发生此错误。

谢谢。

0 个答案:

没有答案