Log in or register to post comments

Unknown type name "namespace"

March 20, 2014 - 1:59pm #1

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"

October 24, 2016 - 10:51am #7

Wow. No followup from a 2014 message. I'm getting these errors, too. 

Unknown type name "namespace"

May 6, 2014 - 12:50pm #6

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.

So there's nothing wrong with the Vuforia code it's complaining about, you have to change YOUR CLASS to be a .mm.

Unknown type name "namespace"

May 2, 2014 - 7:49am #5

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"

March 26, 2014 - 4:56am #4

Thanks for this.

Always a good one to try when xcode starts complaining and you cannot figure out why :)

 

N

Unknown type name "namespace"

March 25, 2014 - 1:47am #3

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"

March 21, 2014 - 3:11am #2

...and it was working wonders until this error appeared

What did you do to make this error appear?

N

Log in or register to post comments