Page 2 of 2

Re: Compiling CC on Lubuntu, issue with cmake

Posted: Fri Dec 12, 2014 9:10 am
by daniel
So first of all:
  • be sure that the BUILD directory is not under the 'trunk' one (i.e. the git repository) othrewise it can really mess things up
  • the 'ccViewer' folder shouldn't be under the 'plugins' folder?! You should clean everything and restart from a clean repository
  • never look inside the BUILD directory, nor modify anything there (it's CMake-only property ;).
  • Only look at the INSTALL one (/usr/bin by default). Plugins should be in '/usr/bin/CloudCompare/plugins' (and make sure you have updated the .so files location)
If you want plugins you have to compile them first. You have to explicitly 'enable' them in CMake first (are you using cmake-gui by the way? With a graphical interface? It helps a lot to understand what's going on).

Beware that some plugins requires third party library and a bit of tinkering... Some are not even working on Linux.

Re: Compiling CC on Lubuntu, issue with cmake

Posted: Fri Dec 12, 2014 3:52 pm
by muzo583
daniel wrote:So first of all:
  • be sure that the BUILD directory is not under the 'trunk' one (i.e. the git repository) othrewise it can really mess things up
  • the 'ccViewer' folder shouldn't be under the 'plugins' folder?! You should clean everything and restart from a clean repository
  • never look inside the BUILD directory, nor modify anything there (it's CMake-only property ;).
  • Only look at the INSTALL one (/usr/bin by default). Plugins should be in '/usr/bin/CloudCompare/plugins' (and make sure you have updated the .so files location)
If you want plugins you have to compile them first. You have to explicitly 'enable' them in CMake first (are you using cmake-gui by the way? With a graphical interface? It helps a lot to understand what's going on).

Beware that some plugins requires third party library and a bit of tinkering... Some are not even working on Linux.
Thank you very much Daniel, I have succed to install some plugins with your directions..