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
Hi,
When I try to compile with 'scons', I meet errors.
The below is part of compiling error information:
....
....
/usr/local/include/boost/type_traits/is_convertible.hpp:135:75: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
static bool const value = sizeof( boost::detail::checker::_m_check(_m_from, 0) )
....
....
/usr/local/include/boost/filesystem/v3/operations.hpp:581:9: error: use of deleted function 'boost::shared_ptrboost::filesystem3::detail::dir_itr_imp::shared_ptr(const boost::shared_ptrboost::filesystem3::detail::dir_itr_imp&)'
...
...
/usr/include/c++/5/ext/new_allocator.h:120:4: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
{ ::new((void )__p) _Up(std::forward<_Args>(__args)...); }
....
....
/usr/include/c++/5/bits/stl_construct.h:75:7: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
{ ::new(static_cast<void>(__p)) _T1(std::forward<_Args>(__args)...); }
.....
.....
My OS is Ubantu-16.04.7 LTS.
I have tried to change the version of c++(11, 17) and libboost(all, 1.58)-dev.
But the errors still exist.
Do you have any ideas to solve it?
Thanks.
The text was updated successfully, but these errors were encountered:
Hi,
When I try to compile with 'scons', I meet errors.
The below is part of compiling error information:
....
....
/usr/local/include/boost/type_traits/is_convertible.hpp:135:75: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
static bool const value = sizeof( boost::detail::checker::_m_check(_m_from, 0) )
....
....
/usr/local/include/boost/filesystem/v3/operations.hpp:581:9: error: use of deleted function 'boost::shared_ptrboost::filesystem3::detail::dir_itr_imp::shared_ptr(const boost::shared_ptrboost::filesystem3::detail::dir_itr_imp&)'
...
...
/usr/include/c++/5/ext/new_allocator.h:120:4: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
{ ::new((void )__p) _Up(std::forward<_Args>(__args)...); }
....
....
/usr/include/c++/5/bits/stl_construct.h:75:7: error: use of deleted function 'boost::filesystem3::directory_iterator::directory_iterator(const boost::filesystem3::directory_iterator&)'
{ ::new(static_cast<void>(__p)) _T1(std::forward<_Args>(__args)...); }
.....
.....
My OS is Ubantu-16.04.7 LTS.
I have tried to change the version of c++(11, 17) and libboost(all, 1.58)-dev.
But the errors still exist.
Do you have any ideas to solve it?
Thanks.
The text was updated successfully, but these errors were encountered: