Hi,
Thanks for your project!
when I followed the instruction to build repos bash install_repos.sh I got errors:
Errors << robust_optimization:make /home/dh/catkin_ws_limo/logs/robust_optimization/build.make.000.log
In file included from /home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/apply_trimmer.hpp:16:0,
from /home/dh/catkin_ws_limo/src/limo/robust_optimization/src/robust_solving.cpp:10:
/home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/trimmer_quantile.hpp: In member function ‘std::vector robust_optimization::TrimmerQuantile::getOutliers(const std::map<Id, double>&)’:
/home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/trimmer_quantile.hpp:45:91: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
residuals_input.cbegin(), residuals_input.cend(), input_vec.begin(), [](const auto& a) { return a; });
I have changed to gcc 7,but it still doesn't work,can you give me some advice?Thank you!
Hi, Thanks for your project! when I followed the instruction to build repos bash install_repos.sh I got errors: Errors << robust_optimization:make /home/dh/catkin_ws_limo/logs/robust_optimization/build.make.000.log In file included from /home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/apply_trimmer.hpp:16:0, from /home/dh/catkin_ws_limo/src/limo/robust_optimization/src/robust_solving.cpp:10: /home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/trimmer_quantile.hpp: In member function ‘std::vector robust_optimization::TrimmerQuantile::getOutliers(const std::map<Id, double>&)’:
/home/dh/catkin_ws_limo/src/limo/robust_optimization/include/robust_optimization/internal/trimmer_quantile.hpp:45:91: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
residuals_input.cbegin(), residuals_input.cend(), input_vec.begin(), [](const auto& a) { return a; });
I have changed to gcc 7,but it still doesn't work,can you give me some advice?Thank you!