poniedziałek, 6 października 2014

How to install sdl2 library for Common Lisp through Quicklisp

Hello,
short post here, since topic isn't stretched.

Today, I tried installing SDL2 from Quicklisp, and failed. I couldn't compile SDL2. After quick web search, I knew what to do - solution is simple:
sudo apt-get install libsdl2-2.0-0 libsdl2-dbg libsdl2-dev
I'm not sure if you need dbg and dev, but it won't hurt for sure.
So, the problem is that SDL2 only downloads CL library - so, the wrappers for original SDL2. However, for SDL2-CL to succeed you need SDL2 library - which you can download from repository. If your repository doesn't contain SDL2, you can compile it from source - it isn't too hard.
Anyway, after downloading you just need to quickload sdl2 again and you're good to go. That's it!

Cheers!

Brak komentarzy:

Prześlij komentarz