lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Mon, Sep 6, 2010 at 5:55 PM, Stuart P. Bentley <stuart@testtrack4.com> wrote:

 cl /MD /O2 -c -Fosrc/lao.obj -IC:/Program Files (x86)/Lua/5.1/include src/lao.c -IC:\Users\Stuart\Downloads\libao-1.0.0/include
 'cl' is not recognized as an internal or external command,
 operable program or batch file.

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

Ignoring the obvious errors that I don't have cl in my path and don't have an lao.obj, isn't luarocks supposed to provide some sort of contained compilation solution on Windows, and shouldn't those -I parameters be quoted (since the first one goes to a path with spaces)?



If you have Visual Studio installed, you need to open a command prompt.  For instance, in VS2008, there's "Visual Studio 2008 Command Prompt" in the start menu. Open that and rerun luarocks install there.