"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Unknown type name "namespace"

Im using the books example and it was working wonders until this error appeared (Unknown type name "namespace") in the Matrices.h, and it gives me a whole lot of errors does anyone know how to solve this??

attached i send an screenshot of my error

Thank you very much 

I think I encountered this error several times as well. For me the reason for this problem was when I used or imported (Objective-)C++ code in Objective-C files. Just rename the file extension where you import QCAR stuff from *.m to *.mm 

I have simply copied the source files out of VideoPlaybackSample into a fresh project. I get this error in SampleApplicationSession.h.

So what is the solution? I assume I do not rename the .h to .mm? There alreay is a SampleApplicationSession.mm

 

MauryMarkowitz

Tue, 05/06/2014 - 19:50

And the solution:

The compiler is simply reporting this incorrectly. It should be complaining about the file you're importing INTO, but it's instead complaining in the imported file.