diff --git a/bwi_mapper/src/nodes/generate_graph.cpp b/bwi_mapper/src/nodes/generate_graph.cpp index 62407957..c5911280 100755 --- a/bwi_mapper/src/nodes/generate_graph.cpp +++ b/bwi_mapper/src/nodes/generate_graph.cpp @@ -61,7 +61,7 @@ int main(int argc, char** argv) { std::string filename(argv[2]); mapper.writePointGraphToFile(filename); - cv::namedWindow("Display window", cv::WINDOW_AUTOSIZE); + cv::namedWindow("Display window", CV_WINDOW_AUTOSIZE); cv::imshow("Display window", image); cv::waitKey(0); // Wait for a keystroke in the window