cmake failing with hash mismatch [closed]
I am trying to build opencv but cmake is failing with the following error , i have had this before and i could find the files and manually put them on the server but this time this file "bootdesc_bgm.i" is no where to be found , please help. I even upgraded my cmake to 3.0 .
-- Check contents of boostdesc_bgm.i ...
-- Downloading boostdesc_bgm.i...
CMake Error at /root/opencv/cmake/OpenCVUtils.cmake:895 (file):
file DOWNLOAD HASH mismatch
for file: [/root/opencv_contrib/modules/xfeatures2d/cmake/.download/0ea90e7a8f3f7876d450e4149c97c74f/boostdesc_bgm.i]
expected hash: [0ea90e7a8f3f7876d450e4149c97c74f]
actual hash: [d41d8cd98f00b204e9800998ecf8427e]
status: [1;"unsupported protocol"]
here is the cmake command i am using
cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_NEW_PYTHON_SUPPORT=ON -DWITH_TBB=ON -DBUILD_TBB=ON -DWITH_OPENGL=ON -DWITH_EIGEN=ON -DFFMPEG_INCLUDE_DIR=/usr/local/include -DOPENCV_EXTRA_MODULES_PATH=/root/opencv_contrib/modules -DBUILD_opencv_legacy=OFF ..
(not an answer, just leaving a note for tomorrow:)https://github.com/opencv/opencv_3rdparty/tree/contrib_xfeatures2d_boostdesc
(also, cmake seems to call curl under the hood, to download those files, problem might be an outdated version of that)
I checked your URL but they are only file names and not the file itself. Can you or someone send me this file please ?
my curl version is :
can you take a look at the boostdesc_bgm.i you downloaded ? (i guess, it's html with an error msg inside, while it should be a c++ header)
also, there's a dozen files like that (and unfortunately this site won't let me upload more than 1mb)
the correct url is: curl https://raw.githubusercontent.com/ope...
also: https://github.com/opencv/opencv_cont...
I replaced the bootdesc_bgm.I with the file from the url you sent and it accepted it . but now its complaining about another file "bootdesc_bgm_bi.I" can you also send me the url for this one as if I google it I get no links . thanks
ok I found all the files at this URL
link text