00:15:29 | FromDiscord | <dusa2986> Do yall have any good resources for learning nim? Something that has you create something as you learn? |
00:21:27 | FromDiscord | <Elegantbeef> `-d:debug` is not a thing↵(@nycto) |
00:22:39 | FromDiscord | <Elegantbeef> I don't know how to debug nimsuggest, but I don't think there a way to step back from release or danger once set |
00:34:06 | FromDiscord | <__nycto__> In reply to @Elegantbeef "I don't know how": I dunno. I got all those flags from here: https://nim-lang.org/docs/intern.html#debugging-the-compiler-building-an-instrumented-compiler |
00:34:09 | * | beholders_eye quit (Ping timeout: 245 seconds) |
00:35:43 | FromDiscord | <Elegantbeef> Hmph it appears `--undef:release --undef:danger` works with general nim code |
00:35:57 | FromDiscord | <Elegantbeef> Maybe there is a check in the configs to disable it for that project |
00:37:14 | FromDiscord | <Elegantbeef> Ah right that's for the compiler it enables the important things under debug |
00:38:25 | FromDiscord | <Elegantbeef> You might be able to do `--stacktrace:on --linetrace:on` |
00:38:45 | FromDiscord | <Elegantbeef> `--excessiveStackTrace:on` as well could help |
00:44:16 | FromDiscord | <theloserscandy> For some reason I'm having a hard time understanding the concept of when and how to use discard and {.discardable. }. Can someone help provide a really simple way to explain it? |
00:44:59 | FromDiscord | <Elegantbeef> Never use discardable, if an expression exists you must either use the value or `discard` it |
00:45:19 | FromDiscord | <Elegantbeef> Ok not never use it, but only use it on procedures that you don't care about the result and will be calling it often |
00:50:34 | FromDiscord | <theloserscandy> sent a long message, see https://pasty.ee/qAsMmJTG |
00:51:25 | FromDiscord | <Elegantbeef> Yes Nim is a expressionful which means if a value is not handled it's expected to bubble up and if it's never handled the compiler errors |
00:51:34 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=KJptpYfy |
00:51:39 | FromDiscord | <Elegantbeef> notice no `return 100` just `100` |
00:52:10 | FromDiscord | <Elegantbeef> In other languages(Python and C) it's completely valid to have just a value doing nothing |
00:52:55 | FromDiscord | <Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=qKjDsiWF |
00:53:39 | FromDiscord | <theloserscandy> My path ahs been Python => Julia => Nim. I've not encountered that before. |
00:54:08 | FromDiscord | <Elegantbeef> You have encountered the inverse where python previously did `"""Comment here"""` 😄 |
00:54:38 | FromDiscord | <Elegantbeef> Embrace expressions be merry |
01:08:38 | * | tiorock joined #nim |
01:08:38 | * | tiorock quit (Changing host) |
01:08:38 | * | tiorock joined #nim |
01:08:38 | * | rockcavera is now known as Guest7443 |
01:08:38 | * | Guest7443 quit (Killed (lead.libera.chat (Nickname regained by services))) |
01:08:38 | * | tiorock is now known as rockcavera |
01:10:46 | * | tiorock joined #nim |
01:10:46 | * | rockcavera is now known as Guest8953 |
01:10:46 | * | Guest8953 quit (Killed (lithium.libera.chat (Nickname regained by services))) |
01:10:46 | * | tiorock is now known as rockcavera |
01:26:31 | * | derpydoo joined #nim |
01:43:39 | * | rockcavera quit (Remote host closed the connection) |
02:13:07 | * | n|Phreak quit (Read error: Connection reset by peer) |
02:15:12 | FromDiscord | <Laylie> implicitly discardable expressions are evil |
02:15:12 | FromDiscord | <Laylie> see go |
02:32:19 | FromDiscord | <devlop_gaming> sent a long message, see https://pasty.ee/XAqCycAT |
02:33:37 | FromDiscord | <Elegantbeef> If you're on linux you use `-rpath` if you're on windows I have not a clue in the world, just but the .dlls next to the exer |
02:33:54 | FromDiscord | <devlop_gaming> I am on windows |
04:20:41 | * | n|Phreak joined #nim |
04:42:50 | * | amadaluzia quit (Ping timeout: 260 seconds) |
05:08:28 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
05:49:00 | * | SchweinDeBurg joined #nim |
06:02:29 | * | amadaluzia joined #nim |
06:08:35 | * | coldfeet joined #nim |
06:34:04 | * | ntat joined #nim |
07:21:56 | FromDiscord | <devlop_gaming> Does anyone know how to make nim include my bin folder? |
07:23:50 | * | ntat quit (Quit: leaving) |
07:40:13 | FromDiscord | <devlop_gaming> Anyone know how to turn a nim project into a standalone executable? |
07:42:09 | FromDiscord | <aintea> In reply to @dusa2986 "Do yall have any": You have Nim Days |
07:42:18 | FromDiscord | <aintea> And I'm still working on a Rustlings alternative for Nim |
07:42:27 | FromDiscord | <aintea> Nim Days is really fun |
07:42:30 | * | andy-turner joined #nim |
07:42:35 | FromDiscord | <aintea> You can also do advent of code |
07:43:10 | FromDiscord | <dusa2986> In reply to @aintea "You have Nim Days": Thanks! |
07:43:18 | * | andy-turner quit (Remote host closed the connection) |
07:49:55 | * | ntat joined #nim |
07:50:31 | Amun-Ra | devlop_gaming: does adding relative path to library filename work? |
07:51:07 | Amun-Ra | there's also that: 'https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-setdlldirectorya?redirectedfrom=MSDN' |
07:52:02 | Amun-Ra | usually dlls are in the same directory as an exe (and I'm not a windows user) |
08:00:24 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "usually dlls are in": I tried that too but after compiling with --app:gui and running from file explorer none of the text is rendered so I don't think it's able to find the dll outside of a terminal for some reason |
08:00:36 | * | ntat quit (Read error: Connection reset by peer) |
08:05:41 | * | ntat joined #nim |
08:06:47 | FromDiscord | <pmunch> In reply to @Elegantbeef "Never use discardable, if": Fun fact, I considered adding `{.discardable.}` to all Futhark output as C functions will often return something which gets ignored |
08:10:27 | * | ntat quit (Read error: Connection reset by peer) |
08:22:36 | FromDiscord | <theloserscandy> In reply to @dusa2986 "Do yall have any": I asked one of my AI's how to master Nim in two weeks and it gave me this response - maybe it helps you. https://media.discordapp.net/attachments/371759389889003532/1361980079009435779/Learning_Nim.pdf?ex=6800ba4b&is=67ff68cb&hm=c67d5f339142d7281b3ce31cf815222dd684ed56be109e2dfbbb242c97a7c0f1& |
08:23:27 | FromDiscord | <dusa2986> In reply to @theloserscandy "I asked one of": Thanks |
08:36:46 | FromDiscord | <mimidragon.> sent a code paste, see https://play.nim-lang.org/#pasty=tjgOQYGw |
08:38:59 | * | ntat joined #nim |
08:55:19 | * | ntat quit (Read error: Connection reset by peer) |
09:15:55 | * | beholders_eye joined #nim |
09:27:45 | * | ntat joined #nim |
09:29:09 | * | beholders_eye quit (Ping timeout: 245 seconds) |
09:43:12 | * | amadaluzia_ joined #nim |
09:53:28 | * | redj quit (Quit: No Ping reply in 180 seconds.) |
09:53:50 | * | redj joined #nim |
10:28:01 | * | ntat quit (Read error: Connection reset by peer) |
10:32:36 | * | derpydoo quit (Quit: derpydoo) |
11:18:27 | * | ntat joined #nim |
11:49:04 | * | ntat quit (Quit: leaving) |
12:12:01 | * | amadaluzia_ quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
12:17:59 | * | amadaluzia_ joined #nim |
12:44:40 | * | beholders_eye joined #nim |
12:50:34 | * | amadaluzia quit (Ping timeout: 276 seconds) |
12:50:58 | * | amadaluzia joined #nim |
13:26:22 | * | coldfeet quit (Quit: Lost terminal) |
13:32:50 | FromDiscord | <spotlightkid> Another occasion for "never say never" 😉↵re Futhark\: the new pragma callback is perfect for that use case.↵(@pmunch) |
13:38:09 | FromDiscord | <devlop_gaming> In reply to @mimidragon. "Could you try this": Can't do that |
13:38:26 | FromDiscord | <devlop_gaming> There's important things it needs that's in the src folder |
13:43:35 | FromDiscord | <pmunch> In reply to @spotlightkid "Another occasion for "never": Oh yeah, didn't think about that but it could definitely be used for adding discardable! |
13:50:57 | * | amadaluzia quit (Ping timeout: 244 seconds) |
13:52:36 | * | n|Phreak quit (Read error: Connection reset by peer) |
13:52:47 | * | amadaluzia_ quit (Ping timeout: 265 seconds) |
15:03:34 | * | ntat joined #nim |
15:39:58 | * | ntat quit (Ping timeout: 245 seconds) |
15:59:54 | * | n|Phreak joined #nim |
16:06:58 | * | amadaluzia joined #nim |
16:19:11 | * | xet7 quit (Remote host closed the connection) |
16:26:46 | FromDiscord | <aintea> We cannot use the stdlib using manual memory management, would it be possible to make a second version of the standard library but using manual memory management ? Like as a library that you have to include in your nimble file ? |
16:27:02 | FromDiscord | <aintea> A communautary rewrite, as Araq might be doing something else right now |
16:30:58 | FromDiscord | <Robyn [She/Her]> In reply to @aintea "We cannot use the": Yeah you probably could, but idk anyone here who'd do it so you'd have to do it yourself |
16:31:43 | FromDiscord | <Robyn [She/Her]> also you'd have to port many community libraries too since they wouldn't be designed for a non-GC environment |
16:31:49 | FromDiscord | <Robyn [She/Her]> imo save urself the trouble and use arc |
16:43:05 | FromDiscord | <devlop_gaming> Does anyone know how i can make my nim project into a standalone executable? |
16:44:48 | FromDiscord | <aintea> Just compile it |
16:44:57 | FromDiscord | <aintea> `nimble build -d:release` |
16:45:14 | FromDiscord | <aintea> You'll get a binary for Unix like systems or an exe for Windows |
16:45:37 | FromDiscord | <aintea> Feel free to cry as your program will most likely be considered a virus by Windows Defender |
16:48:16 | FromDiscord | <devlop_gaming> Eh i never sign it |
16:50:12 | FromDiscord | <devlop_gaming> In reply to @aintea "Just compile it": Error: Could not find a file with a .nimble extension inside the specified directory: C:\Users\Dreca\OneDrive\Dreaminate |
16:50:31 | FromDiscord | <aintea> Can you show me the content of the directory |
16:50:45 | FromDiscord | <aintea> If it says there's no nimble file then there's most likely no nimble file |
16:51:02 | FromDiscord | <aintea> Except if you decided not to give the read permission of the directory to your file |
16:51:02 | FromDiscord | <devlop_gaming> https://media.discordapp.net/attachments/371759389889003532/1362108033332936714/image.png?ex=68013175&is=67ffdff5&hm=881cbac6f9b652cb76102462227508e7c183e07bf54e649013dff8eea25d7a0b& |
16:51:13 | FromDiscord | <aintea> There is no nimble file, no wonder |
16:51:16 | FromDiscord | <devlop_gaming> I don't even know what a nimble file is |
16:51:27 | FromDiscord | <aintea> How did you make this project architecture |
16:51:44 | FromDiscord | <devlop_gaming> I just made a directory |
16:51:54 | FromDiscord | <aintea> When you do `nimble init <project_name>`, it makes a file structure, with a `src/` and a nimble file |
16:51:58 | FromDiscord | <aintea> In reply to @devlop_gaming "I just made a": I see |
16:52:09 | FromDiscord | <aintea> Do you have the compiler on your system |
16:52:38 | FromDiscord | <devlop_gaming> In reply to @aintea "Do you have the": Yes |
16:52:42 | FromDiscord | <aintea> Ok so |
16:52:52 | FromDiscord | <aintea> In the terminal, go to your project folder |
16:53:01 | FromDiscord | <aintea> Make a backup of the project just in case I'm wrong |
16:53:38 | FromDiscord | <aintea> Then do `nimble init` and answer the questions |
16:53:47 | FromDiscord | <aintea> And your nimble file should be automatically created |
16:54:07 | FromDiscord | <nasuray> you can also compile your project with just `nim c src/main` . Nimble is not required to work with `nim` |
16:54:25 | FromDiscord | <aintea> He has a whole file structure, I guess it would be better for him to have a whole project |
16:54:58 | FromDiscord | <aintea> Then when you have your nimble file just `nimble build -d:release` and you should be good |
16:55:30 | FromDiscord | <devlop_gaming> In reply to @aintea "Then when you have": And this will give me a standalone executable? |
16:55:33 | FromDiscord | <aintea> Yes |
16:56:03 | FromDiscord | <aintea> You can also cross compile it if you want to compile it to Unix like systems on your windows machine |
16:56:08 | FromDiscord | <aintea> And vice versa |
16:56:14 | FromDiscord | <aintea> But you're on Windows so it's the first caE |
16:56:19 | FromDiscord | <aintea> (edit) "caE" => "case" |
16:56:32 | FromDiscord | <Robyn [She/Her]> In reply to @aintea "Feel free to cry": that's if you use the shipped compiler with Nim for Windows, crosscompiling on Linux for Windows via Clang for some reason doesn't trip it up |
16:56:39 | FromDiscord | <devlop_gaming> I can also compile for linux since i have wsl |
16:56:39 | FromDiscord | <aintea> Really ? |
16:56:45 | FromDiscord | <aintea> Yeah also |
16:56:59 | FromDiscord | <aintea> Tell me when you have the standalone executable |
16:57:04 | FromDiscord | <devlop_gaming> In reply to @battery.acid.bubblegum "that's if you use": Wait what? |
16:57:07 | FromDiscord | <aintea> If you encounter any problem ping me |
16:57:25 | FromDiscord | <devlop_gaming> Ok thank you i'm gonna go try rq |
16:57:25 | FromDiscord | <aintea> In reply to @devlop_gaming "Wait what?": In fewer words: windows crosscompiling goes bing bong Nuh huh |
16:57:31 | FromDiscord | <aintea> Because windows |
16:57:40 | FromDiscord | <Robyn [She/Her]> In reply to @aintea "Really ?": Yeah, did it before |
16:57:45 | * | coldfeet joined #nim |
16:57:59 | FromDiscord | <Robyn [She/Her]> Tho I was using ZigCC specifically, but shouldn't change anything since that just uses Clang |
16:58:05 | FromDiscord | <aintea> Btw I'm pretty sure it's all lost and hopeless but is there a way to recover files in a ciphered 7z archive ? |
16:58:17 | FromDiscord | <devlop_gaming> In reply to @aintea "In fewer words: windows": I have a computer running linux so i'll use that if i can't get the linux executable from my windows machine |
16:58:24 | FromDiscord | <aintea> I have a small project I ciphered but I don't remember the password |
16:58:40 | FromDiscord | <aintea> It's an 20 characters alphanumeric with special characters password |
16:59:34 | FromDiscord | <devlop_gaming> Password? |
17:00:48 | FromDiscord | <aintea> No the password is not "password" |
17:00:58 | FromDiscord | <aintea> And I don't remember the password |
17:01:12 | FromDiscord | <enthus1ast.> Maybe it's still in bash history? |
17:02:02 | FromDiscord | <aintea> It was on a virtual machine that I deleted, on another computer I don't own anymore, and I made sure the password wasn't in the bash history |
17:02:19 | FromDiscord | <aintea> 😀 |
17:02:35 | FromDiscord | <aintea> I don't know if I can do any worse lmao |
17:02:50 | FromDiscord | <devlop_gaming> This is why i keep things on onedrive |
17:03:01 | FromDiscord | <enthus1ast.> Then gl |
17:03:17 | FromDiscord | <aintea> Let's hope I have the project somewhere on my disk |
17:03:37 | FromDiscord | <aintea> Because I remember dezipping it to test if the transfer from a computer to my current one was successful |
17:03:45 | FromDiscord | <enthus1ast.> In reply to @devlop_gaming "This is why i": I keep mine on GitHub 🙂 |
17:04:03 | FromDiscord | <aintea> Btw did you guys see gitlab's AI is training on gitlab code now ? |
17:04:52 | FromDiscord | <devlop_gaming> Rlly? |
17:05:59 | FromDiscord | <enthus1ast.> In reply to @aintea "Because I remember dezipping": Depending on how much you've used your machine and how important the stuff is, you could make a dd/ddrescue backup if the disk, then run photorect and or Testdisk undelete on the image |
17:06:23 | FromDiscord | <enthus1ast.> This might yield something |
17:06:28 | FromDiscord | <aintea> In reply to @devlop_gaming "Rlly?": Yep |
17:06:33 | FromDiscord | <aintea> In reply to @enthus1ast. "This might yield something": I'll test it out |
17:10:43 | FromDiscord | <devlop_gaming> sent a long message, see https://pasty.ee/ftpRGujk |
17:13:57 | * | om3ga joined #nim |
17:19:07 | FromDiscord | <Robyn [She/Her]> What's the difference between rsplit and split? |
17:19:25 | FromDiscord | <Robyn [She/Her]> oh wait |
17:19:30 | FromDiscord | <Robyn [She/Her]> rsplit = right split |
17:19:32 | FromDiscord | <Robyn [She/Her]> Got it |
17:19:43 | FromDiscord | <devlop_gaming> Oh nvm for some reason running the command inside vs code causes an error |
17:25:26 | FromDiscord | <devlop_gaming> sent a long message, see https://pasty.ee/YJOyTBRQ |
17:30:52 | FromDiscord | <aintea> No idea |
17:30:56 | FromDiscord | <aintea> Show me your nimble file |
17:34:33 | FromDiscord | <devlop_gaming> sent a long message, see https://pasty.ee/qXGCnliE |
17:34:56 | Amun-Ra | is sdl3 an external package? |
17:35:16 | FromDiscord | <devlop_gaming> Yea |
17:35:19 | Amun-Ra | if so, add requires "sdl3" |
17:38:33 | FromDiscord | <devlop_gaming> I managed to get it to work but now it's complaining about missing dlls |
17:39:47 | Amun-Ra | it must be either in the current dir, windows system one or anywhere in the %PATH% |
17:40:16 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "it must be either": No it can't find SDL3.dll |
17:40:27 | FromDiscord | <devlop_gaming> Which is in src dir |
17:40:53 | Amun-Ra | where's the exe? |
17:41:29 | FromDiscord | <devlop_gaming> root of the project directory |
17:41:44 | Amun-Ra | then it works as expected by windows |
17:42:08 | FromDiscord | <devlop_gaming> So why weren't the dlls included? |
17:42:36 | Amun-Ra | in the nim package? the package is only a wrapper |
17:43:09 | FromDiscord | <devlop_gaming> Then how am i supposed to make the executable standalone?? |
17:43:26 | FromDiscord | <Elegantbeef> Codeberg is the last vestige of sanctuary↵(@aintea) |
17:43:49 | FromDiscord | <Elegantbeef> By statically linking sdl3 with your program |
17:43:56 | FromDiscord | <Elegantbeef> But SDL's team suggests against it |
17:44:02 | Amun-Ra | devlop_gaming: provide sdl3.dll next to the exe |
17:44:17 | FromDiscord | <devlop_gaming> Then it's not standalone. |
17:44:18 | Amun-Ra | yes, sdl static linking is a pita |
17:44:38 | Amun-Ra | (on linux) |
17:45:05 | FromDiscord | <Elegantbeef> Nah it's not amun |
17:45:06 | FromDiscord | <devlop_gaming> Why is static linking considered bad? |
17:45:14 | Amun-Ra | devlop_gaming: get sdl3.lib (it must be compiled with the same compiler as your project) and use dynliboverride |
17:45:19 | FromDiscord | <Elegantbeef> I can statically link it for both windows and linux on my machine 😛 |
17:45:33 | Amun-Ra | Elegantbeef: tbh it's been a long time since I tried that ;) |
17:45:36 | FromDiscord | <devlop_gaming> In reply to @Elegantbeef "I can statically link": -_- |
17:46:06 | FromDiscord | <Elegantbeef> Cause it tightly binds the package to your game so any updates or changes require the game to be rereleased, the thing is sdl still is dynamically loadable when you statically link it |
17:46:28 | FromDiscord | <Elegantbeef> Yea amun there is a nice `mingw` sdl package in the AUR I use for building my game for windows, just to reduce the file size a tinge |
17:46:46 | Amun-Ra | devlop_gaming: if there's any bug in the sdl version you've used, the only way to get rid of it is to recompile the whole package |
17:47:08 | FromDiscord | <devlop_gaming> I don't think there is? |
17:47:26 | FromDiscord | <Elegantbeef> Nah amun that's wrong with sdll |
17:47:38 | FromDiscord | <devlop_gaming> What? |
17:47:47 | FromDiscord | <Elegantbeef> Sdl has a dll loading mechanism so you can drop a dll next to it and it'll load the symbols from that |
17:47:56 | FromDiscord | <Elegantbeef> It's still silly to do that |
17:47:56 | Amun-Ra | Elegantbeef: that I didn't know |
17:47:59 | FromDiscord | <Elegantbeef> Just ship the dll no one will care |
17:48:42 | FromDiscord | <devlop_gaming> But who wants to download a bunch of dlls and have it sitting on their system? No one and that's messy. |
17:48:45 | FromDiscord | <Elegantbeef> https://github.com/libsdl-org/SDL/blob/main/docs/README-dynapi.md#dynamic-api if you want a read |
17:48:57 | FromDiscord | <Elegantbeef> It's not messy |
17:49:02 | FromDiscord | <devlop_gaming> How do i statically link |
17:49:05 | FromDiscord | <Elegantbeef> Cause it's shipped with the game and next to the binary |
17:49:08 | FromDiscord | <Elegantbeef> This is a windows problem |
17:49:18 | FromDiscord | <Elegantbeef> RTFM |
17:49:33 | Amun-Ra | 1. get the .lib, 2. dynliboverride |
17:49:54 | Amun-Ra | you can't link statically a dll |
17:49:54 | FromDiscord | <devlop_gaming> What .lib? |
17:50:05 | FromDiscord | <Elegantbeef> Just ship a dynamic library |
17:50:13 | FromDiscord | <Elegantbeef> It's what SDL's team wants you to do |
17:50:16 | Amun-Ra | +1 |
17:51:10 | FromDiscord | <devlop_gaming> Idc what they want. Imagine i have 5 application depending on like atleast 20 dlls..I wouldn't wanna scroll through all that. |
17:51:52 | FromDiscord | <Elegantbeef> Scroll through what? |
17:52:05 | Amun-Ra | devlop_gaming: .lib file the windows extension for static libraries |
17:52:28 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "devlop_gaming: .lib file the": Where and how do i get it? |
17:52:34 | FromDiscord | <Elegantbeef> Windows games have always just shipped dlls next to the exe |
17:52:41 | Amun-Ra | devlop_gaming: build it yourself |
17:52:42 | FromDiscord | <Elegantbeef> Windows never really embraced the ship once depend many for most libraries |
17:52:42 | FromDiscord | <leorize> .lib is also for import libraries |
17:52:49 | FromDiscord | <Elegantbeef> By building it yourself |
17:53:06 | Amun-Ra | devlop_gaming: …or check if sdl3 team provide one for you |
17:53:14 | Amun-Ra | provides* even |
17:53:51 | FromDiscord | <devlop_gaming> Idk where to look |
17:54:08 | Amun-Ra | I'd try sdl3 page |
17:55:08 | FromDiscord | <devlop_gaming> Omg |
17:55:46 | FromDiscord | <ivy.pyramid> does c2nim know what stdint.h is? |
17:56:34 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "I'd try sdl3 page": Idk where to look like seriously |
17:56:46 | FromDiscord | <ivy.pyramid> and is it supposed to use like 9gb of ram and growing |
17:57:14 | FromDiscord | <ivy.pyramid> https://media.discordapp.net/attachments/371759389889003532/1362124690126147695/image.png?ex=680140f9&is=67ffef79&hm=9e0d80088dfc868b61a6a7898827d221766939352924ba0794f140c9d678cb9e& |
17:58:29 | Amun-Ra | devlop_gaming: https://github.com/libsdl-org/SDL/releases/tag/release-3.2.10 |
17:58:55 | Amun-Ra | devlop_gaming: hint: SDL3-devel, pick the right one for your C compiler |
17:59:19 | Amun-Ra | and search either for .lib or .a file |
18:01:57 | FromDiscord | <devlop_gaming> the one tat says libSDL3.dll.a? |
18:02:44 | Amun-Ra | if you're compiling with mingw, yes |
18:04:52 | FromDiscord | <devlop_gaming> So now what do i do with it after putting it into my project folder? |
18:05:36 | Amun-Ra | I answered that ~two times already, use dynliboverride |
18:05:56 | FromDiscord | <devlop_gaming> And i asked a question that was never answered. Where?? |
18:07:01 | Amun-Ra | google dynliboverride, adapt it, long live and prosper |
18:07:34 | FromDiscord | <devlop_gaming> Omg ik what it is but where do i use it |
18:08:01 | Amun-Ra | if you know what it is, you know how to use it ;) |
18:08:12 | FromDiscord | <nnsee> In reply to @devlop_gaming "Omg ik what it": in the compiler flags |
18:08:30 | * | Amun-Ra → offline |
18:08:41 | FromDiscord | <demotomohiro> Open https://nim-lang.org/docs/nimc.html, push ctrl+f and type "dynlib". |
18:10:43 | FromDiscord | <nnsee> In reply to @nnsee "in the compiler flags": and as a pro tip, if you want to set compiler switches for the whole project, you can put them in the nim.cfg file in the project directory |
18:10:49 | FromDiscord | <nnsee> refer to manual for further information |
18:11:59 | FromDiscord | <devlop_gaming> In reply to @demotomohiro "Open https://nim-lang.org/docs/nimc.html, push ctrl": What am i looking for?? |
18:13:02 | FromDiscord | <demotomohiro> It is "Nim Compiler User Guide" |
18:14:22 | FromDiscord | <demotomohiro> I think this is what you want to read: https://nim-lang.org/docs/nimc.html#dynliboverride |
18:27:59 | FromDiscord | <enthus1ast.> @devlop_gaming we also have a pretty solid raylib wrapper btw |
18:28:27 | FromDiscord | <devlop_gaming> In reply to @enthus1ast. "<@769926604872613899> we": That's not gonna work for my needs |
18:28:34 | FromDiscord | <enthus1ast.> Kk |
19:34:17 | * | ntat joined #nim |
19:53:01 | * | coldfeet quit (Quit: Lost terminal) |
20:09:36 | FromDiscord | <nnsee> In reply to @devlop_gaming "What am i looking": you were literally told what to search for my friend |
20:11:38 | FromDiscord | <devlop_gaming> In reply to @nnsee "you were literally told": I'm just gonna come back if i can't find it you should know this by now |
20:17:37 | FromDiscord | <nnsee> can't find what? |
20:20:14 | FromDiscord | <nnsee> i think you'll find that showing a lack of effort into trying to figure things out by the pointers you're being given and instead asking other people to figure it out for you so you can just copy-paste the solution means that people feel less thrilled to help you at all |
20:20:51 | FromDiscord | <nnsee> not just here, but on the internet and in life in general |
20:22:07 | FromDiscord | <nnsee> treating people on a public channel as a glorified LLM will inevitably just annoy them |
20:22:27 | FromDiscord | <nnsee> (edit) "on" => "In" |
20:22:42 | FromDiscord | <nnsee> (edit) "In" => "in" |
20:32:20 | * | beholders_eye quit (Read error: Connection reset by peer) |
20:56:17 | * | ntat quit (Ping timeout: 248 seconds) |
21:18:07 | * | rockcavera joined #nim |
21:27:09 | FromDiscord | <Robyn [She/Her]> Should my tokeniser parse integer as a number? Idk how it should work so would appreciate help |
21:31:35 | FromDiscord | <devlop_gaming> In reply to @nnsee "i think you'll find": I did put effort in i spent hours trying to figure this out before I came here so don't say I don't try.. |
22:16:04 | * | tiorock joined #nim |
22:16:04 | * | tiorock quit (Changing host) |
22:16:04 | * | tiorock joined #nim |
22:16:04 | * | rockcavera is now known as Guest9329 |
22:16:04 | * | Guest9329 quit (Killed (iridium.libera.chat (Nickname regained by services))) |
22:16:04 | * | tiorock is now known as rockcavera |
22:32:09 | FromDiscord | <devlop_gaming> It's still not linking |
22:34:24 | FromDiscord | <devlop_gaming> For some reason it can't find SLD3_ttf |
22:43:49 | FromDiscord | <devlop_gaming> Can someone help me? |