I want to get started with Cinder and my Kinect for Windows v2.
Compiling my own project or any sample projects provided by Cinder-KCB2 results in this compilation error:
1>D:\Developer\Libraries\Cinder-0.9.3\blocks\Cinder-KCB2\src\Kinect2.cpp(1167,38): error C2280: 'Kinect2::Device::Process &Kinect2::Device::Process::operator =(const Kinect2::Device::Process &)': attempting to reference a deleted function
1>D:\Developer\Libraries\Cinder-0.9.3\blocks\Cinder-KCB2\src\Kinect2.h(416): message : compiler has generated 'Kinect2::Device::Process::operator =' here
1>D:\Developer\Libraries\Cinder-0.9.3\blocks\Cinder-KCB2\src\Kinect2.h(416,2): message : 'Kinect2::Device::Process &Kinect2::Device::Process::operator =(const Kinect2::Device::Process &)': function was implicitly deleted because a data member invokes a deleted or inaccessible function 'std::atomic<bool> &std::atomic<bool>::operator =(const std::atomic<bool> &)'
1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\atomic(2166,13): message : 'std::atomic<bool> &std::atomic<bool>::operator =(const std::atomic<bool> &)': function was explicitly deleted
This library was updated 5 years ago, and it’s possible the recent VS versions are causing this error. I have not encountered this error before, and am unsure how to proceed.
Specs:
- Cinder 0.9.3
- Cinder-KCB2
- Visual Studio 2019, SDK: 10.0.19xxxxxxx