aerial_mapper icon indicating copy to clipboard operation
aerial_mapper copied to clipboard

catkin build aerial_mapper fails

Open desilvarami opened this issue 2 years ago • 1 comments

Hi, while executing the "catkin build aerial_mapper", I got following error. Can you please provide some help to resolve this issue. I used Ubunto 14.04.

/home/ramesh/catkin_ws_aerial_mapper/src/grid_map/grid_map_core/src/CubicInterpolation.cpp:345:63: error: cannot convert ‘const std::initializer_list’ to ‘unsigned int’ for argument ‘2’ to ‘unsigned int grid_map::bindIndexToRange(unsigned int, unsigned int)’ right = layerData(bindIndexToRange(index.x() - 1, numRow), index.y()); ^ /home/ramesh/catkin_ws_aerial_mapper/src/grid_map/grid_map_core/src/CubicInterpolation.cpp:349:73: error: cannot convert ‘const std::initializer_list’ to ‘unsigned int’ for argument ‘2’ to ‘unsigned int grid_map::bindIndexToRange(unsigned int, unsigned int)’ left = layerData(index.x(), bindIndexToRange(index.y() + 1, numCol)); ^ /home/ramesh/catkin_ws_aerial_mapper/src/grid_map/grid_map_core/src/CubicInterpolation.cpp:350:74: error: cannot convert ‘const std::initializer_list’ to ‘unsigned int’ for argument ‘2’ to ‘unsigned int grid_map::bindIndexToRange(unsigned int, unsigned int)’ right = layerData(index.x(), bindIndexToRange(index.y() - 1, numCol));

image

Thank you.

desilvarami avatar Oct 12 '22 07:10 desilvarami

I am also facing the same issue while compiling inside a docker image.

Thanks

skbhat avatar Jul 13 '23 10:07 skbhat