Open HenryBao91 opened 3 years ago
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$
Hello @HenryBao91,
Does the henry user have a write access for /usr/local/lib folder? Have you tried sudo make install?
henry
/usr/local/lib
sudo make install
I build the project, but failed.