Build fails against opencv 5.0.0-7 (current in extra) with two separate
"is not a member of 'cv'" errors, in two different files. OpenCV 5.0
reorganized parts of imgproc/calib3d into a new geometry module, and
Tahoma2D's includes haven't caught up.
1) toonz/sources/stdfx/iwa_bloomfx.cpp error: 'getRotationMatrix2D' is not a member of 'cv' (in blurByRotate())
getRotationMatrix2D moved to the geometry module (geometry/2d.hpp). Fix: add near the top of the file:
#include
2) toonz/sources/stopmotion/stopmotioncontroller.cpp error: 'getOptimalNewCameraMatrix' is not a member of 'cv' (in captureCalibrationRefImage())
getOptimalNewCameraMatrix moved to geometry/3d.hpp. This file also needs imgproc.hpp and calib.hpp for other calls elsewhere in it. Fix: add near the top of the file:
#include
#include
#include
Pinned Comments
FabioLolix commented on 2026-07-12 16:07 (UTC)