After fighting for a day with Boost, I’m pretty much going to give up. I’ve finally managed to build the libraries, but I needed to upgrade gcc (MinGW) to 4.4.0 (from CodeBlocks default of 3.4.5, which still works with it, fortunately).
When I import the string algorithms into my own code I get a whole slew of errors (over 50), and when I try the demo code I still get errors (OK, not so bad, just “expected constructor, destructor, or type conversion before ‘(‘ token” on two lines, but it should still work “out of the box” right?) (OK, I’ve got dain bramage… I made a proper program (no output) but I’ve got the “test” working — now to get it working in CyberRogue)
Am I doing something wrong, trying to use two conflicting libraries (LibTCOD and Boost, but I didn’t think they’d conflict?), or is MinGW just not up to the job and I should try CygWin (will LibTCOD work with CygWin?) Maybe I should just stick with what I’ve already got as it works (ain’t broke, don’t fix it approach).
Fixed: OK, maybe I should have just checked my defines — it’s working, yay! Now I just need to use it.