简记-服务器安装opencv

                                                        服务器安装opencv

遇到下载ippicv protocal problem:

I solved the problem by exchanging the downloaded packages cmake and curl with self-compiled versions.

First I removed cmake and curl:

$ sudo apt-get remove cmake

$ sudo apt-get remove curl

I installed zlib because it is needed later to build cmake

$ sudo apt-get install zlib1g

$ sudo apt-get install zlib1g-dev

I installed the developer package for openssl because this is needed to build curl with open-ssl support

sudo apt-get install libssl-dev

I downloaded the curl source code from here: https://curl.haxx.se/download.html

Compiled curl with:

/CurlExtractFolder$ ./configure --with--ssl

/CurlExtractFolder$ make

/CurlExtractFolder$ sudo make install

After the configure step it should mention that SSL support is enabled and if one types curl --versionthe output should mention the https protocol.

I cloned the git repository of CMake to CMakeExtractFolder and build it with:

$ git clone -b v3.9.1 https://cmake.org/cmake.git cmake

$ cd cmake

$ ./bootstrap --system-curl

$ make

$ sudo make install

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容