By ncadena
on Thu, 03/20/2014 - 20:59
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Â
Unknown type name "namespace"
...and it was working wonders until this error appeared
What did you do to make this error appear?
N
Unknown type name "namespace"
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
Unknown type name "namespace"
Thanks for this.
Always a good one to try when xcode starts complaining and you cannot figure out why :)
N
Unknown type name "namespace"
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
Unknown type name "namespace"
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.
Wow. No followup from a 2014
Wow. No followup from a 2014 message. I'm getting these errors, too.