Eserce Arena is a Multiplayer Online Battle Arena Game.
Websocket server for the game can be found here: https://github.com/pwalig/serveros.
Game can be built for web to be played over websocket protocol or for linux to be played on link layer networks including ad-hoc wireless networks.
git submodule init
git submodule update --depth=1
Requires emscripten.
emcmake.bat cmake -B build
emcmake cmake -B build
cmake -B build
cmake --build build -j
Problem can occur inside dawn library.
To solve, replace EMSCRIPTEN with __EMSCRIPTEN__.
Copy 3d3compiler_47.dll from C:/Windows/System32, to build folder.
Copy vulkan-1.dll from C:/Windows/System32, to build folder.
On Linux only tested working with gcc-11.
gcc-13 and gcc-14 tested and do not work.
sudo apt install gcc-11 g++-11
cmake -B build \
-DCMAKE_C_COMPILER=gcc-11 \
-DCMAKE_CXX_COMPILER=g++-11
In file included from /home/user/tmp/dawn-test/dawn/src/dawn/native/X11Functions.h:32,
from /home/user/tmp/dawn-test/dawn/src/dawn/native/Instance.cpp:66:
/home/user/tmp/dawn-test/dawn/src/dawn/common/xlib_with_undefs.h:44:10: fatal error: X11/Xlib-xcb.h: No such file or directory
44 | #include <X11/Xlib-xcb.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
gmake[2]: *** [dawn/src/dawn/native/CMakeFiles/dawn_native_objects.dir/build.make:1015: dawn/src/dawn/native/CMakeFiles/dawn_native_objects.dir/Instance.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:16838: dawn/src/dawn/native/CMakeFiles/dawn_native_objects.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
To solve: install libx11-xcb-dev.
sudo apt install libx11-xcb-dev