A few days ago I updated my Debian Gnu/Linux system. Today I sat down to get some really productive work completed for Oracle’s Eye. Since I didn’t know where to start, I decided to build the project, run what I have, and then make a decision on what to do from there. Sounds good, right?
Except that when I went to build the project, I had a linker error. Unfortunately I lost the actual message, but it basically said that the library for Kyra didn’t reference std::basic_string.
Eh? How did the Kyra Sprite Engine lose access to the C++ Standard Library? Am I reading that error message correctly? Maybe the packages I updated were broken? Well, according to an active developer on #debian, he builds his projects just fine. So did the Kyra installation get corrupted or something?
Oddly enough, the Kyra demo still runs perfectly fine. Am I just building it incorrectly?
To make a long story short, I ended up removing Kyra 2.0.7, installing the latest 2.1.1, and finding that it won’t compile at all. Finally I decided that since I did updates to a number of packages, some of which might be graphically related, I might as well restart my display manager. When I did so, I reinstalled Kyra 2.0.7, and my project compiled, linked, and ran perfectly fine, just as I left it.
Of course, I didn’t want to stay up too late, so I am not really going to be able to do anything useful tonight. This problem really wasted a lot of my time. B-(
I’m going to bed. I just wanted to document this bug for the benefit of people like me who might be searching for a similar error and hoping to find a solution to their problem.