diff --git a/bwi_mapper/src/nodes/prepare_graph.cpp b/bwi_mapper/src/nodes/prepare_graph.cpp index 883254bd..5bdae03a 100755 --- a/bwi_mapper/src/nodes/prepare_graph.cpp +++ b/bwi_mapper/src/nodes/prepare_graph.cpp @@ -142,7 +142,7 @@ int main(int argc, char** argv) { mapper.drawMap(image); drawElementsFile(argv[3], image, graph, info); - cv::namedWindow("Display window", cv::WINDOW_AUTOSIZE); + cv::namedWindow("Display window", CV_WINDOW_AUTOSIZE); cv::imshow("Display window", image); cv::imwrite("out.png", image);