Skip to content

Repository files navigation

Eserce Arena

Eserce Arena is a Multiplayer Online Battle Arena Game.

Websocket server for the game can be found here: https://github.com/pwalig/serveros.

Build

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

For Web

Requires emscripten.

Windows

emcmake.bat cmake -B build

Linux

emcmake cmake -B build

Linux (Link Layer Connectivity)

cmake -B build

cmake --build build -j

Troubleshooting

... reqires EMSCRIPTEN to be defined

Problem can occur inside dawn library.

To solve, replace EMSCRIPTEN with __EMSCRIPTEN__.

Could not load 3d3compiler_47.dll

Copy 3d3compiler_47.dll from C:/Windows/System32, to build folder.

Could not load vulkan-1.dll

Copy vulkan-1.dll from C:/Windows/System32, to build folder.

undefined operator== for ...

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

X11/Xlib-xcb.h not found

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

Releases

Packages

Contributors

Languages