Ask Your Question

about build opencv_contribute fatal error boostdesc_bgm.i and vgg

asked 2017-09-16 07:03:39 -0500

Thomaswang gravatar image

if you meet the fatal error: boostdesc_bgm.i: No such file or directory or fatal error: vgg.i: No such file or directory click here: enter the "contrib_xfeatures2d_vgg_20160317" and "contrib_xfeatures2d_boostdesc_2" and then download the all ".i" . put the all ".i" in 'opencv_contrib/modules/xfeatures2d/src/' than, make

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2017-09-16 07:33:04 -0500

berak gravatar image

updated 2017-09-16 07:51:41 -0500

cmake tried to download those files, but failed (maybe it's too old ?)

there should be some more detailled information in the cmake output already.

if you need the cfeatures2d module, you have to solve this problem first, if you don't try to disable it: cmake -DBUILD_opencv_xfeatures2d=OFF (but again, this will also disable some modules, that depend on it)

again, if it's a https problem with the builtin libcurl, try to update cmake, and rerun it.

else try harder with manual download, e.g. the vgg ones are here andthe boost ones here

edit flag offensive delete link more


not too old,when you cmake,you must connect the internet.

Thomaswang gravatar imageThomaswang ( 2017-09-24 05:23:34 -0500 )edit

yes, that is true.

berak gravatar imageberak ( 2017-09-24 05:47:02 -0500 )edit

Question Tools

1 follower


Asked: 2017-09-16 07:03:39 -0500

Seen: 7,010 times

Last updated: Sep 16 '17