compiling OpenCV without exception support

asked 2018-04-12 08:20:57 -0500

Vincent Rabaud gravatar image

Is there any way to compile OpenCV without exception support ? Even the 3.4 branch has non-OpenCV exceptions: Are there any tests to prevent code to use std::exception ? Thx

edit retag flag offensive close merge delete


use master branch : opencv 4


LBerger gravatar imageLBerger ( 2018-04-12 08:42:17 -0500 )edit

that helps but it is not complete. One way is to change the behavior of the cv::Exception. But there are still some std::exceptions in the code.

Vincent Rabaud gravatar imageVincent Rabaud ( 2018-04-13 06:31:41 -0500 )edit