Skip to content

longlene/cl-raylib

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
August 5, 2022 14:33
src
December 25, 2022 21:15
March 5, 2017 00:49
April 9, 2020 09:46

cl-raylib

Common Lisp binding of raylib

basic example

  1. install raylib

cl-raylib require raylib dynamic library

run brew install raylib to install the library if run example on macOS

  1. install cffi

cl-raylib use cffi to load dynamic library

quicklisp can install cffi automatically, or installing cffi with system package manager is also ok

  1. fetch cl-raylib code

cl-raylib is not on quicklisp now, so you should fetch it manually

git clone https://github.com/longlene/cl-raylib.git ~/.quicklisp/local-projects/cl-raylib

my quicklisp install path is ~/.quicklisp

clone to ~/.local/share/common-lisp/source/cl-raylib is ok if you has no quicklisp

  1. run basic example

enter sbcl repl (or ccl etc) 😊

sbcl --load ~/.quicklisp/local-projects/cl-raylib/examples/basic.lisp --quit

Press ESC to close the basic window