You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run ‘make’, it seems something wrong in the code.
Random Map Generator build starts...
g++ src/map.cpp -O3 -c -o build/map.o
src/map.cpp: In member function ‘int Map::getBlackPixelNumber()’:
src/map.cpp:77:10: error: ‘total_pixel_number’ does not name a type
auto total_pixel_number = Map::map.rows * Map::map.cols;
^
src/map.cpp:78:10: error: ‘total_black_pixel_number’ does not name a type
auto total_black_pixel_number = total_pixel_number - countNonZero(Map::map)
^
src/map.cpp:79:12: error: ‘total_black_pixel_number’ was not declared in this scope
return total_black_pixel_number;
^
makefile:18: recipe for target 'build/map.o' failed
make: *** [build/map.o] Error 1
The text was updated successfully, but these errors were encountered:
When I run ‘make’, it seems something wrong in the code.
The text was updated successfully, but these errors were encountered: