Ask Your Question
-1

identifier "calibrateCameraRO" is undefined [closed]

asked 2019-01-04 14:21:09 -0600

czjczjczj1 gravatar image

updated 2019-01-04 16:10:01 -0600

I downloaded the camera calibration code from this link "https://github.com/opencv/opencv/blob...".

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.

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by czjczjczj1
close date 2019-01-04 17:14:24.458583

Comments

I've solved it. There's a solution on this website. https://stackoverflow.com/questions/1...

czjczjczj1 gravatar imageczjczjczj1 ( 2019-01-04 17:15:19 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-01-04 14:47:48 -0600

LBerger gravatar image

updated 2019-01-04 14:49:25 -0600

calibrateCameraRO is new opencv4 fucntion. Have you got opencv 4?

edit flag offensive delete link more

Comments

Thanks for your reply. No wonder why. I was using OpenCV 2. Now I am using OpenCV 4. But there's another issue, which is listed below.

Severity Code Description Project File Line Suppression State

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

I met this kind of error before, but I still don't know how to eliminate them. So what should I do?

czjczjczj1 gravatar imageczjczjczj1 ( 2019-01-04 15:49:11 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-01-04 14:21:09 -0600

Seen: 1,570 times

Last updated: Jan 04 '19