Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while linking executable #260

Open
zerohuwan opened this issue Jan 8, 2023 · 1 comment
Open

Error while linking executable #260

zerohuwan opened this issue Jan 8, 2023 · 1 comment

Comments

@zerohuwan
Copy link

zerohuwan commented Jan 8, 2023

The code here uses xshell and Ubuntu 18.04.6 LTS.
~/nikdso/src/dso/build$ make [ 92%] Built target dso [ 96%] Linking CXX executable bin/dso_dataset CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function main::{lambda()#1}::operator()() const':
/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:256: undefined reference to zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:257: undefined reference to zip_fread'
/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:264: undefined reference to zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:265: undefined reference to zip_fread'
/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:256: undefined reference to zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:257: undefined reference to zip_fread'
/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:264: undefined reference to zip_fopen' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:265: undefined reference to zip_fread'
CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function ImageFolderReader::~ImageFolderReader()': /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:170: undefined reference to zip_close'
CMakeFiles/dso_dataset.dir/src/main_dso_pangolin.cpp.o: In function ImageFolderReader::ImageFolderReader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:125: undefined reference to zip_open'
/home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:133: undefined reference to zip_get_num_entries' /home/zhangfangfei/nikdso/src/dso/src/util/DatasetReader.h:136: undefined reference to zip_get_name'
collect2: error: ld returned 1 exit status
CMakeFiles/dso_dataset.dir/build.make:152: recipe for target 'bin/dso_dataset' failed
make[2]: *** [bin/dso_dataset] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/dso_dataset.dir/all' failed
make[1]: *** [CMakeFiles/dso_dataset.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2`

@zerohuwan
Copy link
Author

zerohuwan commented Jan 8, 2023

The code here uses vmware and Ubuntu 22.04 LTS.

`/dso_pkg/dso/build$ make
[ 4%] Building CXX object CMakeFiles/dso.dir/src/FullSystem/FullSystem.cpp.o
In file included from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:26,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp: In static member function ‘static const Adjoint Sophus::RxSO3GroupBase::d_lieBracketab_by_d_a(const Tangent&)’:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp:380:47: warning: ‘Sophus::SO3’ is deprecated [-Wdeprecated-declarations]
380 | res.template topLeftCorner<3,3>() = -SO3::hat(b.template head<3>());
| ^~~
In file included from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp:27,
from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:26,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/so3.hpp:35:43: note: declared here
35 | typedef EIGEN_DEPRECATED SO3Group SO3;
| ^~~
In file included from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp: In static member function ‘static const Adjoint Sophus::Sim3GroupBase::d_lieBracketab_by_d_a(const Tangent&)’:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:393:17: warning: ‘Sophus::SO3’ is deprecated [-Wdeprecated-declarations]
393 | = -SO3::hat(omega2)-sigma2*Matrix3d::Identity();
| ^~~
In file included from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp:27,
from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:26,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/so3.hpp:35:43: note: declared here
35 | typedef EIGEN_DEPRECATED SO3Group SO3;
| ^~~
In file included from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:394:42: warning: ‘Sophus::SO3’ is deprecated [-Wdeprecated-declarations]
394 | res.template block<3,3>(0,3) = -SO3::hat(upsilon2);
| ^~~
In file included from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp:27,
from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:26,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/so3.hpp:35:43: note: declared here
35 | typedef EIGEN_DEPRECATED SO3Group SO3;
| ^~~
In file included from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:396:42: warning: ‘Sophus::SO3’ is deprecated [-Wdeprecated-declarations]
396 | res.template block<3,3>(3,3) = -SO3::hat(omega2);
| ^~~
In file included from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/rxso3.hpp:27,
from /home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/sim3.hpp:26,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/thirdparty/Sophus/sophus/so3.hpp:35:43: note: declared here
35 | typedef EIGEN_DEPRECATED SO3Group SO3;
| ^~~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h: In constructor ‘dso::IndexThreadReduce::IndexThreadReduce()’:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:91: error: ‘_1’ was not declared in this scope
49 | boost::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:91: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:225:34: note: ‘std::placeholders::1’
225 | extern const Placeholder<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> 1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:46:38: note: ‘boost::placeholders::1’
46 | BOOST_STATIC_CONSTEXPR boost::arg<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:95: error: ‘_2’ was not declared in this scope
49 | st::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:95: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:226:34: note: ‘std::placeholders::2’
226 | extern const Placeholder<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> 2;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:47:38: note: ‘boost::placeholders::2’
47 | BOOST_STATIC_CONSTEXPR boost::arg<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:99: error: ‘_3’ was not declared in this scope
49 | t::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:99: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl_::_3’
55 | typedef arg<3> _3;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:227:34: note: ‘std::placeholders::3’
227 | extern const Placeholder<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> 3;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:48:38: note: ‘boost::placeholders::3’
48 | BOOST_STATIC_CONSTEXPR boost::arg<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> _3;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:103: error: ‘_4’ was not declared in this scope
49 | t::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:49:103: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl_::_4’
68 | typedef arg<4> _4;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:228:34: note: ‘std::placeholders::4’
228 | extern const Placeholder<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> 4;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:49:38: note: ‘boost::placeholders::4’
49 | BOOST_STATIC_CONSTEXPR boost::arg<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> _4;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h: In member function ‘void dso::IndexThreadReduce::reduce(boost::function<void(int, int, Running*, int)>, int, int, int)’:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:97: error: ‘_1’ was not declared in this scope
134 | boost::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:97: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:225:34: note: ‘std::placeholders::1’
225 | extern const Placeholder<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> 1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:46:38: note: ‘boost::placeholders::1’
46 | BOOST_STATIC_CONSTEXPR boost::arg<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:101: error: ‘_2’ was not declared in this scope
134 | st::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:101: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:226:34: note: ‘std::placeholders::2’
226 | extern const Placeholder<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> 2;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:47:38: note: ‘boost::placeholders::2’
47 | BOOST_STATIC_CONSTEXPR boost::arg<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:105: error: ‘_3’ was not declared in this scope
134 | t::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:105: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl_::_3’
55 | typedef arg<3> _3;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:227:34: note: ‘std::placeholders::3’
227 | extern const Placeholder<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> 3;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:48:38: note: ‘boost::placeholders::3’
48 | BOOST_STATIC_CONSTEXPR boost::arg<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> _3;
| ^~
In file included from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:109: error: ‘_4’ was not declared in this scope
134 | t::bind(&IndexThreadReduce::callPerIndexDefault, this, _1, _2, _3, _4);
| ^~

/home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:134:109: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl_::_4’
68 | typedef arg<4> _4;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:228:34: note: ‘std::placeholders::4’
228 | extern const Placeholder<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> 4;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:49:38: note: ‘boost::placeholders::4’
49 | BOOST_STATIC_CONSTEXPR boost::arg<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> _4;
| ^~
/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp: In member function ‘void dso::FullSystem::activatePointsMT()’:
/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:119: error: ‘_1’ was not declared in this scope
646 | ::activatePointsMT_Reductor, this, &optimized, &toOptimize, _1, _2, _3, _4), 0, toOptimize.size(), 50);
| ^~

/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:119: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl_::_1’
29 | typedef arg<1> _1;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:225:34: note: ‘std::placeholders::1’
225 | extern const Placeholder<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> 1;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:46:38: note: ‘boost::placeholders::1’
46 | BOOST_STATIC_CONSTEXPR boost::arg<1> 1;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:29:16: note: ‘mpl
::_1’
29 | typedef arg<1> _1;
| ^~
/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:123: error: ‘_2’ was not declared in this scope
646 | tivatePointsMT_Reductor, this, &optimized, &toOptimize, _1, _2, _3, _4), 0, toOptimize.size(), 50);
| ^~

/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:123: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl_::_2’
42 | typedef arg<2> _2;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:226:34: note: ‘std::placeholders::2’
226 | extern const Placeholder<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> 2;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:47:38: note: ‘boost::placeholders::2’
47 | BOOST_STATIC_CONSTEXPR boost::arg<2> 2;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:42:16: note: ‘mpl
::_2’
42 | typedef arg<2> _2;
| ^~
/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:127: error: ‘_3’ was not declared in this scope
646 | tePointsMT_Reductor, this, &optimized, &toOptimize, _1, _2, _3, _4), 0, toOptimize.size(), 50);
| ^~

/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:127: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl_::_3’
55 | typedef arg<3> _3;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:227:34: note: ‘std::placeholders::3’
227 | extern const Placeholder<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> 3;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:48:38: note: ‘boost::placeholders::3’
48 | BOOST_STATIC_CONSTEXPR boost::arg<3> 3;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:55:16: note: ‘mpl
::_3’
55 | typedef arg<3> _3;
| ^~
/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:131: error: ‘_4’ was not declared in this scope
646 | intsMT_Reductor, this, &optimized, &toOptimize, _1, _2, _3, _4), 0, toOptimize.size(), 50);
| ^~

/home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:646:131: note: suggested alternatives:
In file included from /usr/include/boost/mpl/aux_/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux_/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl_::_4’
68 | typedef arg<4> _4;
| ^~
In file included from /usr/include/eigen3/Eigen/Core:85,
from /home/huwanli/dso_pkg/dso/src/util/NumType.h:27,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:29,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/c++/11/functional:228:34: note: ‘std::placeholders::4’
228 | extern const Placeholder<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> 4;
| ^~
In file included from /usr/include/boost/bind/bind.hpp:2356,
from /usr/include/boost/thread/detail/thread.hpp:33,
from /usr/include/boost/thread/thread_only.hpp:22,
from /usr/include/boost/thread/thread.hpp:12,
from /usr/include/boost/thread.hpp:13,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/bind/placeholders.hpp:49:38: note: ‘boost::placeholders::4’
49 | BOOST_STATIC_CONSTEXPR boost::arg<4> 4;
| ^~
In file included from /usr/include/boost/mpl/aux
/include_preprocessed.hpp:37,
from /usr/include/boost/mpl/placeholders.hpp:43,
from /usr/include/boost/iterator/iterator_categories.hpp:16,
from /usr/include/boost/iterator/advance.hpp:11,
from /usr/include/boost/next_prior.hpp:25,
from /usr/include/boost/thread/futures/wait_for_any.hpp:20,
from /usr/include/boost/thread/future.hpp:41,
from /usr/include/boost/thread.hpp:24,
from /home/huwanli/dso_pkg/dso/src/util/IndexThreadReduce.h:28,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.h:39,
from /home/huwanli/dso_pkg/dso/src/FullSystem/FullSystem.cpp:32:
/usr/include/boost/mpl/aux
/preprocessed/gcc/placeholders.hpp:68:16: note: ‘mpl
::_4’
68 | typedef arg<4> _4;
| ^~
make[2]: *** [CMakeFiles/dso.dir/build.make:76: CMakeFiles/dso.dir/src/FullSystem/FullSystem.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/dso.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant