Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Build errors #26

Open
eshafeeqe opened this issue Jun 9, 2022 · 0 comments
Open

Build errors #26

eshafeeqe opened this issue Jun 9, 2022 · 0 comments

Comments

@eshafeeqe
Copy link

Thanks a lot for making this code public.

However I am getting following errors while building this package. I cannot fix this issue since the code is heavily templated. Any help will be hugely appreciated.

[ 16%] Building CXX object CMakeFiles/mytest.dir/src/test.cpp.o
[ 33%] Building CXX object CMakeFiles/test_imu_gps.dir/src/test_imu_gps.cpp.o
[ 50%] Building CXX object CMakeFiles/test_imu_gps.dir/src/simulator.cpp.o
[ 66%] Building CXX object CMakeFiles/test_imu_gps.dir/src/camera.cpp.o
In file included from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/model.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/residual.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/residuals/accelerometer_prediction.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/filters/imu_gps.h:4,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/src/test_imu_gps.cpp:1:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type::Type& tsif::ElementVectorBase<Derived, Elements>::Get()’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:53:48: error: expected primary-expression before ‘)’ token
   53 |     return static_cast<Derived&>(*this).Get<I>();
      |                                                ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘const typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type::Type& tsif::ElementVectorBase<Derived, Elements>::Get() const’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:57:54: error: expected primary-expression before ‘)’ token
   57 |     return static_cast<const Derived&>(*this).Get<I>();
      |                                                      ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type& tsif::ElementVectorBase<Derived, Elements>::GetElement()’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:62:55: error: expected primary-expression before ‘)’ token
   62 |     return static_cast<Derived&>(*this).GetElement<I>();
      |                                                       ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘const typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type& tsif::ElementVectorBase<Derived, Elements>::GetElement() const’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:66:61: error: expected primary-expression before ‘)’ token
   66 |     return static_cast<const Derived&>(*this).GetElement<I>();
      |                                                             ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘void tsif::ElementVectorBase<Derived, Elements>::Boxplus(const VecCRefX&, tsif::ElementVectorBase<OtherDerived, Elements ...>&) const’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:127:103: error: expected primary-expression before ‘)’ token
  127 |       GetElement<E::kI>().Boxplus(vec.template block<E::kDim,1>(Start(E::kI),0),out.GetElement<E::kI>());
      |                                                                                                       ^
In file included from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/model.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/residual.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/residuals/bearing_findif.h:5,
                 from /home/elan/Dev/state_est/externel/two_state_information_filter/src/test.cpp:1:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type::Type& tsif::ElementVectorBase<Derived, Elements>::Get()’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:53:48: error: expected primary-expression before ‘)’ token
   53 |     return static_cast<Derived&>(*this).Get<I>();
      |                                                ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘const typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type::Type& tsif::ElementVectorBase<Derived, Elements>::Get() const’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:57:54: error: expected primary-expression before ‘)’ token
   57 |     return static_cast<const Derived&>(*this).Get<I>();
      |                                                      ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type& tsif::ElementVectorBase<Derived, Elements>::GetElement()’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:62:55: error: expected primary-expression before ‘)’ token
   62 |     return static_cast<Derived&>(*this).GetElement<I>();
      |                                                       ^
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h: In member function ‘const typename std::tuple_element<GetC<I>(), std::tuple<_Elements ...> >::type& tsif::ElementVectorBase<Derived, Elements>::GetElement() const’:
/home/elan/Dev/state_est/externel/two_state_information_filter/include/tsif/element_vector.h:66:61: error: expected primary-expression before ‘)’ token
   66 |     return static_cast<const Derived&>(*this).GetElement<I>();
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant