Hello, I'm reading "Genetic Algorithms in Elixir" for the (public discord) Elixir book club (which you are invited to :smile:). Great book, thanks for making it ❤️
Ch 10 intros Tetris and the MacOS install calls for brew install sdl. sdl does not exist anymore.
Hello, I'm reading "Genetic Algorithms in Elixir" for the (public discord) Elixir book club (which you are invited to :smile:). Great book, thanks for making it ❤️
Ch 10 intros Tetris and the MacOS install calls for
brew install sdl
.sdl
does not exist anymore.There is
sdl-compat12
, which maintains API compat with sdl 1.2, but underneath is in sdl2: https://github.com/libsdl-org/sdl12-compat.There is
sdl2
, which does not work withmix deps.compile
.I tried
sdl-compat12
and got to theerl_nif.h
problem and used this issue answer but got blocked on this error duringmix.compile
My current work from the book is here: https://github.com/aegatlin/genetic , in case it's useful.