标签:config make /usr nump open 编译 class build pytho
sudo apt-get install build-essential
sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
在 OpenCV
的 Releases 页面下载 Source code
并解压。
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
make -j8
sudo make install
标签:config make /usr nump open 编译 class build pytho
原文地址:https://www.cnblogs.com/StarUDream/p/9045517.html