Page 1 of 1

Ubuntu 16.04 compile

Posted: Tue Apr 24, 2018 3:03 pm
by SpatialSE
I'd like to use CloudCompare with compressed LiDAR files (.LAZ) on Ubuntu 16.04
I've tried various different ways to download and compile CloudCompare with no luck (e.g. https://github.com/CloudCompare/CloudCo ... r/BUILD.md and http://scigeo.org/articles/howto-instal ... oudcompare). The main issue seems to be that "Qt5Svg_DIR: The directory containing a CMake configuration file for Qt5Svg." is not found. I have it installed (e.g. apt-file search Qt5Svg returns libqt5svg5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Svg/Qt5SvgConfig.cmake) but when I enter this into CMake and press [c] to configure it reports the same issue.

The software looks great - I can get a version running from the deb here: https://dl.bintray.com/ornis/CloudCompa ... udcompare/ but it doesn't recognise that I have LASzip installed and so cannot read the .LAZ

Any suggestions to get me up and running?

Re: Ubuntu 16.04 compile

Posted: Tue Apr 24, 2018 7:34 pm
by Romain.Janvier
You don't have to specified any QT5 directory to compile on Ubuntu 16.04, it should work out of the box if you have the right packages installed.
the deb package is outdated but you can use the snap package, it's easy to install:

Code: Select all

sudo snap install cloudcompare
for the latest stable version.

Code: Select all

sudo snap install cloudcompare --edge 
for the latest dev version

Re: Ubuntu 16.04 compile

Posted: Wed Apr 25, 2018 4:00 pm
by SpatialSE
Hi Romain,
Thanks for this. Yes using snap is a much easier way to install CC. Thank you for that.

Getting LibLAS to work on the other hand has been a real headache, but I am finally there and have LAZ files appearing in CC. Not easy but that is due to LibLAS, Boost, GeoTiff... and etc...)