During the build of xerces 3.1.2 I get:
1>XML256TableTranscoder.cpp : fatal error C1083: Cannot open compiler generated file: '': Invalid argument
The compiler does not appear to be working on the .cpp file itself before the error occurs as I can delete all the source code in the file and still get the error.
Seems that I was bumping into the path/filename length limitation of Visual Studio. The error message was not particularly descriptive, but reducing the hierarchy solved the problem.