cl-sdl2-ttf icon indicating copy to clipboard operation
cl-sdl2-ttf copied to clipboard

Update for library.lisp for OpenBSD needed?

Open rpx99 opened this issue 2 years ago • 1 comments

Hi, is it correct to extend for OpenBSD the library.lisp file with "libSDL2_ttf.so.0.1" ?

(:unix (:or "libSDL2_ttf-2.0.so.0" "libSDL2_ttf" "libSDL2_ttf.so.0.1"))

If I don't it doesn't find the lib:

(ql:quickload :sdl2-ttf) To load "sdl2-ttf": Load 1 ASDF system: sdl2-ttf ; Loading "sdl2-ttf" .................... debugger invoked on a CFFI:LOAD-FOREIGN-LIBRARY-ERROR in thread #<THREAD "main thread" RUNNING {10013D8003}>: Unable to load any of the alternatives: ("libSDL2_ttf-2.0.so.0" "libSDL2_ttf")

On my system it's located here:

tron$ ldconfig -r | grep ttf 744:-lSDL2_ttf.0.1 => /usr/local/lib/libSDL2_ttf.so.0.1

Thanks.

rpx99 avatar Dec 06 '23 16:12 rpx99

I cannot commit this one because it is not under lispgames. The similar patch for cl-sdl2-image did not cause any issues for me, so this one is probably also fine to go in.

fitzsim avatar Sep 14 '24 12:09 fitzsim