Page 1 of 1

failed to cumpute octree on cloud

Posted: Tue Aug 02, 2016 3:38 pm
by Lucien
I have a cloud of 28 million points. When I did the segmentation, it's paused and said not enough memory. Is the cloud too heavy for CC?
I can't neither subsample to reduce the volume of cloud.
What's the cause?

Re: failed to cumpute octree on cloud

Posted: Tue Aug 02, 2016 4:42 pm
by daniel
That's weird. CC (and the octree) can work with clouds up to several hundred millions (the known record is 1.1 billion).

Maybe the error is with the parameters? Or is it with the standard (scissors) tool?

Re: failed to cumpute octree on cloud

Posted: Fri Aug 05, 2016 1:32 pm
by Lucien
I tested with open source CC(2.6.3.1 32bits) and the installer version(2.6.2 64bits). I find the problem occurs just in the opensource version.

Re: failed to cumpute octree on cloud

Posted: Fri Aug 05, 2016 8:46 pm
by daniel
You mean the version you compiled yourself?

Re: failed to cumpute octree on cloud

Posted: Mon Aug 08, 2016 6:48 am
by Lucien
Yes, I compiled CC 2.6.3.1 32bits. Is there a lot of difference with 64bits?

Re: failed to cumpute octree on cloud

Posted: Mon Aug 08, 2016 8:07 am
by daniel
The 32 bits version is much more limited in terms of memory. Moreover it's not officially supported anymore ;)

Re: failed to cumpute octree on cloud

Posted: Mon Aug 08, 2016 1:08 pm
by Lucien
1>------ Début de la génération : Projet : CC_CORE_LIB, Configuration : Release x64 ------
2>------ Début de la génération : Projet : CC_FBO_LIB, Configuration : Release x64 ------
3>------ Début de la génération : Projet : qcustomplot, Configuration : Release x64 ------
1> DgmOctree.cpp
2>x64\Release\ccBilateralFilter.obj : fatal error LNK1112: type d'ordinateur module 'x64' en conflit avec le type d'ordinateur cible 'X86'
3>x64\Release\qcustomplot.obj : fatal error LNK1112: type d'ordinateur module 'x64' en conflit avec le type d'ordinateur cible 'X86'
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(111): error C2065: 'INTMAX_MAX' : identificateur non déclaré
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(123): note: voir la référence à l'instanciation de la classe modèle 'std::ratio<_Nx,_Dx>' en cours de compilation
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(113): error C2065: 'INTMAX_MAX' : identificateur non déclaré
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(26): error C2065: 'INTMAX_MAX' : identificateur non déclaré
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(165): note: voir la référence à l'instanciation de la classe modèle 'std::_Ratio_add<_R1,_R2>' en cours de compilation
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(216): error C2338: integer arithmetic overflow
I tried to compile CC2.7 with Visual studio 2015 cummunity (release 64bits).But I had a lot of errors.

Re: failed to cumpute octree on cloud

Posted: Mon Aug 08, 2016 5:15 pm
by daniel
There's at least two separate problems:
  • there's a mismatch between the compiler and some dependencies (probably Qt). Make sure that Qt is compiled with Visual 2015 64 bits, and that you chose the same compiler in CMake.
    [*) there's a known issue with Visual 2015 (see http://www.danielgm.net/cc/forum/viewtopic.php?t=1835)

Re: failed to cumpute octree on cloud

Posted: Wed Aug 10, 2016 12:55 pm
by Lucien
Thanks.
It works well with VS2013