Quicklisp, asdf and loading sequence - proper usage and loading order
stacksmith opened this issue · comments
I am still having trouble using this library - as well as related cl-xcb-xlib (and -demos). I think I am not understanding the intended use case.
The problem is that the libraries seem to require explicit runtime loading - the asdf dependencies don't seem to be enough. Is there some kind of swig or cffi requirement? Also the sequence of loading seems to be important - cl-xcb-xlib must be loaded first?
Well, cl-xcb-xlib
isn't required and at this point likely doesn't work. I had actually written c2ffi
to address the unmaintainability of its SWIG configuration, but perhaps ironically never got around to actually applying it (in part due to only recently implementing SBV in autowrap).
cl-cairo2
itself is usable as-is and you can use it to draw into memory. Most of the time this is sufficient; if you're using GL or similar it's the most straightforward way.
I'm not 100% certain on the examples; the PNG ones should work, though.