Ask Your Question

VS2015 error during compilation opencv_contrib

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

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:


this is VS2015 error:


and this is Property Manager of the ximgproc project:


Any help?

Thanks for your time.


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

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

berak gravatar image

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

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


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

mau gravatar imagemau ( 2016-02-14 08:21:09 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 271 times

Last updated: Feb 14 '16