opencv

zypper addrepo -f http://mirrors.aliyun.com/opensuse/distribution/leap/15.2/repo/oss/ openSUSE-Oss
zypper addrepo -f http://mirrors.aliyun.com/opensuse/distribution/leap/15.2/repo/non-oss/ openSUSE-Non-Oss
zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/oss/ openSUSE-Update-Oss
zypper addrepo -f http://mirrors.aliyun.com/opensuse/update/leap/15.2/non-oss/ openSUSE-Update-Non-Oss

 

zypper update

 

zypper in make gcc gcc-c++ cmake gtk2-devel libavcodec58 libavformat58 libswscale5 libtbb2 libdc1394 libjpeg-turbo libjasper-devel libtiff-devel libjpeg libdc1394-devel python-devel kcolorchooser kolourpaint kruler *wqy*

 zypper in fcitx fcitx-googlepinyin gvim

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple
pip install -i https://mirrors.aliyun.com/pypi/simple pip -U
pip install numpy

openblas

 

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
make -j7
sudo make install
posted @ 2019-08-04 01:08  cvhuang  阅读(138)  评论(0编辑  收藏  举报