build opencv 3.1 world with opencv contrib
Hi,
I have succesfully build opencv 3.1 world without opencv contrib and without CUDA using VS 2013. Now I have added opencv contrib and I cannot build it. Ihave got some errors :
**> LINK : fatal error LNK1104: cannot
open file 'F:\lib\opencv\world\modules\bgsegm\opencv_bgsegm_object.dir\Debug\bgfg_gaussmix.obj'
18>f:\lib\opencv\modules\world\src\precomp.hpp(57): fatal error C1083: cannot open file include : 'opencv2/xfeatures2d/nonfree.hpp' : No such file or directory (F:\lib\opencv\modules\world\src\world_init.cpp)
LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_world310d.lib'**
Any idea to solve this problem?
Thanks in advance
the second err might go away if you clean your build folder (precompiled header leftovers)
No it does not work. I have clean solution and regenerate and I have got this error. I have build opencv_bgsegm and error is opencv_world310d.lib is missing. And I have build opencv_world and error is cannot find opencv2/xfeatures2d/nonfree.hpp So I have build opencv_features2d and error is cannot open file opencv_world310d.lib ...