munkres-cpp icon indicating copy to clipboard operation
munkres-cpp copied to clipboard

About make install

Open HenryBao91 opened this issue 3 years ago • 1 comments

I build the project, but failed.

henry@ubuntu:~/CProject/munkres-cpp/build$ make install
[100%] Built target munkres
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/lib/libmunkres.a
CMake Error at cmake_install.cmake:41 (file):
  file INSTALL cannot copy file
  "/home/henry/CProject/munkres-cpp/build/libmunkres.a" to
  "/usr/local/lib/libmunkres.a".


Makefile:85: recipe for target 'install' failed
make: *** [install] Error 1
henry@ubuntu:~/CProject/munkres-cpp/build$ 

HenryBao91 avatar Jun 22 '21 07:06 HenryBao91

Hello @HenryBao91,

Does the henry user have a write access for /usr/local/lib folder? Have you tried sudo make install?

Gluttton avatar Aug 14 '21 13:08 Gluttton