Skip to content

Troubleshooting

Andy Stout edited this page Jan 27, 2019 · 7 revisions

'make' error SDL.h not found

If running "make" in the root gives the following error ...

~/ChrysaLisp$ make
echo x86_64 > arch
echo Linux > platform
unzip -nq snapshot.zip
cc -c -nostdlib -fno-exceptions \
			-I/usr/include/SDL2/ \
			-o obj/Linux/x86_64/main.o main.c
main.c:8:10: fatal error: SDL_ttf.h: No such file or directory
 #include <SDL_ttf.h>
          ^~~~~~~~~~~
compilation terminated.
Makefile:23: recipe for target 'obj/Linux/x86_64/main.o' failed
make: *** [obj/Linux/x86_64/main.o] Error 1

Then this dependency needs to be installed

sudo apt-get install libsdl2-ttf-dev

This is documented in "README.md"
Clone this wiki locally