CloudCompare安装

mkdir build
cd build
cmake …
cmake --build .
sudo cmake --install .

cmake … 报错:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Svg" with any
  of the following names:

    Qt5SvgConfig.cmake
    qt5svg-config.cmake

  Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
  "Qt5Svg_DIR" to a directory containing one of the above files.  If "Qt5Svg"
  provides a separate development package or SDK, be sure it has been
  installed.
Call Stack (most recent call first):
  cmake/CMakeExternalLibs.cmake:16 (find_package)
  CMakeLists.txt:63 (include)

发现自己还没安装qt

安装

sudo apt-get install libqt5svg5-dev libqt5opengl5-dev qt5-default qttools5-dev qttools5-dev-tools libqt5websockets5-dev

安装完成后 CloudCompare的执行文件在/usr/local/bin 所以需要以下操作

需要以下操作:

ln -s /usr/local/bin/CloudCompare  ~/CloudCompare

参考

你可能感兴趣的:(linux,ubuntu)