Hello everyone, this is my first post here, I am a bit lost.
So I have been trying to install CloudCompare on Ubuntu 14.04 because I want to make comparisons of some pointclouds that I have. The problem is that, when I try to make the CC project: run make from ~/trunk/build (I previously run cmake . ./build inside /trunk folder); I get the error that CloudCompare does not support versions of Qt prior to 5.4. However, I have installed version 5.8 as it is the one that you can directly from its website.
How can i solve this issue?
Regards, Adrian
Build error: CloudCompare does not support versions of Qt prior to 5.4
-
- Posts: 3
- Joined: Tue Apr 11, 2017 8:37 am
Re: Build error: CloudCompare does not support versions of Qt prior to 5.4
Indeed, CC can't be compiled with Qt < 5.5. And I bet the two versions are installed on your computer (5.4 and 5.8) and CMake takes the 5.4 by default.
In this case you have to explicitly set the right version to be used. I'm not sure how this is done on Linux, but on Windows one has to make the CMake variable 'QT5_ROOT_PATH' point to the right path. And it may be easier to use cmake gui to do this.
In this case you have to explicitly set the right version to be used. I'm not sure how this is done on Linux, but on Windows one has to make the CMake variable 'QT5_ROOT_PATH' point to the right path. And it may be easier to use cmake gui to do this.
Daniel, CloudCompare admin
-
- Posts: 3
- Joined: Tue Apr 11, 2017 8:37 am
Re: Build error: CloudCompare does not support versions of Qt prior to 5.4
Hi, sorry for the late answer.
I actually have the variable set like following, as far as I understand it is correct:
Cheers
I actually have the variable set like following, as far as I understand it is correct:
Am I wrong or this comes from a different problem?echo $QT5_ROOT_PATH
/home/adrian/Qt/5.8/gcc_64/bin
Cheers
Re: Build error: CloudCompare does not support versions of Qt prior to 5.4
If I'm not mistaken the 'echo' command is not related to CMake, isn't it?
I think CMake -L will display the list of variables (see https://cmake.org/cmake/help/v3.2/manual/cmake.1.html). I personally prefer the GUI version of CMake ;)
I think CMake -L will display the list of variables (see https://cmake.org/cmake/help/v3.2/manual/cmake.1.html). I personally prefer the GUI version of CMake ;)
Daniel, CloudCompare admin