Ask Your Question
0

VS2015 error during compilation opencv_contrib

asked 2016-02-14 06:15:55 -0600

mau gravatar image

Hi, I'm trying to build "opencv_contrib" with "opencv 300" but, I had this error from ALL BUILD compilation: "Cannot open include file: 'opencv2/core/hal/intrin.hpp': No such file or directory opencv_ximgproc C:\opencv_contrib-master\modules\ximgproc\src\fgs_filter.cpp". This error doesn't permit to build the library, and the error is propagated over 21 build. This is my CMake gui:

C:\fakepath\Cmake.jpg

this is VS2015 error:

C:\fakepath\vserror.jpg

and this is Property Manager of the ximgproc project:

C:\fakepath\vspropertyman.jpg

Any help?

Thanks for your time.

Mau

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-02-14 06:23:41 -0600

berak gravatar image

updated 2016-02-14 06:24:23 -0600

you will need to update your main opencv to master branch (3.1 currently), if you want to build it with opencv_contrib.

both repos need tight synchronization to work, while opencv3.0 had a seperate hal module, opencv_contrib expects all of the functionality to be moved back into core (headers and such)

best thing would be , to download via git, not zips, or sourceforge-binaries. there will be bugs, bugfixes, updates, etc. so this would be the easiest way to keep your opencv up-to-date.

edit flag offensive delete link more

Comments

Thanks Berak, I'll try as you said.. you are very kind.

mau gravatar imagemau ( 2016-02-14 08:21:09 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-02-14 06:15:55 -0600

Seen: 399 times

Last updated: Feb 14 '16