hugoam / toy

the thin c++ game engine
https://toyengine.io
GNU General Public License v3.0
1.56k stars 101 forks source link

genie error #13

Closed yydsleo closed 6 years ago

yydsleo commented 6 years ago

./bin/linux/genie --gcc=linux-gcc gmake cannot open /home/fujinghui/gitcode/toy/mud/3rdparty/bx/scripts/bx.lua: No such file or directory stack traceback: [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:103: in function 'dofile' ...fujinghui/gitcode/toy/mud/scripts/3rdparty/bgfx/bgfx.lua:6: in main chunk [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:103: in function 'dofile' /home/fujinghui/gitcode/toy/mud/scripts/mud.lua:14: in main chunk [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:103: in function 'dofile' /home/fujinghui/gitcode/toy/scripts/toy.lua:10: in main chunk [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:103: in function 'dofile' /home/fujinghui/gitcode/toy/scripts/genie.lua:22: in main chunk [C]: in upvalue 'builtin_dofile' [string "premake = { }..."]:103: in function 'dofile' [string "_WORKING_DIR = os.getcwd()..."]:45: in function '_premake_main'

hugoam commented 6 years ago

You should clone using the --recursive option, or manually call git submodule update --init both in toy repo directory and then in mud subdirectory.

Same issue as https://github.com/hugoam/toy/issues/9 (and same solution)