Ask Your Question
0

How to install opencv3.0 with contrib in Ubuntu

asked 2016-01-07 15:16:21 -0600

nistar gravatar image

Before I used OpenCV3.1, and install contrib perfectly.
But now I need to use a 3rd party, I can only use opencv3.0.
contrib

I use cmake-gui to install.
And I only change OPENCV_EXTRA_MODULES_PATH: <opencv_contrib>/modules

But it don't install the party 'xphoto'.
Then I don't install the party 'xphoto'.
There is more problem in the party 'xfeatures2d', but I need use SURF.

Why the contrib have problem??

edit retag flag offensive close merge delete

Comments

Error :
/opencv_contrib-master/modules/xfeatures2d/src/sift.cpp:108:36: fatal error: opencv2/core/hal/hal.hpp

nistar gravatar imagenistar ( 2016-01-07 16:01:06 -0600 )edit

you probably have to checkout some revision beforethis change , to make it work with opencv3.0

berak gravatar imageberak ( 2016-01-08 03:39:11 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-01-08 03:22:17 -0600

Start by making sure that you are using the exact same version of both opencv and opencv_contrib repository. For this you just do a git clone of the repository and make sure that both checked branches are master. If that is the case, building should run just fine, if not, please post your CMAKE output.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-07 15:16:21 -0600

Seen: 843 times

Last updated: Jan 08 '16