I am trying to build mruby for the web using emscripten, but I get two undefined symbols;
wasm-ld: error: CMakeFiles/toy.html.dir/src/toy.cpp.o: undefined symbol: mrb_load_string
wasm-ld: error: CMakeFiles/toy.html.dir/src/toy.cpp.o: undefined symbol: mrb_load_file
Emscripten works differently than normal c-compilers so errors like this are not too uncommon, but I just wonder;
Is there anything special about those two functions compared to other mrb-functions, since those are the only ones giving me trouble ?
I am trying to build mruby for the web using emscripten, but I get two undefined symbols;
Emscripten works differently than normal c-compilers so errors like this are not too uncommon, but I just wonder;
Is there anything special about those two functions compared to other mrb-functions, since those are the only ones giving me trouble ?