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
{{ message }}
This repository has been archived by the owner on Apr 18, 2022. It is now read-only.
Hello, I am installing EGsfm when compiling error, error code below, can you help me solve it
In file included from /usr/include/c++/7/algorithm:62:0,
from /home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:43:
/usr/include/c++/7/bits/stl_algo.h: In instantiation of ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<std::thread*, std::vectorstd::thread >; _Funct = std::mem_fun_t<void, std::thread>]’:
/home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:161:81: required from here
/usr/include/c++/7/bits/stl_algo.h:3884:5: error: no match for call to ‘(std::mem_fun_t<void, std::thread>) (std::thread&)’
__f(*__first);
In file included from /usr/include/c++/7/string:48:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:35:
/usr/include/c++/7/bits/stl_function.h:946:7: note: candidate: _Ret std::mem_fun_t<_Ret, _Tp>::operator()(_Tp*) const [with _Ret = void; _Tp = std::thread]
operator()(_Tp* __p) const
^~~~~~~~
/usr/include/c++/7/bits/stl_function.h:946:7: note: no known conversion for argument 1 from ‘std::thread’ to ‘std::thread*’
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello, I am installing EGsfm when compiling error, error code below, can you help me solve it
In file included from /usr/include/c++/7/algorithm:62:0,
from /home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:43:
/usr/include/c++/7/bits/stl_algo.h: In instantiation of ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<std::thread*, std::vectorstd::thread >; _Funct = std::mem_fun_t<void, std::thread>]’:
/home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:161:81: required from here
/usr/include/c++/7/bits/stl_algo.h:3884:5: error: no match for call to ‘(std::mem_fun_t<void, std::thread>) (std::thread&)’
__f(*__first);
In file included from /usr/include/c++/7/string:48:0,
from /usr/include/c++/7/bits/locale_classes.h:40,
from /usr/include/c++/7/bits/ios_base.h:41,
from /usr/include/c++/7/ios:42,
from /usr/include/c++/7/ostream:38,
from /usr/include/c++/7/iostream:39,
from /home/lab218/EGSfM/ext/libvot/src/vocab_tree/clustering.cpp:35:
/usr/include/c++/7/bits/stl_function.h:946:7: note: candidate: _Ret std::mem_fun_t<_Ret, _Tp>::operator()(_Tp*) const [with _Ret = void; _Tp = std::thread]
operator()(_Tp* __p) const
^~~~~~~~
/usr/include/c++/7/bits/stl_function.h:946:7: note: no known conversion for argument 1 from ‘std::thread’ to ‘std::thread*’
The text was updated successfully, but these errors were encountered: