Ninja not found by CMake

后端 未结 3 1086
醉话见心
醉话见心 2020-12-17 16:09

I\'m trying to build some code I got from GitHub using CMake, but keep getting the followings errors:

CMake Error: CMake was unable to find a build program c         


        
3条回答
  •  孤城傲影
    2020-12-17 16:57

    If ninja really exists in $PATH and it still does not work, you should check the permission of the executable file via ls -l /PATH/TO/NINJA. Make sure others have read and execute permissions (like '-rwxr-xr-x').

    See also: 0013910: Ninja generator initialization fails if /usr/bin/ninja is not world-readable

提交回复
热议问题