Windows Lua location survey
#1
Hi,
I'd like to have a few Windows developers answer this simple survey for me, so that I can develop a FindLua CMake module that works for most people.

Three questions:
- Do you have the Lua standalone interpreter (lua.exe) installed, and in PATH (when you type "lua" in command prompt, does it start?)
- What distribution, and in what path? (LuaRocks / LuaBinaries / ...)
- In what folder is your lua.exe, if not in PATH?

If you have multiple Windows machines, list results for each, please.

Here's mine:

Computer1:
- yes, yes
- LuaRocks 2.1, in "c:\LuaRocks"
- in PATH

Computer2:
- yes, yes
- LuaRocks 2.2 in "c:\LuaRocks"
- in PATH

Thanks for your answers
Reply
Thanks given by:
#2
Laptop:
- yes, yes
- LuaRocks 2.0.2 in C:\Program Files (x86)\Lua
- in PATH

I simply installed LuaForWindows which did everything you listed for me.
Reply
Thanks given by:
#3
I thought we had more Windows people here. Has everyone moved to Linux?
Reply
Thanks given by:
#4
I know that @tigerw uses Windows.
Reply
Thanks given by: NiLSPACE
#5
Computer
- yes, yes
- LuaRocks 2.0.2 in C:\Program Files (x86)\Lua
- in PATH


Edit: LuaRocks version added. Thank you NiLSPACE
Reply
Thanks given by:
#6
Any reason not to use the FindLua module included with cmake? We have to ship with the source anyway because there is no guarantee that lua is installed, so using system lua is just an optimization. And if cmake can't find your lua, you can force it with the LUA_DIR env var when running cmake.
Reply
Thanks given by:
#7
Does the FindLua module find the lua standalone executable as well? And does it exist for Windows? I had a feeling that it didn't exist in some older cmake versions.

Seeing the results so far, I'm more inclined to simply test for system lua in path by simply trying to execute it.
Reply
Thanks given by:
#8
Looking closer it does appear to be lib only. And if we're only going to use it to run build scripts just assuming its in path with a fallback to bundled is probably a simple solution.
Reply
Thanks given by:




Users browsing this thread: 5 Guest(s)