“No rule to make target 'install'”… But Makefile exists

后端 未结 3 1880
失恋的感觉
失恋的感觉 2020-12-31 03:46

I am running into issues installing a C++ library. The CMake command is successful and generates the Makefile, but it gives a warning:

CMake Warning (dev) at         


        
3条回答
  •  独厮守ぢ
    2020-12-31 04:18

    I was receiving the same error message, and my issue was that I was not in the correct directory when running the command make install. When I changed to the directory that had my makefile it worked.

    So possibly you aren't in the right directory.

提交回复
热议问题