This commit is contained in:
light
2018-03-15 11:00:55 +08:00
parent beacc31ebf
commit c7412bb437
2 changed files with 3 additions and 4 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ mkdir my_build
cd my_build
## cmake 中会下载安装一个大文件,网速会很慢
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..
cmake -D CMAKE_BUILD_TYPE=Release \
-D OPENCV_EXTRA_MODULES_PATH=/home/lab_01/program/opencv_contrib-3.3.0/modules \
-D CMAKE_INSTALL_PREFIX=/usr/local ..
sudo make
sudo make install