I downloaded the camera calibration code from this link "https://github.com/opencv/opencv/blob/master/samples/cpp/tutorial_code/calib3d/camera_calibration/camera_calibration.cpp".
But after I ran this code I got errors which are listed below:
Severity Code Description Project File Line Suppression State
Error (active) E0020 identifier "calibrateCameraRO" is undefined Project1 E:\project\Project1\Project1\Source.cpp 586
Error C3861 'calibrateCameraRO': identifier not found Project1 e:\project\project1\project1\source.cpp 586
Error C4996 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. Project1 e:\project\project1\project1\source.cpp 621
How can I get rid of these errors? Thanks for any help.