On Sat, 01 Aug 2009 23:51:58 -0700, Frank Buss <f...@frank-buss.de> wrote:
> trivial-features, babel and alexandria are needed for the latest cffi > version, but they are small libraries with some useful functions and > macros. Maybe we should bundle the libraries in the full release I know cl-build has a problem with this. Right now lispbuilder-sdl cannot be used with cl-build because we bundle trivial-features. > or at least write which combination of libraries is known to work.I'm > using LispWorks 4.3.7 and ASDF hangs when loading alexandria, butI think > I found the bug and sent an eMail to the alexandria mailing list. Doesn't this get into the specific dependencies of CFFI ? For example the latest version of CFFI may not work with the latest version of Alexandria. Or a later version of CFFI might not work with the previous version of Alexandria. Now the onus is placed on us to make sure we keep our list of dependencies in sync. > Then I've copied sdl.dll to lispbuilder-sdl\bin. > > But after this there were multiple times the error "Must specify an > ACTUAL-TYPE" from CFFI. I don't understand the reason in detail, but it > works, when changing all occurrences of ":string" to ":pointer" in the > SDL source, but maybe this is not the right solution, so we should > discuss this before I commit it. Could this be a problem with your older version of Lispworks+CFFI? > Finally "SYSTEM:SETUP-FOR-ALIEN-THREADS" doesn't exist in LispWorks > 4.3.7, so writing something like > > #+(and lispworks (not lispworks5.1) (not lispworks4.3)) > > instead of > > #+(and lispworks (not lispworks5.1)) > > gets it through the compiler. I'll test if it still works, when I need > audio output callbacks in my game :-) That means that you won't be able to use sdl-mixer as the callbacks from SDL_mixer requires support for alien threads. You should still be able to use the audio glue library that is included in lispbuilder-sdl. Perhaps we should write a glue library around SDL_mixer so that it becomes stable on Windows? - Luke _______________________________________________ application-builder mailing list application-builder@lispniks.com http://www.lispniks.com/mailman/listinfo/application-builder