00:11:39 | * | skippy8 quit (Quit: WeeChat 4.7.0) |
00:21:56 | * | beholders_eye quit (Ping timeout: 256 seconds) |
02:32:23 | * | amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in) |
02:38:22 | * | rockcavera joined #nim |
03:39:01 | * | mal`` quit (Server closed connection) |
03:43:09 | * | mal`` joined #nim |
04:00:18 | * | tiorock joined #nim |
04:00:18 | * | tiorock quit (Changing host) |
04:00:18 | * | tiorock joined #nim |
04:00:18 | * | rockcavera is now known as Guest6061 |
04:00:18 | * | tiorock is now known as rockcavera |
04:02:20 | * | tiorock joined #nim |
04:02:20 | * | rockcavera is now known as Guest5591 |
04:02:20 | * | tiorock is now known as rockcavera |
04:04:08 | * | Guest6061 quit (Ping timeout: 248 seconds) |
04:05:12 | * | Guest5591 quit (Ping timeout: 248 seconds) |
04:12:25 | * | alexdaguy joined #nim |
05:51:14 | * | skippy8 joined #nim |
06:33:37 | * | tiorock joined #nim |
06:33:38 | * | rockcavera quit (Killed (tungsten.libera.chat (Nickname regained by services))) |
06:33:38 | * | tiorock is now known as rockcavera |
06:35:40 | * | tiorock joined #nim |
06:35:40 | * | rockcavera is now known as Guest8028 |
06:35:40 | * | Guest8028 quit (Killed (calcium.libera.chat (Nickname regained by services))) |
06:35:40 | * | tiorock is now known as rockcavera |
08:48:28 | * | xtr00 quit (Read error: Connection reset by peer) |
08:49:57 | * | xtr00 joined #nim |
09:21:02 | * | tmpod quit (Read error: Connection reset by peer) |
09:21:02 | * | Freneticks quit (Read error: Connection reset by peer) |
09:21:10 | * | Freneticks joined #nim |
09:21:11 | * | tmpod_ joined #nim |
09:21:36 | * | tmpod_ is now known as tmpod |
10:19:51 | * | amadaluzia joined #nim |
10:27:32 | * | oprypin quit (Server closed connection) |
10:27:42 | * | oprypin joined #nim |
10:44:26 | * | alexdaguy quit (Quit: w) |
11:29:21 | * | Ekho quit (Quit: CORE ERROR, SYSTEM HALTED.) |
11:41:15 | * | Ekho joined #nim |
13:09:54 | * | xet7 joined #nim |
14:24:22 | * | beholders_eye joined #nim |
14:29:47 | * | PMunch joined #nim |
14:33:19 | PMunch | Hmm, trying to do some stuff with shady and I get a "Undefined reference to 'nimLoadProcs0'" error |
14:33:23 | PMunch | Anyone know what that is about? |
14:33:28 | PMunch | It comes from the C compiler |
14:35:51 | FromDiscord | <Robyn [She/Her]> what's shady? but sounds either like a cgen error or something shady is going on in Shady internals↵(<@709044657232936960_=50=4dunch=5b=49=52=43=5d>) |
14:36:32 | PMunch | Shady is treeforms shader library |
14:36:56 | PMunch | I'm trying to write a GPU shader to perform some dithering |
14:40:08 | FromDiscord | <Robyn [She/Her]> ah, and does this only happen with your code specifically or any code using shady? |
14:40:45 | PMunch | Well I've only tried this code so far, but the error comes from `initOffscreenWindow` which is something that must be called by all Shady projects if I understand correctly |
14:41:58 | PMunch | So apparently nimLoadProcs0 is from the `loadExtensions` template in the opengl package |
14:42:15 | PMunch | Which is defined as `proc nimLoadProcs0() {.importc.}` |
14:42:36 | PMunch | I'm guessing it's a part of the generated Nim sources |
14:46:45 | PMunch | Hmm, I do find a reference to it in cgen.nim |
14:47:03 | PMunch | But it's not very clear to me what it is supposed to do and where it comes from |
14:48:09 | PMunch | Only reference I find to this error is here: https://forum.nim-lang.org/t/1843 |
14:50:48 | PMunch | Huh, there's also this: https://forum.nim-lang.org/t/17 |
14:50:57 | PMunch | Thread number 17 on the forum.. |
14:51:10 | PMunch | So this has been a problem for a while |
14:51:27 | FromDiscord | <Robyn [She/Her]> i assume it initialises whatever is needed for procs? \:p↵(<@709044657232936960_=50=4dunch=5b=49=52=43=5d>) |
14:51:33 | FromDiscord | <Robyn [She/Her]> oof↵(<@709044657232936960_=50=4dunch=5b=49=52=43=5d>) |
14:54:18 | * | skippy8 quit (Quit: WeeChat 4.7.0) |
14:55:35 | PMunch | Ah, I think I might've figured it out |
14:55:55 | PMunch | "Well your code needs to use an extension proc otherwise loadExtensions indeed causes a linker error..." - from Araq |
14:56:58 | PMunch | And I had commented out the actual call to the GPU shader code and was testing it on the CPU instead, and because of dead code elimination the GPU stuff never made it into the output so it didn't trigger the creation of nimLoadProcs0 |
14:57:34 | FromDiscord | <Robyn [She/Her]> ahhh |
15:07:39 | * | amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in) |
15:54:18 | * | amadaluzia joined #nim |
15:59:48 | * | amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in) |
16:08:30 | * | _________ quit (Server closed connection) |
16:08:52 | * | _________ joined #nim |
17:23:37 | * | lumidify quit (Server closed connection) |
17:23:53 | * | lumidify joined #nim |
17:28:25 | * | beholders_eye quit (Ping timeout: 248 seconds) |
19:08:45 | * | beholders_eye joined #nim |
19:27:27 | FromDiscord | <TӨMΛ ☠> In reply to @nasuray "Could also be a": You were right, just copy-pasting nimble.exe from 2.0.0 to 2.2.4 solved the issue lol |
19:28:01 | FromDiscord | <TӨMΛ ☠> Glad I did it before doing that whole bisect, though I will do the bisect one day just to learn the process because it sounds fascinating |
19:28:19 | FromDiscord | <TӨMΛ ☠> Happy though that I'm not forced to do it just because I wanted to test Koi framework |
20:00:48 | * | Guest36 joined #nim |
20:01:11 | * | Guest36 quit (Client Quit) |
20:31:24 | * | skippy8 joined #nim |
20:41:35 | PMunch | I'm more and more starting to think I just just drop Shady and write the shader manually.. |
22:08:46 | * | _________ quit (Ping timeout: 255 seconds) |
22:23:36 | * | PMunch quit (Quit: leaving) |
22:34:00 | * | beholders_eye quit (Ping timeout: 248 seconds) |
22:35:59 | * | beholders_eye joined #nim |
22:37:43 | * | ftajhii quit (Server closed connection) |
23:00:00 | * | skippy8 quit (Quit: WeeChat 4.7.0) |
23:07:47 | * | tiorock joined #nim |
23:07:48 | * | rockcavera quit (Killed (tungsten.libera.chat (Nickname regained by services))) |
23:07:48 | * | tiorock is now known as rockcavera |
23:13:18 | * | beholders_eye quit (Ping timeout: 245 seconds) |
23:15:13 | * | beholders_eye joined #nim |
23:26:29 | * | xet7 quit (Remote host closed the connection) |
23:51:45 | * | beholders_eye quit (Ping timeout: 258 seconds) |