C++ Build System Hell
>OK let's learn C++ >make a new project in visual studio >turns out thats not the correct way to do it because then it's not cross platform and i can't switch editors later >start learning cmake, realize it's a clusterfuck of retardation but somehow copy paste something together that compiles >turns out it's not the correct way to do it, the "modern" way is that you need to use premake to generate cmake files which then generate the visual studio solution :) >ok let's write code... >wait, i have to write header files? you mean i have to have double the code for no reason other than the C++ build system being garbage? >i want to parse a small json config file, it doesnt have to be performant. wait, how the fuck do i add libraries to my project? >ok, so i have to add them and update them manually like a caveman or i have to do some git submoduling cancer, or i can use this package manager called conan that doesn't work half the time. >run program -> crashes >that's fine it happens during development all the time let's read the helpful error message and fix what we did wrong >"an error has occured"
A hand-drawn, distressed face accompanies an anonymous programmer’s escalating rant about learning C++, Visual Studio, CMake, Premake, header files, libraries, Conan, and useless error messages. The joke is that modern C++ tooling feels absurdly complicated and fragile, with each attempted fix creating another layer of build-system misery. People send this as a reaction to frustrating software development, dependency management, or cryptic bugs. EN: A hand-drawn, distressed face accompanies an anonymous programmer’s escalating rant about learning C++, Visual Studio, CMake, Premake, header files, libraries, Conan, and useless error messages. The joke is that modern C++ tooling feels absurdly complicated and fragile, with each attempted fix creating another layer of build-system misery. People send this as a reaction to frustrating software development, dependency management, or cryptic bugs.
- @ithueti / 11551 2024-01-17
- Type
- image
- Size
- 494×800 · 101.0 KiB
- Mood
- frustrated, sarcastic
- Language
- en
- Added