stack-of-tasks / sot-core

Hierarchical task solver plug-in for dynamic-graph
BSD 2-Clause "Simplified" License
19 stars 32 forks source link

[Fix] CMake error fix on the ROS build farm #168

Closed Rascof closed 4 years ago

Rascof commented 4 years ago

Try to fix this error:

CMake Error at src/cmake_install.cmake:55 (file):
  file INSTALL cannot copy file
  "/tmp/ws/build_isolated/sot-core/install/src/libsot.so.4.10.1" to
  "/opt/ros/noetic/lib/dynamic-graph-plugins/libsot.so.4.10.1": Permission
  denied.
Call Stack (most recent call first):
  cmake_install.cmake:468 (include)

make: *** [Makefile:121: install] Error 1
<== Failed to process package 'sot-core': 
  Command '['make', 'install']' returned non-zero exit status 2.

Reproduce this error by running:
==> cd /tmp/ws/build_isolated/sot-core && make install

Command failed, exiting.
Rascof commented 4 years ago

Solved with patches on the ROS release repository : https://github.com/stack-of-tasks/sot-core-ros-release/tree/patches/release/melodic/sot-core