convolution_3d.hpp problem with OpenMP when using VS

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

convolution_3d.hpp problem with OpenMP when using VS

nenadpol
This post was updated on .
Hi,
I am using VS 2012, pcl 1.7.2

I have encountered this problem

error C3016: 'point_idx' : index variable in OpenMP 'for' statement must have signed integral type ............convolution_3d.hpp


code in line 243 should be changed to:
for (int point_idx = 0; point_idx < surface_->size (); ++point_idx)


This is a known limitation in OpenMP 2.0 supported by Visual Studio 2012. OpenMP 3.0 accomodates the unsigned int in 'for' loop but not yet supported by Visual Studio.


cheers
Nenad
Reply | Threaded
Open this post in threaded view
|

Re: convolution_3d.hpp problem with OpenMP when using VS

VictorLamoine
Administrator
Hello,

Can you report this on the bug tracker?
https://github.com/PointCloudLibrary/pcl/issues

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: convolution_3d.hpp problem with OpenMP when using VS

nenadpol
Hi Victor,

Done, issue  #1499

cheers
Nenad