Pangolin安装报错:make: *** 没有规则可制作目标“pypangolin_pip_install”。 停止。
按照 stevenlovegrove/Pangolin上的步骤安装,到
$ cmake --build . -t pypangolin_pip_install
这步就报错
make: *** 没有规则可制作目标“pypangolin_pip_install”。 停止。
参考No Target pypangolin_pip_install #694提到
I uninstalled and reinstalled cmake (in version this time 3.22) and ‘cmake …’ without even using -DPYTHON-DIR flag it find the python by itself !
Maybe put a message in the README to warn that the cmake version have to be at least > 3.12.
即更新cmake版本为3.22可以解决问题
- 可以按照How to upgrade cmake in Ubuntu [duplicate]重装cmake 3.23.1(注意 Warning – Do not do step 2 if you have Robot Operating System (ROS) installed,即,不要remove旧版本的cmake)
$ sudo pip install --upgrade cmake==3.22.0</