Which means stuff like stddef.h is not found.
A flimsy workaround was implemented in 780e691. This at least means that the resource dir can be found if gencppm is running on the same system it was compiled from.
A "proper fix" would probably involve getting the "real path" of the clang binary referenced in the command line of the compilation.