Thanks guys. I'm embarrassed to say that it was the #include <string> problem.