openMP issue with Poisson Reconstruction

For any question about plugins!
Post Reply
jonathanbyrn
Posts: 8
Joined: Thu Apr 03, 2014 7:31 am

openMP issue with Poisson Reconstruction

Post by jonathanbyrn »

Hi,
I am trying to use the poisson reconstruction plugin but every time I try to apply it I get this error:
CloudCompare: symbol lookup error: /usr/local/CloudCompare/plugins/libQPOISSON_RECON_PLUGIN.so: undefined symbol: omp_get_num_procs

extensive googling seems to indicate that this is a compile time requirement, rather than something missing at runtime but when I run cmake everything builds perfectly.
I am using the latest version on github and running it on ubuntu 14.04, the other plugins I build like the pcl library are running correctly. Any help would be greatly appreciated
daniel
Site Admin
Posts: 7710
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: openMP issue with Poisson Reconstruction

Post by daniel »

This error means that your compiler doesn't support OpenMP (which is strange for gcc/ubuntu but who knows...).

You have to deactivate the 'POISSON_RECON_WITH_OPEN_MP' option in CMake.
Daniel, CloudCompare admin
jonathanbyrn
Posts: 8
Joined: Thu Apr 03, 2014 7:31 am

Re: openMP issue with Poisson Reconstruction

Post by jonathanbyrn »

That confused me aswell, if it compiles correctly with gnu and the -fopenmp flag then surely it should find the methods at runtime. Anyways I rebuilt it without openMP and now it is working correctly. Thanks again for your help and I will post on the github bug tracker in future.
Post Reply