CMake error:System Error:No such file or directory CMake error:Could not open file for write in copy operation xxxx.ros_Config.cmake.tmp.

微型电脑或嵌入式与电脑还是有点不同的,在微型电脑上ros indigo 版本下利用catkin编译如果你遇到如下错误:

CMake error:System Error:No such file or directory

CMake error:Could not open file for write in copy operation xxxx.ros_Config.cmake.tmp.

CMake error:at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:380

解决方法:

1. 切到root用户:用su、su - root或su -   (用户名root可以省略不写。)

2. 这样如果出现Authentication failed 等类似错误,则用

sudo bash

3. 然后用catkin_make编译,等编译好了,

4. 则返回普通用户即可

方法:su - (你的用户名)

时间: 2024-08-06 18:05:53

CMake error:System Error:No such file or directory CMake error:Could not open file for write in copy operation xxxx.ros_Config.cmake.tmp.的相关文章

centos6.9安装xampp后报错:egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

1.centos6.9安装xampp(xampp-linux-x64-7.0.21-0-installer.run)后启动的时候,报错: egrep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directoryegrep: error while loading shared libraries: libc.so.6: cannot open

Error connecting to database: No such file or directory

网站访问报 Database errorError connecting to database: No such file or directory 2中解决办法: 1.ln -s /var/lib/mysql/mysql.sock /tmp/ 2.vim /usr/local/php/etc/php.ini mysqli.default_socket = /var/lib/mysql/mysql.sock /etc/init.d/php-fpm restart

如何解决diff: /../Podfile.lock: No such file or directory 的问题

之前碰到过此类问题,原因是之前用了测试版本的pod,然后回归正式版本,导致找不到pod文件diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods install

下载的pod链接失效,build diff: /../Podfile.lock: No such file or directory解决办法

build diff: /../Podfile.lock: No such file or directory 1.终端进入文件路径,执行pod install 2.在工程设置中的Build Phases下删除Check Pods Manifest.lock及Copy Pods Resources 3.clean工程,然后编译就ok了 不行再试试下面方法: 工程使用CocoaPods管理第三方库,在新的目录update版本的时候出现如下问题 问题1描述: diff: /../Podfile.lo

bzip2: Cannot exec: No such file or directory

[[email protected] ~]# tar -xjf gmp-4.3.2.tar.bz2tar: bzip2: Cannot exec: No such file or directorytar: Error is not recoverable: exiting nowtar: Child returned status 2tar: Error exit delayed from previous errors yum install bzip2 tar xjf 解压bz2文件 即可

解决cocoapods diff: /../Podfile.lock: No such file or directory

最近把以前代码放到新电脑上运行,在执行pod update之后build工程遇到如下提示: diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods instal

Ubuntu14.04 ,libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory

[email protected]:/opt$ roslaunch blarospack : error while loading shared libraries: libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory Traceback (most recent call last): File "/home/macname/Desktop/ros/indigo/bi

rsync服务端启动报错rsync: link_stat "/etc/rc.d/init.d/–daemon" failed: No such file or directory (2)

问题描述 rsync服务端配置文件修改完成后.启动服务返回报错如下 [[email protected] init.d]# /usr/bin/rsync –daemon rsync: link_stat "/etc/rc.d/init.d/–daemon" failed: No such file or directory (2) rsync error: some files/attrs were not transferred (see previous errors) (code

./configure *: No such file or directory

今天在CentOS下安装Nginx时,遇到了类似以下的问题: ./configure auto/unix: No such file or directory ./configure auto/options: No such file or directory 之前在另一台服务器上安装的时候也没有遇到此问题, 安装过程参考:CentOS6.5下Nginx1.7.4安装记录 于是网上搜索解决方案,但是搜索了很久也没有找到解决方案, 当我使用"mkdir auto/unix"之后,还是提