cannot open toolchain.lua - cant generate build
Vawx opened this issue · 4 comments
cloned down, cd to toy/bin/windows.
./genie vs2015
get following:
./genie vs2015
cannot open c:/Users/altck/Desktop/Toy/toy/mud/scripts/toolchain.lua: No such file or directory
stack traceback:
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:103: in function 'dofile'
c:/Users/altck/Desktop/Toy/toy/scripts/toolchain.lua:9: in main chunk
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:103: in function 'dofile'
c:/Users/altck/Desktop/Toy/toy/scripts/genie.lua:20: in main chunk
[C]: in upvalue 'builtin_dofile'
[string "premake = { }..."]:103: in function 'dofile'
[string "_WORKING_DIR = os.getcwd()..."]:45: in function '_premake_main'
Hey, genie must be called from the root project directory you want to build, so in your case, you must call it from toy/
: bin\windows\genie vs2015
I think your mud folder might be empty :) You either need to clone with --recursive
, or you need to do git submodule update --init
(first in toy, and then once more in toy/mud)
Totally missed the --recursive.
Thank you for your patience and help.