Running cloudcompare on ubuntu 16.04 lts

Feel free to ask any question here
Post Reply
amitoz
Posts: 3
Joined: Tue Jul 18, 2017 3:16 pm

Running cloudcompare on ubuntu 16.04 lts

Post by amitoz »

Hello Everyone,

I am a newbie to Ubuntu. I decided to install cloud compare. Everything got installed without any err or dependency issue, in the /snap/cloudcompare. Initially I couldn't figure it out how to run this application. Then I saw binary CloudCompare inside /snap/cloudcomapre/1/bin. I changed my directory to it and used ./CloudCompare but it is throwing this error.
error while running CC
error while running CC
cc.png (19.03 KiB) Viewed 18246 times
I am not even sure is it even a right way to run CC. Kindly help me running CC on my Ubuntu.
daniel
Site Admin
Posts: 7709
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: Running cloudcompare on ubuntu 16.04 lts

Post by daniel »

Have you tried to simply type 'CloudCompare'?

At least you shouldn't launch it from the snap bundle!
Daniel, CloudCompare admin
amitoz
Posts: 3
Joined: Tue Jul 18, 2017 3:16 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by amitoz »

Yes I did. CloudCompare: command not found was the issue. So obviously the PATH environment has to be appended. Which I did by adding /snap/cloudcompare/1/bin to the PATH. Should I add something else to the PATH?
Romain.Janvier
Posts: 29
Joined: Sat Dec 14, 2013 6:36 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by Romain.Janvier »

In Snap, there is a namespace concept, to launch your application you have to type namespace.applicationbinary . for CC package the namespace is cloudcompare. So you you have to type cloudcompare.CloudCompare.

you can also launch CC from the Unity shell by clicking on the icon.
amitoz
Posts: 3
Joined: Tue Jul 18, 2017 3:16 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by amitoz »

Thank you Roman it works. Any reference to understand this namespace concept? Now after launching the application I have locked it on my unity shell.
Best regards
a.patience
Posts: 9
Joined: Wed May 02, 2018 1:32 am

Re: Running cloudcompare on ubuntu 16.04 lts

Post by a.patience »

amitoz wrote:Thank you Roman it works. Any reference to understand this namespace concept? Now after launching the application I have locked it on my unity shell.
Best regards
Namespaces are an Object-Oriented Programming (OOP) concept:

https://docs.microsoft.com/en-us/dotnet ... /namespace

Easiest to think of a namespace as an environment in which objects can exist.
augle
Posts: 2
Joined: Tue May 22, 2018 6:08 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by augle »

I've got the same problem, but when trying with "cloudcompare.CloudCompare", I got
bash: cloudcompare.CloudCompare: No such file or directory

I am running Linux Mint 17.2, and installation with

sudo apt install snapd
snap install cloudcompare

produces no error
TheOrdinaryMan
Posts: 5
Joined: Mon May 14, 2018 5:23 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by TheOrdinaryMan »

Same here, ubuntu 14.04, running cloudcompare.Cloudcompare gives "command not found"

Also attempting to download the stable build with snap makes it download 2.10-beta
Romain.Janvier
Posts: 29
Joined: Sat Dec 14, 2013 6:36 pm

Re: Running cloudcompare on ubuntu 16.04 lts

Post by Romain.Janvier »

@augie please try to reboot your computer an try to launch CloudCompare first through the graphic shell.
Post Reply