Able to run Axe Game on WSL (Linux on Windows) 🐧

I just tried the Axe-Game project in Ubuntu WSL (Ubuntu and Windows).

I have to:

  • Tweak the make file to point to the right axe-game.cpp file.
  • Install Hombrew on linux in order to get the raylib library.
  • symlink the raylib library (.a) and header (.h) to the proper /usr/local folders.
sudo ln -s /home/linuxbrew/.linuxbrew/include/raylib.h /usr/local/include/raylib.h
sudo ln -s /home/linuxbrew/.linuxbrew/lib/libraylib.a /usr/local/lib/libraylib.a

To use XServer with WSL in order to use Linux UI on windows, follow the steps on this link WSL 2 - XServer Setup (github.com)

Privacy & Terms