Lem
GitHubDiscord Matrix モードの切替 ダーク/ライト/自動モードの切替 ダーク/ライト/自動モードの切替 ダーク/ライト/自動トップページへ戻る

SDL2

Lem 2.0 was released! It provides binaries for Linux, MacOS and Windows.

Install

Ubuntu

$ sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev

MacOS

$ brew install sdl2
$ brew install sdl2_image
$ brew install sdl2_ttf
mkdir ~/common-lisp
cd ~/common-lisp
git clone --branch apple-silicon-patch git@github.com:lem-project/cl-sdl2.git
git clone git@github.com:lem-project/cl-sdl2-ttf.git
git clone git@github.com:lem-project/cl-sdl2-image.git

Windows

Requirements

$ pacman -S mingw-w64-x86_64-roswell

$ pacman -S mingw-w64-x86_64-SDL2
$ pacman -S mingw-w64-x86_64-SDL2_image
$ pacman -S mingw-w64-x86_64-SDL2_ttf

Launch

* (ql:quickload :lem-sdl2)
* (lem:lem)

Keyboard Layout (Windows / Mac OS)

If your keyboard is a JIS layout, you need to put the following settings in $HOME/.lem/init.lisp

#+lem-sdl2
(lem-sdl2:set-keyboard-layout :jis)