Page 1 of 1

command line errors

Posted: Fri Feb 06, 2015 8:46 pm
by yaseryacoob
I am using the command line verision of CloudComapre on ubunutu (installed via apt-get). It worked fine for the following command running ICP

CloudCompare -O 03008_PC.ply -O 11287s37_PC.ply -ICP -ADJUST_SCALE

but it crashes with --> Unknown or misplaced command:'-APPLY_TRANSFORM'
for
CloudCompare -O 03008_PC.ply -APPLY_TRANS 03008_PC__REGISTRATION_MATRIX_2015-02-06_15h01.txt


and I get a similar crash on
CloudCompare -O 03008_PC.ply -O 11287s37_PC.ply -ICP -OVERLAP 70

I get --> Unknown or misplaced command:'-OVERLAP'

What my I missing here?
thanks

Re: command line errors

Posted: Fri Feb 06, 2015 10:26 pm
by daniel
Hi,

for the first one: do you use '-APPLY_TRANS' or '-APPLY_TRANSFORM''? Because you shouldn't get this error message if there's no '-APPLY_TRANSFORM' in your command. Otherwise I tested this again and it worked on my side (apart from a glitch in the error message when the file can't be found - I've just updated the sources to fix it).

And for the second one: have you updated the sources recently? All those options have been added in the last few days.

EDIT: sorry, I missed the 'apt-get' ;) Then you'll have to wait for the next release or compile the sources yourself as those options have appeared in the 2.6.1.beta

Re: command line errors

Posted: Mon Feb 09, 2015 1:54 pm
by yaseryacoob
Thanks I missed the need for 2.6.1 for these commands.
I moved to Windows, and installed 2.6.1 and all is working well. Many thanks!