Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

I got "Illegal Instruction" trying to run the compiled binary. Trying to run from source with Racket errored out with "sdl.rkt:3:20: collection not found".

(1 edit)

That's weird. What sort of CPU do you have?

To run from source, you'll have first run command  "raco pkg install sdl csv-reading sxml"

I am running it on an Intel Core i5.

Thanks for the instructions. Maybe that should go in the readme.

After installing those packages I get "ffi-lib: couldn't open "libSDL2.so" (libSDL2.so: cannot open shared object file: No such file or directory)" despite the fact that I have installed the libsdl2 package with apt-get. (Debian Stable)

Yeah, Debian/Ubuntu maintainers have weird ideas about sonames. This incantation should do it:

sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 /usr/lib/libSDL2.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL2_image-2.0.so.0 /usr/lib/libSDL2_image.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL2_mixer-2.0.so.0 /usr/lib/libSDL2_mixer.so
sudo ln -s /usr/lib/x86_64-linux-gnu/libSDL2_ttf-2.0.so.0 /usr/lib/libSDL2_ttf.so