introlab / irl_audio

A fork of IntRoLab's original ROS packages for ManyEars
6 stars 10 forks source link

Error when try compile with catkin_make #7

Open AldrichCabrera opened 6 years ago

AldrichCabrera commented 6 years ago

Hello, I'm new with this microphone device, when I run the catkin_make the package work, it downloads dependencies and compiles some library but when arriving the final I get this error:

[100%] Built target ManyEars Install the project... -- Install configuration: "Release" -- Installing: /usr/local/manyears/lib/libmanyears.a CMake Error at dsplib/cmake_install.cmake:36 (file): file INSTALL cannot copy file "/home/user/bebop_ws/build/irl_audio/manyears_ros/manyearslib-prefix/src/manyearslib/manyears-C/bin/libmanyears.a" to "/usr/local/manyears/lib/libmanyears.a". Call Stack (most recent call first): cmake_install.cmake:37 (include)

Makefile:137: recipe for target 'install' failed make[3]: [install] Error 1 irl_audio/manyears_ros/CMakeFiles/manyears_C.dir/build.make:73: recipe for target 'irl_audio/manyears_ros/manyears_C-prefix/src/manyears_C-stamp/manyears_C-install' failed make[2]: [irl_audio/manyears_ros/manyears_C-prefix/src/manyears_C-stamp/manyears_C-install] Error 2 CMakeFiles/Makefile2:11917: recipe for target 'irl_audio/manyears_ros/CMakeFiles/manyears_C.dir/all' failed make[1]: [irl_audio/manyears_ros/CMakeFiles/manyears_C.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 Invoking "make -j4 -l4" failed

Regards,

doumdi commented 6 years ago

file INSTALL cannot copy file "/home/user/bebop_ws/build/irl_audio/manyears_ros/manyearslib-prefix/src/manyearslib/manyears-C/bin/libmanyears.a" to "/usr/local/manyears/lib/libmanyears.a".

This means that you don't have the permission to write to /usr/local/manyears...