Ask Your Question

Error with "boostdesc_bgm.i" while compiling on Ubuntu 16.04

asked 2017-06-25 15:40:10 -0500

Jojo02600 gravatar image

Hello Everyone,

I'm having big trouble for compiling opencv with master contrib. At 89%, I have a fatal error : boostdesc_bgm.i : no file or directory

[ 89%] Building CXX object modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o /opencv_contrib-master/modules/xfeatures2d/src/boostdesc.cpp:646:37: fatal error: boostdesc_bgm.i: no file or directory

Is someone have any clue for me on that error ?

edit retag flag offensive close merge delete


that (and a dozen others) should have been downloaded via cmake earlier.

can you check the cmake output again ?

berak gravatar imageberak ( 2017-06-25 20:45:48 -0500 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2017-07-06 07:21:59 -0500

Jojo02600 gravatar image

Thank you Berak for your answer. I finally found what happened. Like you said cmake download the files needed but the path leading to them wasn't right. So I add the path to the files and it's all done.


edit flag offensive delete link more


Same problem, how did you fix it?

Brainabilgh gravatar imageBrainabilgh ( 2018-05-10 20:13:26 -0500 )edit

answered 2019-08-08 07:20:32 -0500

fau gravatar image

Hello, 1) Install Boost library on your system.
2) launch cmake-gui
3) click configure
you should see something like that
xfeatures2d/boostdesc: Download: boostdesc_bgm.i
xfeatures2d/boostdesc: Download: boostdesc_bgm_bi.i
xfeatures2d/boostdesc: Download: boostdesc_bgm_hd.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_064.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_128.i
xfeatures2d/boostdesc: Download: boostdesc_binboost_256.i
xfeatures2d/boostdesc: Download: boostdesc_lbgm.i
4) relaunch the compilation
it will be ok.

edit flag offensive delete link more

answered 2017-07-22 10:13:00 -0500

i got the same error. than, copy all the '*.i' file in the folder 'opencv-3.2.0/build/downloads/xfeatures2d/' to 'opencv_contrib/modules/xfeatures2d/src/' than, make

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2017-06-25 15:40:10 -0500

Seen: 3,679 times

Last updated: Jun 25 '17