Well, if I install the 'guile-sdl' package with Guix, then download the source package of guile-sdl & try running:
(load "image.scm")
I get something across the lines of:
'Unbound variable: datafile'
along with a black box.
datafile is defined in the 'common' file, but (load "common") doesn't work for me.
The slideshow application from the manual works just fine though.
ok, so, here we are
I installed both guile and guile-sdl in my profile
(guix package -i guile guile-sdl)
Then launched guile and loaded a sdl provided package
scheme@(guile-user)> ,use (sdl mixer)
it works
when using libraries, as far as I understand, you're not suupposed to load files directly
You are supposed to load namespaces and then use procedures provided by those namespaces
you might be interested in this one too (I'm not sure qat the difference between sdl and sdl2 is)
Ahh that makes sense now! Thanks 😅
@MutoShack
Guile maes me feel dumb all the time
It's frustrating, really
Which examples prrograms are you referring to, anyway ?