Search
Saturday, 10th of April 2021, 6:10:03 UTC
14:29:27
opfez
does anyone have experience with cl-sdl2 on raspberry pi? can't get it to compile because it fails trying to run c2ffi
14:29:49
phoe
why does it fail to run c2ffi?
14:30:16
opfez
it just says it exited with error code 1
14:30:41
opfez
i'll paste the error, give me a sec
14:30:53
phoe
check the inferior-lisp buffer and/or the REPL, it should contain either the c2ffi invocations or c2ffi error messages
14:31:24
phoe
in the earlier case, you'll have a shell command that you will be able to repeat yourself in a terminal, and you'll get the error messages
14:32:27
opfez
https://gist.github.com/opFez/02b5f12aa3611980b4285ae251a65c71
14:32:50
opfez
hm yeah i have tried running it and it doesn't provide any useful information
14:33:20
phoe
L19-L22 has the full command
14:33:53
phoe
(format nil "~{~A~^ ~}") it and you will have something copypastable into your shell
14:34:08
opfez
yep, tried running that. the 8.0.1 part is wrong which i replaced with my actual clang version, still didn't work
14:34:25
phoe
what's the error that c2ffi gives?
14:37:14
opfez
https://gist.github.com/opFez/c196f0848e4750834f526dda829bc889
14:37:57
opfez
looks like mostly type declarations it can't find (uint8_t etc.)
14:39:58
phoe
weird, I can see that the C-INCLUDE form is supposed to include stdint.h which has these C type definitions.
14:52:40
shka_
phoe: it is supposed to have in a proper C standard
14:53:20
opfez
in addition to this, i manually went into the sdl2 include file and added a #include <stdint.h>, didn't work either
15:11:48
Xach
"last modified: 12 years ago"
15:12:06
Xach
jackdaniel: have you been changing mcclim so much that beirc breaks? or something?
15:31:14
scymtym
Xach: do you have a failure report for that?
15:32:34
phoe
mfiano: maybe you could try debug the cl-sdl2 c2ffi failure from above
15:33:13
mfiano
Maybe someone with an rpi could. That would be far easier :)
16:27:39
splittist
How do I programmatically create a NaN (Not a Number) on those implementations that support them? Alternatively, what would be good libraries to look for such an answer?
16:35:15
splittist
For sbcl I have with-float-traps-masked to play with, I guess.
16:39:31
jackdaniel
Xach: yes, let me see what was the previous behavior
16:39:49
jackdaniel
I'm backporting non trivial amounts of code currently
16:50:51
jackdaniel
scymtym: the regression was caused by the fact that normalize-keyboard-physical-gesture tries to enforce a fixed set of keywords
16:52:10
jackdaniel
Xach: thanks for the report, I've reverted the part that beirc didn't like
16:53:02
jackdaniel
during upcoming days there may be few more regressions (most likely due to my screw ups)
17:26:33
Bike
splittist: there is https://github.com/Shinmera/float-features
17:27:01
splittist
Bike: yes. I'm looking at nan.lisp (which does not seem to be part of the system)
17:27:32
Bike
or have i contracted reverse blindness
17:32:07
splittist
ahem. <updates quiclisp dist>
17:34:35
splittist
It works! (Underlines previous note to self: when looking for libraries start with Shinmeraware)
17:35:03
Shinmera
float-features seems to be my most-used library somehow.
17:35:10
Shinmera
At least from the amount of comments I see about it.
17:59:12
splittist
I confess I am too stupid to know how to use the nan constants in a function (without sbcl complaining about an invalid comparison)
18:00:34
Lycurgus
ACTION hopes theys conditions
18:02:54
splittist
And when I say 'use', I mean merely 'return'.
Saturday, 10th of April 2021, 18:10:03 UTC