OF example project meshFromCamera fails -> ofQTKitGrabber deprecated


Very first OF project- just working through the book ‘openFrameworks Essentials’! I’m running OSX 10.10.5 (Yosemite) and Xcode 7.2.1.

When I load the example app, meshFromCamera, the webcam fails with the error:

[ error ] ofQTKitGrabber: selected video device id 0 out of range for number of devices: 0

From poking around, I can see that QTKit is deprecated in OSX 10.9. So I would guess this is the problem.

I would also guess that a solution would be to use AVF instead of QT, but I’m not sure how to reconfigure to use this. I’m also new to XCode- I’m typically a Visual Studio user (don’t judge me). Or maybe there’s a completely different solution?



it should still work. do you have a camera plugged in?

number of devices: 0

Yep. It’s a webcam and it otherwise seems to work fine.