国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 服務器 > Web服務器 > 正文

Ubuntu18.04安裝opencv 3.2.0的解決方法

2024-09-01 13:55:53
字體:
來源:轉載
供稿:網友

下載opencv.zip

要提前安裝依賴項。

先更新一下下載源。用17.04 的源可以解決在18.04中找不到libjasper.dev的問題。

refhttps://stackoverflow.com/questions/43484357/opencv-in-ubuntu-17-04libjasper-dev無法安裝errorE: unable to locate libjasper-dev

解決方法

sudo add-apt-repository “deb http://security.ubuntu.com/ubuntu xenial-security main”sudo apt updatesudo apt install libjasper1 libjasper-dev

報錯:

-- Checking for module 'gstreamer-base-1.0'
--   No package 'gstreamer-base-1.0' found
-- Checking for module 'gstreamer-video-1.0'
--   No package 'gstreamer-video-1.0' found
-- Checking for module 'gstreamer-app-1.0'
--   No package 'gstreamer-app-1.0' found
-- Checking for module 'gstreamer-riff-1.0'
--   No package 'gstreamer-riff-1.0' found
-- Checking for module 'gstreamer-pbutils-1.0'
--   No package 'gstreamer-pbutils-1.0' found
-- Checking for module 'gstreamer-base-0.10'
--   No package 'gstreamer-base-0.10' found
-- Checking for module 'gstreamer-video-0.10'
--   No package 'gstreamer-video-0.10' found
-- Checking for module 'gstreamer-app-0.10'
--   No package 'gstreamer-app-0.10' found
-- Checking for module 'gstreamer-riff-0.10'
--   No package 'gstreamer-riff-0.10' found
-- Checking for module 'gstreamer-pbutils-0.10'
--   No package 'gstreamer-pbutils-0.10' found

解決方法

refhttps://stackoverflow.com/questions/37678324/compiling-opencv-with-gstreamer-cmake-not-finding-gstreamer

安裝

sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev

報錯

-- CUDA detected: 9.0
-- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-D_FORCE_INLINES
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
-- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_CBLAS_LIBRARY Atlas_BLAS_LIBRARY Atlas_LAPACK_LIBRARY) 
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
-- Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) 
-- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file

總結

以上所述是小編給大家介紹的Ubuntu18.04安裝opencv 3.2.0的解決方法,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對VEVB武林網網站的支持!


注:相關教程知識閱讀請移步到服務器教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 滁州市| 台南市| 大悟县| 泸水县| 桂平市| 庄浪县| 东海县| 玛多县| 镶黄旗| 莫力| 新晃| 海南省| 呼伦贝尔市| 赞皇县| 江永县| 丰县| 务川| 临洮县| 通河县| 灵山县| 辉南县| 大冶市| 华坪县| 孟州市| 墨竹工卡县| 城口县| 竹溪县| 彭水| 文山县| 互助| 赤峰市| 清河县| 达孜县| 南康市| 同德县| 黎平县| 榆中县| 工布江达县| 黔西县| 阳山县| 农安县|