I am learning emscripten compiler. And now I have an error when compiling this source code.
I use gcc and it works fine.
But, when using emscripten with this command:
./emcc game.cpp main.cpp painter.cpp field.cpp snake.cpp -s LEGACY_GL_EMULATION=1 -o a.html
I get this error.:
warning: unresolved symbol: _ZTVN10__cxxabiv120__si_class_type_infoE`
What are the issues here?