IRC channel logs
2025-10-18.log
back to list of logs
<old>I would like a way to specific a GOOP slot with: #:allocation #:each-subclass #:init-method a-method <old>where `a-method' would be class with the class of the instance to initialize <old>any easy way of doing so? If not, idea on where I need to hack the protocol? <old>(define-method (a-method (cls <class>)) ...) <resica>I request assistance from someone who knows g-golf (Guile bindings for GTK). I got it installed (or at least I think I do) and I get a cryptic error. No applicable method for #<<generic> run (3)> in call (run #<<gtk-application>. <sneek>resica, dsmith says: That's normal for (define ... xxx)'s on (+ 1 2) should show "=> 3" in minibuffer <daviid>resica: can you just run the distributed example, it could be the manaul has a tipo, i'll check <daviid>are you self installing from a clone or use a distro package? <resica>I compiled from source because fedora doesn't have g-golf in the repos. <daviid>ok, then the code is in <your-clone-dir>/examples/gtk-4 <daviid> you can cd there and then ../../pre-inst-env ./hello-world <daviid>or if you installed, just ./hello-world ofc <resica>Well I'll be damned, the hello world example from the docs worked, but it appears the manual was wrong. <daviid>i just patched but did not released yet, a user did report this problem, I fixed it recently ... <resica>Thank you very much. I'll trust the source documentation that was created when I typed 'make install-html' :) <daviid>if you cloned _and_ switch to the devel branch <daviid>that doc patch isn't in master yet <resica>Weird, I downloaded the stable tarball and using the env setup script I think fixed it. I think. Anyways, I'll keep the devel branch from git bookmarked. <daviid>the tarbll definitely does not have the patch <daviid>you're safe to clone and git checkout devel <daviid>then run the amke danse again, then make install-html should have the patch <daviid>resica: ok, let me know and/or ping me if you need help <daviid>which still is on the devel branch only ... <apteryx>eh, I'm silly, that matches anything <euouae>I spent days trying to figure out why gdb wasn't loading the C macros in my debug session for Guile until someone pointed out that Guile sneaks -flto into CFLAGS... :) <rlb>euouae: yeah, and imagine you saw, but you can ./configure --disable-lto ... <rlb>(which also avoids a good long pause on every build -- I do that fairly often)