ethz-asl / aerial_mapper

Real-time Dense Point Cloud, Digital Surface Map (DSM) and (Ortho-)Mosaic Generation for UAVs
BSD 3-Clause "New" or "Revised" License
557 stars 157 forks source link

catkin build aerial_mapper fails #53

Open desilvarami opened 1 year ago

desilvarami commented 1 year ago

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 gridmap::bindIndexToRange(unsigned int, unsigned int)’ right = layerData(index.x(), bindIndexToRange(index.y() - 1, numCol));

image

Thank you.

skbhat commented 1 year ago

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

Thanks