While trying to install opencv in Raspberry pi, I got this message
========================================================================
Couln't connect to server from the Internet.
Perhaps direct connections are not allowed in the current network.
To use proxy please check/specify these environment variables:
-http_proxy/https_proxy
-and/or HTTP_PROXY/HTTPS_PROXY
==========================================================================
CMake Warning at /home/pi/opencv-3.3.1/cmake/OpenCVDownload.cmake:188(message):
tiny-dnn: Download failed: 7;"Couldn't connect to server"
For details please refer to the log file:
/home/pi/opencv-3.3.1/build/CMakeDownloadLog.txt
I am using college network, and hence did the settings as suggested here and here.However, I get Configuration complete and that the files have been generated at the end of cmake.
sudo make clean happens properly. But on doing sudo make, it reached 83% and gave us this error:
/home/pi/opencv_contrib-3.3.1/modules/xfeatures2d/src/boostdesc.cpp:646:37:fatal error:boostdesc_bgm.i: No such file or directory
#include "boostdesc_bgm.i"
compilation terminated.
modules/xfeatures2d/CmakeFiles/opencv_xfeatures2d/build.make:91: recipe for target 'modules/xfeatures2d/CmakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o' failed
make[2]: *** [modules/xfeatures2d/CmakeFiles/opencv_xfeatures2d.dir/src/boostdesc.cpp.o] Error 1
CMakeFiles/Makefile2:17509: recipe for target 'modules/xfeatures2d/CMakeFiles/opencvc_xfeatures2d.dir/all' failed
make[1]: *** [modules/xfeatures2d/CMakeFiles/opencv_xfeatures2d.dir/all] Error 2
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
I am unable to resolve this. Please help.
Thanks