-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install lfs #99
Comments
Just tested. All works with MSVC 2010 on Windows 7. |
No I run this command from the normal cmd |
But I also have linux subsystem on my windows. So I can use bash. And if im installing it there it works. |
Again. Try run |
Go to your visual studio installation and there should be a vcvarsall bat file. |
The easiest fix is that this is a documentation bug. The installation instructions for windows need to state that you need to:
I'm guessing that once compilation is complete you can just use luafilesystem directly? If not the luarock is broken on windows, as it is no longer self contained. The right fix would be to use autotools to find the most appropriate C compiler and libraries. eg. for windows (with the aid of chocolatey), you can:
presuming you're presenting only the standard C filesystem APIs to lua, if you build using mingw, you can pretend windows doesn't exist, and throw away all of the windows-specific build stuff. |
@hishamhm can we close this? enough solutions presented... |
Hi Team, I am still with the same issue |
@venkateshveeroju what's the exact error you're getting? |
Hello, Im getting the very same error with LUA 5.3 and MinGW compiler.
|
If im trying to install luafilesystem on Windows 10 with luarocks and lua 5.1 then its not working. Heres the full log: (no matter if im entering it with --local or not, its the same)
C:\Users\LuckyChicken>luarocks install luafilesystem --local
Installing https://luarocks.org/luafilesystem-1.7.0-2.src.rock
cl /nologo /MD /O2 -c -Fosrc/lfs.obj -IC:/Program Files (x86)/LuaRocks/include src/lfs.c
Der Befehl "cl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Error: Build error: Failed compiling object src/lfs.obj
(The text "Der Befehl "cl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden." is german and means in english: Could not found the command "cl")
I think theres something wrong with the installation.
Im on windows and I dont have the command "cl"
What can I do?
The text was updated successfully, but these errors were encountered: