Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 780 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 780 Bytes

Preview

so_long_demo

COMPILATION ON WSL

for compilation to work on WSL, you're going to have to initiate XMING following the "Compilation on Linux" and "Getting a screen on WSL" sections on this website: https://harm-smits.github.io/42docs/libs/minilibx/getting_started.html

now, you're gonna have to routinely do two things:

  • at every new start of your computer, launch XLaunch and follow the steps for it again.
  • for every new terminal, you're going to have to type this:
    export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2}'):0.0
    into the command line before compiling. you can make an alias in .bashrc to make it easier, unfortunately i couldn't get it to work yet by just adding a rule in the Makefile.