Comment on CompileBench: Can AI Compile 22-year-old Code?parentComments−camel-cdr11moOk, so I tried to build chocolate doom as well (on Debian WSL):$ git clone --depth=1 https://github.com/chocolate-doom/chocolate-doom$ cd c*doom; lsOk, there is a CMakeFile.txt, so it's probably a cmake project, so:$ cmake .Ok, that seems to work, but three libraries are missing, SDL2_Mixer, SDL2_Net and FluidSynth, so lets install them:$ sudo apt install libsdl2-mixer-dev libsdl2-net-dev libfluidsynth-devLet's try again:$ cmake .Works, so now for compiling:$ cmake --build . -j $(nproc)Build completed in a few seconds first try.−gregsadetsky11moI’m on macOS so sometimes things aren’t as easy :) I’ll give it another try.
Comments
Ok, so I tried to build chocolate doom as well (on Debian WSL):
$ git clone --depth=1 https://github.com/chocolate-doom/chocolate-doom
$ cd c*doom; ls
Ok, there is a CMakeFile.txt, so it's probably a cmake project, so:
$ cmake .
Ok, that seems to work, but three libraries are missing, SDL2_Mixer, SDL2_Net and FluidSynth, so lets install them:
$ sudo apt install libsdl2-mixer-dev libsdl2-net-dev libfluidsynth-dev
Let's try again:
$ cmake .
Works, so now for compiling:
$ cmake --build . -j $(nproc)
Build completed in a few seconds first try.
I’m on macOS so sometimes things aren’t as easy :) I’ll give it another try.