Ask Your Question
0

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

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

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

Comments

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 -0600 )edit

3 answers

Sort by ยป oldest newest most voted
0

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

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.

Succeed!

edit flag offensive delete link more

Comments

Same problem, how did you fix it?

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

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

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
0

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

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

Question Tools

1 follower

Stats

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

Seen: 4,831 times

Last updated: Jun 25 '17