Configuring Failure with CMake, Can't Download Files

asked 2017-05-27 00:47:29 -0600

updated 2017-05-27 01:43:59 -0600

Hi there,

I'm having trouble configuring OpenCV with CMake, it seems to be fail the necessary downloads for the extra modules. Explicit instructions on manual downloading of these missing files (and where to put them) would be absolutely wonderful.

The error is given as follows:

CMake Error at C:/Users/me/Desktop/Editors/Elite Lazy/opencv/sources/cmake/OpenCVUtils.cmake:1043 (file):
  file DOWNLOAD cannot open file for write.
Call Stack (most recent call first):
  C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master/modules/xfeatures2d/cmake/download_boostdesc.cmake:22 (ocv_download)
  C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master/modules/xfeatures2d/CMakeLists.txt:8 (download_boost_descriptors)


CMake Error at C:/Users/me/Desktop/Editors/Elite Lazy/opencv/sources/cmake/OpenCVUtils.cmake:1047 (message):
  Failed to download .  Status=
Call Stack (most recent call first):
  C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master/modules/xfeatures2d/cmake/download_boostdesc.cmake:22 (ocv_download)
  C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master/modules/xfeatures2d/CMakeLists.txt:8 (download_boost_descriptors)

MisterJ,

EDIT: I've attempted to download the missing files manually, and have succeeded, but am unsure where to put them, perhaps in the build folder? Also I've removed all traffic restrictions so I don't think it's that.

edit retag flag offensive close merge delete

Comments

try the answer of this post

LBerger gravatar imageLBerger ( 2017-05-27 01:00:05 -0600 )edit

I have the latest version of CMake, no networking restrictions (at the moment), and I have no idea where to place the downloaded files. Thanks for the help.

MisterJ gravatar imageMisterJ ( 2017-05-27 01:45:13 -0600 )edit

if you build opencv in directory C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master then I think you can downalod manually in C:/Users/me/Desktop/Editors/Elite Lazy/opencv_contrib-master/downloads/xfeatures2d

LBerger gravatar imageLBerger ( 2017-05-27 02:14:08 -0600 )edit