使用CVV进行OpenCV 3.0可视化调试,崩溃cvv :: showImage

时间:2016-01-20 10:22:26

标签: c++ opencv opencv3.0

我尝试使用像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)

0 个答案:

没有答案