Given that this thread is about a Windows build, there's no config.log, no cmake and no autoconf.
LOL - I got it mixed up with another thread that was about kubuntu... sorry.
Where is TemplateManagerData supposed to come from?
It's defined right there in the same file as a forward declaration.
It's defined finally in the TemplateManager.cpp file.
BTW: There was an older revision of the file that had it wrong, it said AutoPtr<TemplateManagerData> when it ought to say AutoPtr<__impl::TemplateManagerData>. I just checked, and that's the version in trunk (oops).
Since trunk builds in linux, I must assume it's an older version of TemplateManager that wasn't ready, and should not be included in the project file. So you could remove TemplateManager.cpp from the project and build, it should work fine, TemplateManager shouldn't be being used anywhere at that revision anyways.
In any case, the upcoming merge of the audio branch will change all that. And a whole bunch of new worries, but at least that particular one will be gone
EDIT: I made a mistake and edited your post instead of replying - sorry about that. I tried to recreate your post.