Late, but leaving this for the next victim. I just found this page while trying to solve the same issue.In my case - and I see the same scope resolution operators in yours - the issue is that it's being included by a C++ source file but is missing C...