failed to cumpute octree on cloud

Feel free to ask any question here
Post Reply
Lucien
Posts: 37
Joined: Wed Jun 08, 2016 7:51 am

failed to cumpute octree on cloud

Post 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?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: failed to cumpute octree on cloud

Post 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?
Daniel, CloudCompare admin
Lucien
Posts: 37
Joined: Wed Jun 08, 2016 7:51 am

Re: failed to cumpute octree on cloud

Post 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.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: failed to cumpute octree on cloud

Post by daniel »

You mean the version you compiled yourself?
Daniel, CloudCompare admin
Lucien
Posts: 37
Joined: Wed Jun 08, 2016 7:51 am

Re: failed to cumpute octree on cloud

Post by Lucien »

Yes, I compiled CC 2.6.3.1 32bits. Is there a lot of difference with 64bits?
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: failed to cumpute octree on cloud

Post by daniel »

The 32 bits version is much more limited in terms of memory. Moreover it's not officially supported anymore ;)
Daniel, CloudCompare admin
Lucien
Posts: 37
Joined: Wed Jun 08, 2016 7:51 am

Re: failed to cumpute octree on cloud

Post 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.
daniel
Site Admin
Posts: 7707
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: failed to cumpute octree on cloud

Post 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)
Daniel, CloudCompare admin
Lucien
Posts: 37
Joined: Wed Jun 08, 2016 7:51 am

Re: failed to cumpute octree on cloud

Post by Lucien »

Thanks.
It works well with VS2013
Post Reply