compiling OpenCV without exception support

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

Vincent Rabaud gravatar image

Is there any way to compile OpenCV without exception support ? Even the 3.4 branch has non-OpenCV exceptions: https://github.com/opencv/opencv/blob... Are there any tests to prevent code to use std::exception ? Thx

edit retag flag offensive close merge delete

Comments

use master branch : opencv 4

CATCH_ALL_AND_LOG

LBerger gravatar imageLBerger ( 2018-04-12 08:42:17 -0600 )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 -0600 )edit