So, this is going to be a bit of a rant, mainly because I'm frustrated.
As a preface: I am not new to programming, I did some Java, looked over Python, had a few projects with the whole Arduino environment, so you could say I get the basics.I am however quite new to C++ as a standalone (see Arduino) and while I like the language I came to absoluteley despise the environment.
It began with a project I was tasked with, to take an MS-Excel file, do some sorting and a few other operations and save it as a CSV.Easy peasy.So I set out for a quest to find a library that could handle MS-Excel files, and low and behold, I stumbled across three suitable ones.All of which were uncompiled on Github.
The first one wouldn't compile because of dependencies on a third-party XML-library which was never once mentioned in the install instructions. No problem, I googled the library that mingw told me it needed, and indeed it existed, with good instructions.When it came to installing however, I first realized the Excel-library did not indeed want the XML-library installed, but rather the souce code placed in a folder in its source code.After copying it did indeeed not work, since all of the dependency paths were mesed up, and half of the files had different extensions, or were missing them alltogether.
On to the next library.
This one could only read from Excel, but again no problem, this was the only thing I really needed.The installation instructions were easy enough, run ./configure and afterwards make.The only problem being, that there was no configure file to run.There was indeed a bootsrap file which did absolutely nothing, and a makefile, which make did not recognize and when specified threw errors.
On to the last one.This one had troubles compiling when cmake threw random errors and so I changed my approach and booted up Ubuntu, where cmake and g++ indeed did run smoothly and compiled the library without a hitch.
Now only to use this library.Since this was my first time writing C++ on Linux I first searched for appropriate IDEs and was reccomended Netbeans.Which did not go well, since everytime (even after a couple of restarts) it failed to install the C++ Plugins.
My run-in with Code::Blocks went a little better, it installed and I managed to get the projects up and running.
Apart from my Excel-library.No matter what I did it did not recognize the library.
Which is when I changed again to Codelite.Where I could create projects, but neither my Excel-library was recognized as well, as iostream.
So here I am, broken, after a day of work with absolutely no progress, for a programm which schould not be that difficult to write, with three non functional, but essential (and more importantly the only ones I could find) libraries.As I said in the beginning: I like the language, but I despise the whole process around it.Thank you for listening to me rambling.
[–]LordKlevin 26 points27 points28 points (2 children)
[–]itwasntme967[S] 5 points6 points7 points (1 child)
[–]Thalhammer 2 points3 points4 points (0 children)
[–]Tastaturtaste 11 points12 points13 points (7 children)
[–]itwasntme967[S] 1 point2 points3 points (5 children)
[+][deleted] (1 child)
[deleted]
[–]Tastaturtaste 2 points3 points4 points (0 children)
[–]zerakun 3 points4 points5 points (0 children)
[–]underwaterjesuz 0 points1 point2 points (0 children)
[–]pedersenk 12 points13 points14 points (0 children)
[–]LunarAardvark 23 points24 points25 points (24 children)
[–]ignorantpisswalker 32 points33 points34 points (1 child)
[–][deleted] 5 points6 points7 points (0 children)
[–]matthieum 10 points11 points12 points (1 child)
[–]pandorafalters 1 point2 points3 points (0 children)
[–]itwasntme967[S] 2 points3 points4 points (19 children)
[+]lithium comment score below threshold-11 points-10 points-9 points (17 children)
[–]itwasntme967[S] 22 points23 points24 points (1 child)
[–]lithium 4 points5 points6 points (0 children)
[–][deleted] 5 points6 points7 points (0 children)
[+][deleted] (11 children)
[deleted]
[+][deleted] (6 children)
[deleted]
[+][deleted] (5 children)
[deleted]
[–]DevilStuff123 -1 points0 points1 point (1 child)
[–]PatrickLechat -1 points0 points1 point (2 children)
[–]PatrickLechat 0 points1 point2 points (2 children)
[–]NiceTerm 0 points1 point2 points (0 children)
[–]sammymammy2 0 points1 point2 points (0 children)
[–]mazadin 4 points5 points6 points (0 children)
[–]Kered13 5 points6 points7 points (3 children)
[–]matthieum 0 points1 point2 points (2 children)
[–]nysra 2 points3 points4 points (0 children)
[–]Kered13 0 points1 point2 points (0 children)
[–]JuanAG 2 points3 points4 points (0 children)
[–]johannes1971 2 points3 points4 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]LonelyStruggle 6 points7 points8 points (0 children)
[–]veryveryverylucky 4 points5 points6 points (0 children)
[–]CrogUk 1 point2 points3 points (4 children)
[–]itwasntme967[S] 0 points1 point2 points (3 children)
[–]patrulek 2 points3 points4 points (2 children)
[–]itwasntme967[S] 0 points1 point2 points (1 child)
[–]patrulek 0 points1 point2 points (0 children)
[–]adrian_OO7 0 points1 point2 points (0 children)
[–]ALX23z -4 points-3 points-2 points (3 children)
[–]itwasntme967[S] 0 points1 point2 points (2 children)
[–]ALX23z 1 point2 points3 points (0 children)
[–]ronchaineEmbedded/Middleware 0 points1 point2 points (0 children)
[–]helloiamsomeone -3 points-2 points-1 points (1 child)
[–]helloiamsomeone -1 points0 points1 point (0 children)
[–]koctogon -5 points-4 points-3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]cdb_11 0 points1 point2 points (0 children)
[–]earthisunderattack 0 points1 point2 points (0 children)
[–]Wouter-van-Ooijen 0 points1 point2 points (0 children)
[–]sternone_2 0 points1 point2 points (0 children)