Ask Your Question

Revision history [back]

Configuring Failure with CMake, Can't Download Files

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,

Configuring Failure with CMake, Can't Download Files

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.