【问题标题】:Installing LuaFileSystem (lfs) on win7 x64在 win7 x64 上安装 LuaFileSystem (lfs)
【发布时间】:2013-02-13 17:58:00
【问题描述】:


我正在尝试在 Windows 7 x64 上安装 LuaFileSystem (lfs)。 在 Linux 风格中使用 Cygwin 进行了尝试(使用 Make 和配置文件),这给了我很多语法错误。

第二次尝试使用:

luarocks.bat install luafilesystem

我得到了什么:

cl /MD /O2 -c -Fosrc/lfs.obj -IC:/Program Files (x86)/Lua/5.1/include src/lfs.c
'cl' is not recognized as an internal or external command, operable program or batch file.
Error: Build error: Failed compiling object src/lfs.obj
"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe"

尝试使用“C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\cl.exe”运行抛出:

"The program can't start because mspdb100.dll is missing from your computer"

有没有一种简单的方法可以在 Windows 7 x64 上安装它?
在此先感谢,
视频

【问题讨论】:

  • 错误是什么?
  • 在问题中添加。
  • 顺便说一句,你也可以试试Lua For Windows编译Lua的所有工具/电池。
  • 无需编译即可工作,谢谢大家:)。

标签: windows lua installation


【解决方案1】:

您需要修复 Visual Studio。

关于这个问题,这里有一个先前的问题:

MS C++ 2010 and mspdb100.dll

首先,检查文件是否真的丢失,如果是,您可以轻松找到一个副本放入您的计算机。

稍后,您需要修复运行以下命令的 PATH 变量:path\to\VC\bin\vcvars32.bat

但是阅读我链接的帖子,它有更多的信息和替代方案,尝试一下,一个会奏效的!

【讨论】:

    猜你喜欢
    • 2012-02-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-11-09
    相关资源
    最近更新 更多