Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About make install #28

Open
HenryBao91 opened this issue Jun 22, 2021 · 1 comment
Open

About make install #28

HenryBao91 opened this issue Jun 22, 2021 · 1 comment

Comments

@HenryBao91
Copy link

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$ 
@Gluttton
Copy link
Contributor

Hello @HenryBao91,

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

Gluttton added a commit to Gluttton/munkres-cpp that referenced this issue Feb 5, 2022
A copy assignment operator must prevent that self-copy assignment ruins
the object state.

Issue: saebyn#28
Signed-off-by: Gluttton <gluttton@ukr.net>
Gluttton added a commit to Gluttton/munkres-cpp that referenced this issue Nov 5, 2022
A copy assignment operator must prevent that self-copy assignment ruins
the object state.

Issue: saebyn#28
Signed-off-by: Gluttton <gluttton@ukr.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants