First time here? Check out the FAQ!
answered 2012-11-12 02:42:29 -0600
It seems like the camera is not correctly initialized. Try to debug the code and investigate the 'cap' variable. Are you able to run precompiled samples (like lkdemo) by the way without any problems?