I suppose it's a bit of both, and unwillingness to depart from the code in the lispbuilder-sdl library (because I haven't done this before and lack in depth understanding) - I might want to compile it on a mac, and it's making sure that the sdl libraries that the lispbuilder were developed with are available to the delivered app.
By the way - you can try it out (no source code) at http://www.badongo.com/file/11369546. Just enter the code in the picture on the right, and then click the text immediately under it. If you want the source code, I might upload it somewhere, or email it to you. I'm new to 'actually writing (and distributing) software'... Cheers, Jon On Thu, Sep 18, 2008 at 5:18 AM, Elliott Slaughter < [EMAIL PROTECTED]> wrote: > On Mon, Sep 15, 2008 at 4:36 PM, Jonathan Johansen <[EMAIL PROTECTED]>wrote: >> >> >> I copied the foreign library code from >> .../lisp-builder-sdl/cffi/library.lisp: >> > > Interesting... Is there any advantage to that code (i.e. is it more > portable) or is it just a more explicit form of what Justin posted? > > (cffi:define-foreign-library sdl (t (:default "SDL"))) > > (cffi:define-foreign-library sdl >> > (:darwin (:framework "SDL")) >> > (:windows "SDL.dll") >> > (:unix (:or "libSDL-1.2.so.0.7.2" >> > "libSDL-1.2.so.0" >> > "libSDL-1.2.so" >> > "libSDL.so" >> > "libSDL"))) >> > > Thanks. > > -- > Elliott Slaughter > > "Any road followed precisely to its end leads precisely nowhere." - Frank > Herbert > > _______________________________________________ > application-builder mailing list > [email protected] > http://www.lispniks.com/mailman/listinfo/application-builder > >
_______________________________________________ application-builder mailing list [email protected] http://www.lispniks.com/mailman/listinfo/application-builder
