You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while compiling current pcl with Visual Studio 2010 64bit
"error C2668: 'sqrt' : ambiguous call to overloaded function"
VS is not able to convert sqrt(3) to sqrt(3.0f).
In grsd.hpp line 90
change rsd.setRadiusSearch (std::max (search_radius_, sqrt (3) * width_ / 2));
to rsd.setRadiusSearch (std::max (search_radius_, sqrt (3.0f) * width_ / 2));
to solve this problem for Visual Sutio 2010 (vc++)
The text was updated successfully, but these errors were encountered:
while compiling current pcl with Visual Studio 2010 64bit
"error C2668: 'sqrt' : ambiguous call to overloaded function"
VS is not able to convert
sqrt(3)
tosqrt(3.0f)
.In
grsd.hpp
line 90change
rsd.setRadiusSearch (std::max (search_radius_, sqrt (3) * width_ / 2));
to
rsd.setRadiusSearch (std::max (search_radius_, sqrt (3.0f) * width_ / 2));
to solve this problem for Visual Sutio 2010 (vc++)
The text was updated successfully, but these errors were encountered: