我尝试使用像tutorial
这样的可视化调试#define CVVISUAL_DEBUGMODE
#include <opencv2/cvv/debug_mode.hpp>
#include <opencv2/cvv/show_image.hpp>
#include <opencv2/cvv/final_show.hpp>
int main() {
cv::Mat mat = imread("...");
imshow("img", mat); // works fine
waitKey();
cvv::showImage(mat); // crash on this line
cvv::finalShow();
return 0;
}
EXC_BAD_ACCESS(代码= 1,地址= 0x0)