1. 程式人生 > >cmake安裝遇到問題總結

cmake安裝遇到問題總結

推薦cmake安裝文章點選開啟連結以及opencv例子執行。

1、qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

   解決:安裝:sudo apt-get install qt-sdk(470M,so heavy)
         but some people use:sudo apt-get install qt4-qmake.don't konw if is ok.you can try

2、ImportError: No module named numpy.distutils
   解決:sudo apt-get install python-numpy


3.CMake Error at cmake_install.cmake:36 (FILE):
  file INSTALL cannot set permissions on
  "/usr/local/include/opencv2/opencv_modules.hpp"
  原因:沒有許可權   
  解決:sudo make install