A whole new level of respect for programmers. My first time compiling a DLL as an enthusiast. My god... lol
Posted by ging3r_b3ard_man@reddit | learnprogramming | View on Reddit | 21 comments
Just an appreciation post out there for ya'll. I know times are tough for some, I myself only am getting into it via help with Claude Code. I am not a programmer, just like to tinker occasionally with projects I want to see become a thing once every few years. First time a project required compiling.... OH MY GOD, it's laughable at this point how many times I have to run the BUILDCC ./configure to eventually lead to yet another error, yet another package needed to install, yet another flag to disable, yet another flag to reenable, yet another build attempt, rinse repeat...
Kudos, you masochists' lol
IshYume@reddit
I work with react native and this one time the app compiled fine on my coworkers mac but android release build kept failing for some unknown reason (debug worked fine) ios also worked fine.
Took me 4 hours to fix that build, even my manager couldn’t figure out what the issue was as it was broken on his Mac too. It turns out it was some image library that couldn’t repack one specific png.
Suspicious_Coat3244@reddit
Honestly, getting something to compile successfully for the first time is basically a rite of passage 😂
You start thinking:
“okay I’ll just build this quickly”
Then suddenly you’re 3 hours deep installing dependencies, reading cryptic error logs, enabling one flag, disabling another, wondering why a package from 2017 suddenly matters to your existence.
A lot of programming is honestly less about writing code and more about patiently navigating environments, tooling, build systems, and weird compatibility issues.
The funny part is when it finally works and you have absolutely no idea which specific thing fixed it.
Potential-Silver-248@reddit
Now imagine when those builds succeeding are tied to your performance. Brutal 🥀
jbldotexe@reddit
Wait but when and why would this be the case?! Please help quell my imagination demons now
Potential-Silver-248@reddit
Let’s say you have to deliver a feature but something you added is causing a build to break, via merge conflict or dependency resolution hel
Cold-Watercress-1943@reddit
build hell is real
elPappito@reddit
Why is compiling a DLL difficult? Never really had any issues if the code i produced was ok ?
Not saying I compile DLLs everyday, but recently it's quite popular among my projects, and it's both c++ and c#, no probs with either.
Only problems I had with this proces when I first started learning and copied the code from website without know what exactly am I doing.
Queasy_Hotel5158@reddit
That “one more missing dependency” loop is a universal programmer experience lol
mxldevs@reddit
Hopefully, Claude will make this process effortless in the future so new devs don't have to deal with it
setq-default@reddit
Seems like a great way to accidentally download something malicious disguised as a dependency
Abject-Kitchen3198@reddit
Lol
UncheckedMoonrise@reddit
The “./configure - install something” loop claims the best of us :D
ging3r_b3ard_man@reddit (OP)
thank you... this gives me hope lol
UncheckedMoonrise@reddit
For real, satisfying the whims of a complex build script has routinely taken me several days for a single project.
ging3r_b3ard_man@reddit (OP)
I've setup a few projects, nothing that took this amount of back and forth so far though. It's nuts lol.
currently at this point i'm just praying claude code can eventually get me out of this part so I can get to the more fun parts again.
HereForC0mments@reddit
It certainly takes a certain kind of personality to do it professionally, that's for sure. Many of us are indeed masochists on some level 🤣
Here's my hint of the day about debugging failed compilations - only pay attention to the first error mentioned, as often times the first error results in the code on subsequent lines being interpreted as incorrect, and so isn't necessarily wrong. I call these "phantom errors" because once you solve the first error, the phantoms disappear on the next compile. Of course, it's possible for there to be multiple legitimate errors at the same time, but always focus on the first one. I've seen people obsess over fixing every error mentioned before trying to recompile, and tie themselves up in knots for hours on end over things that aren't actually problems.
Select-Reporter5066@reddit
That kind of build rabbit hole eats an afternoon. I’d keep a tiny notes file of each missing package or flag so the second compile is boring.
KandevDev@reddit
the first time you compile something and it actually works (even better, when something breaks and you debug it yourself) is a meaningful moment. it is where you stop being "someone who uses computers" and start being "someone who tells computers what to do". claude code is genuinely a great training-wheels tool for this transition because you get to see what professional setup looks like without having to figure it out from scratch. keep at it.
Aggressive_Ad_5454@reddit
No kidding. DLL Hell is a thing.
Our theme song: https://youtu.be/LMqz2yJKbuA?si=lCPwhoYipzTBdcjG
ging3r_b3ard_man@reddit (OP)
omw! this is fantastic! I love it
Abject-Kitchen3198@reddit
Those were the days. Having the spare time to go through configuring and building kernel and apps from source, with occasional deep diving to solve issues.