For those of you with this problem “‘Obj’ is a protected member of ‘cinder::Kinect'”. You’ve got a couple build settings that need to be updated
Here’s scenerio. You’ve installed Cinder, installed Cinder Kinect library (https://github.com/cinder/Cinder-Kinect) in blocks and rebuilt.
Now you’re getting build errors when you try to run the sample projects.
Here’s what I did:
- Changed the default SDK to 10.7 (if you havent already)
- change the build compiler to LLVM GCC 4.2
- Change the Inline Methods Hidden Option to ‘No’
- Change the Symbols Hidden By Default to ‘No’
“Clean & Build” and you should be good to go!
Also, once you’ve compiled the sample you’ll want to build your own. Your going to end up having linker erros. Follow this: https://forum.libcinder.org/topic/how-to-use-cinderblocks-in-xcode
and you should be all set. Bascially, you need to tell xcode where to find some of these libraries when using blocks.