Azure-Kinect-Sensor-SDK
Azure-Kinect-Sensor-SDK copied to clipboard
c++ Refernce device.getcapture() not listed
while (!stop && !visualization.wasStopped()) { switch(device.get_capture()) { case K4A_WAIT_RESULT_SUCCEEDED: break; case K4A_WAIT_RESULT_TIMEOUT: printf("Timed out waiting for a capture\n"); continue; break; case K4A_WAIT_RESULT_FAILED: printf("Failed to read a capture\n"); device.close(); return 1; }
}
E0304 no instance of overloaded function "k4a::device::get_capture" matches the argument list te
Sorry, I don't understand your issue. Please clearly tell us what the issue is, what you expect to happen, and steps to reproduce the problem
I try to use the method get_capture from device to obtain frame per frame of the depth camera but when i write this "device.get_capture()" the error is launched even when i try in a new program the same error is launched.
Can you share your code?
I see you are using our kinfu sample. I suggest confirming you can get that sample to work as published, have you tried that.
Yes, i have compiled that example and im using it to make another program but when i tried the c++ reference i have this problem so i remake that sample to c++, i have the same problem with getcapture