diff --git a/bwi_mapper/test/test_graph.cpp b/bwi_mapper/test/test_graph.cpp index aa132c10..41cfeeab 100755 --- a/bwi_mapper/test/test_graph.cpp +++ b/bwi_mapper/test/test_graph.cpp @@ -58,7 +58,7 @@ int main(int argc, char** argv) { mapper.drawOutput(image); mapper.saveOutput(); - 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