国产探花免费观看_亚洲丰满少妇自慰呻吟_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武林網網站的支持!


注:相關教程知識閱讀請移步到服務器教程頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 云南省| 仲巴县| 南康市| 习水县| 青川县| 扎赉特旗| 伊金霍洛旗| 阿拉善右旗| 香格里拉县| 铜山县| 靖西县| 八宿县| 东安县| 怀集县| 永胜县| 舞钢市| 常宁市| 阜阳市| 双江| 绥芬河市| 天祝| 容城县| 凤山县| 天全县| 大同县| 柘荣县| 双辽市| 建湖县| 宜宾县| 高雄市| 荃湾区| 奉节县| 筠连县| 海宁市| 瑞安市| 武穴市| 黔东| 塔河县| 涡阳县| 平远县| 津市市|