seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

Trackbar `value` pointer deprecation #84

Open bgottula opened 1 year ago

bgottula commented 1 year ago

After upgrading to Mint 21.1, I started getting the following warning on starting capture:

[ WARN:0] global ./modules/highgui/src/window.cpp (703) createTrackbar UI/Trackbar(agc mode@Histogram): Using 'value' pointer is unsafe and deprecated. Use NULL as value pointer. To fetch trackbar value setup callback.
[ WARN:0] global ./modules/highgui/src/window.cpp (703) createTrackbar UI/Trackbar(gain@Histogram): Using 'value' pointer is unsafe and deprecated. Use NULL as value pointer. To fetch trackbar value setup callback.
[ WARN:0] global ./modules/highgui/src/window.cpp (703) createTrackbar UI/Trackbar(exposure time [us]@Histogram): Using 'value' pointer is unsafe and deprecated. Use NULL as value pointer. To fetch trackbar value setup callback.

Figure out how to deal with this (or suppress the warning).