Thanks Luke, I typed that and it stopped the glue error. (pushnew "/usr/lib/cl-sdl/" cffi:*foreign-library-directories* :test #'equal)
The next thing I tried was to run the example. I loaded lispbuilder-sdl, lispbuilder-sdl-ttf and lispbuilder-sdl-ttf-examples. When I run (lispbuilder-sdl-ttf-examples:FONT-EXAMPLE) though I get an error: "SURFACE: SURFACE-FP must be a foreign pointer." and I am not sure what to do? Thanks > David Barker <[EMAIL PROTECTED]> writes: > >> >> Hi, I am struggling to get lispbuilder-sdl-ttf working and I was >> wondering >> if anyone knew what I should do. I try to run (asdf:operate >> 'asdf:load-op >> :lispbuilder-sdl-ttf) to load the package but it complains that it can't >> load the library lispbuilder-sdl-ttf-glue.so . I read the doc so I have >> run the "make install_ttf" command to install it. It put the .so in >> /usr/local/lib/cl-sdl and I have tried copying it to /usr/lib/cl-sdl too >> but that didn't help. > > Can you try adding the path to lispbuilder-sdl-ttf-glue.so like so? > > (pushnew "/blah/blah/" cffi:*foreign-library-directories* :test #'equal) > > - Luke > > _______________________________________________ > application-builder mailing list > application-builder@lispniks.com > http://www.lispniks.com/mailman/listinfo/application-builder > > _______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder