opencv编译安装中出现 file INSTALL cannot set permissions on这种问题
来源:互联网 发布:邱毅 知乎 编辑:程序博客网 时间:2024/05/22 07:03
linux系统下安装openCV出现
file INSTALL cannot set permissions on
"/usr/local/include/opencv2/cvconfig.h这种问题该如何解决:参考安装链接http://www.cnblogs.com/emouse/archive/2013/02/22/2922940.html
解决如下zhangxiangwei@zxw-OptiPlex-3046:~/Documents/opencv-3.2.0/build$ make install 运行这一步之后出现以下问题:
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/include/opencv2/cvconfig.h
CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot set permissions on
"/usr/local/include/opencv2/cvconfig.h"
如何解决呢?接下来执行以下步骤!
zhangxiangwei@zxw-OptiPlex-3046:~/Documents/opencv-3.2.0/build$ su
Password:
su: Authentication failure
执行失败怎么办呢?
然后重置密码如下:
zhangxiangwei@zxw-OptiPlex-3046:~/Documents/opencv-3.2.0/build$ sudo passwd rootEnter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
zhangxiangwei@zxw-OptiPlex-3046:~/Documents/opencv-3.2.0/build$ su
Password:
root@zxw-OptiPlex-3046:/home/zhangxiangwei/Documents/opencv-3.2.0/build# make clean
root@zxw-OptiPlex-3046:/home/zhangxiangwei/Documents/opencv-3.2.0/build# make -j4
root@zxw-OptiPlex-3046:/home/zhangxiangwei/Documents/opencv-3.2.0/build# make install
-- Set runtime path of "/usr/local/bin/opencv_annotation" to "/usr/local/lib"
-- Installing: /usr/local/bin/opencv_visualisation
-- Set runtime path of "/usr/local/bin/opencv_visualisation" to "/usr/local/lib"
-- Installing: /usr/local/bin/opencv_version
-- Set runtime path of "/usr/local/bin/opencv_version" to "/usr/local/lib"
root@zxw-OptiPlex-3046:/home/zhangxiangwei/Documents/opencv-3.2.0/build# NFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
root@zxw-OptiPlex-3046:/home/zhangxiangwei/Documents/opencv-3.2.0/build# export PKG_CONFIG_PATH
Linux 下编译安装OpenCV主要步骤:
http://www.cnblogs.com/emouse/archive/2013/02/22/2922940.html
zhangxiangwei@zxw-OptiPlex-3046:~$ cmake-gui
zhangxiangwei@zxw-OptiPlex-3046:~$ sudo apt install cmake-qt-gui
zhangxiangwei@zxw-OptiPlex-3046:~$ cmake-gui
zhangxiangwei@zxw-OptiPlex-3046:/media/zhangxiangwei/00006784000048231/openCV_x/opencv/sources/build-linux$ make
zhangxiangwei@zxw-OptiPlex-3046:~/Documents/opencv-3.2.0/build$ make install
阅读全文
0 0
- opencv编译安装中出现 file INSTALL cannot set permissions on这种问题
- OpenCV 2.3.0 编译错误之 file INSTALL cannot find opencv_ffmpeg230d.dll(无法找到opencv_ffmpeg230d.dll)
- linux系统中安装jdk出现bash: ./java: cannot execute binary file 问题
- 解决VC中编译出现”SHSQ.dll This required file cannot be loaded. Please re-install Microsoft Visual C++“方法之一
- opencv2.3.0安装时出现error MSB3073: 命令“setlocal“ 和file INSTALL cannot find opencv_ffmpeg230...
- 安装VisualDSP++出现Install cannot proceed.Could not find XML file or the XML file may be corrupted!
- 安装VisualDSP++出现Install cannot proceed.Could not find XML file or the XML file may be corrupted!
- Ruby on Rails 安装出现`require’: cannot load such file — openssl (LoadError)的解决方法
- 问题四20150827解决maven打包编译出现File encoding has not been set问题
- phpmyadmin出现 Wrong permissions on configuration file, should not be world writable! 解决方法
- phpmyadmin出现“Wrong permissions on configuration file, should not be world writable!”错误
- 进入phpmyadmin出现Wrong permissions on configuration file, should not be world writable!
- 编译C++出现fatal error c1083: cannot open precompiled header file问题的解决办法
- 使用NDK编译时出现cannot execute binary file的问题
- 关于opencv编译出现importerror:../../lib/libopencv_core.so cannot share or open问题
- 解决maven打包编译出现File encoding has not been set问题
- 解决maven打包编译出现File encoding has not been set问题
- Maven之—— 打包编译出现File encoding has not been set问题
- javascript检查插件是否已经在IE和firefox上安装
- 将datatable分页
- mysql_建立索引的优缺点&性能优化
- 内部类
- Spring MVC+ Ireport 做统计报表,导出HTML、EXCEL等格式的文件,打印;
- opencv编译安装中出现 file INSTALL cannot set permissions on这种问题
- TextView基础
- MySQL TIMESTAMP相关问题
- Unity3D 06-根据Transform、GameObject和Tag获取子对象集合
- 关于STM32软件复位代码编写 (转)
- 9.7-全栈Java笔记:Set接口和实现类
- 【Linux】实现睡眠函数mysleep
- 使用开源软件快速搭建数据分析平台
- spark python 机器学习