OpenKinect / libfreenect2

Open source drivers for the Kinect for Windows v2 device
2.07k stars 749 forks source link

Fix Streamer/Recorder build errors #1158

Open spiwocoal opened 3 years ago

spiwocoal commented 3 years ago

Streamer/Recorder toolbox was failing at build because since GCC 11, the default C++ standard is C++17, which does not allow dynamic exception specifications anymore. This was resolved by changing the C++ standard used to build the ProtonectSR target to C++14, though I suppose the ideal solution would be to simply not use dynamic exception specifications anymore.

There was also the problem that the files recorder.cpp and streamer.cpp referenced CV_IMWRITE_JPEG_QUALITY when, at least according to what I could find, doesn't exist and should be cv::IMWRITE_JPEG_QUALITY.

Resolves: #1155