Problem with opencv_contrib [closed]

asked 2015-09-20 13:59:27 -0500

Coisadas gravatar image

Hello

I'm working with OpenCV 3.0 without problems.

Now I'm trying follow the Features2D tutorials (using tools like SURF).

I installed the opencv_contrib without problems, as in the README.

After installed it, I make my project and the there is no erros.

But when I execute the program, is showing "Segmentation fault (core dumped)". It happens even if I re-make other project, which were working before I add the opencv_contrib (which doesn't use the xfeatures2d).

If I cmake OpenCV again, without the opencv_contrib path, I can re-make the projects again and they works ( unless the project which need the xfeatures2d).

How can I solve it?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Coisadas
close date 2015-12-30 16:10:51.873321

Comments

1

which os is it ? did you ty to debug it ?

is it this one ?

you could try to disable the dnn module with cmake -DBUILD_opencv_dnn=OFF

berak gravatar imageberak ( 2015-09-21 00:33:46 -0500 )edit

I'm using Fedora 22 and write the code with C++. I disabled that module and the problem is solved! How can I figure out that the DNN module were causing this problem? :/

Thank you @berak!

Coisadas gravatar imageCoisadas ( 2015-09-22 09:22:55 -0500 )edit

"How can I figure out ?" - i whish i knew. i only thought, the issue above sounded familiar.

berak gravatar imageberak ( 2015-09-22 09:26:49 -0500 )edit