When running the cylinder3D
package, I need to install spconv1.2.1
, and the error is reported as follows:
/usr/include/c++/7/bits/basic_string.tcc:1067:16: error: cannot call member function 'void std::basic_string<_CharT, _Traits, _Alloc>::_Rep::_M_set_sharable() [with _CharT = char16_t; _Traits = std::char_traits<char16_t>; _Alloc = std::allocator<char16_t>]' without object
__p->_M_set_sharable();
In /usr/include/c++/7/bits/basic_string.tcc:1067:16
:
sudo gedit /usr/include/c++/7/bits/basic_string.tcc
change:
__p->_M_set_sharable()
to:
(*__p)._M_set_sharable()
problem solved! ! !