cvError ?

Hi guys i’ve noticed that when trying to compile some examples from this forum that use computer vision I can get it to compile in xcode and the camera’s green light turns on, but it freezes for a few seconds and then says cvError.?

Does anyone know what this means? Seems weird that it compiles fine but cant run without a cvError.