Skip to content

gocv installation related issue #1305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
smk-adiance opened this issue Apr 11, 2025 · 1 comment
Open

gocv installation related issue #1305

smk-adiance opened this issue Apr 11, 2025 · 1 comment

Comments

@smk-adiance
Copy link

This is the error i'm getting tried various things still getting the same error any solution to this?

issue.txt

gocv.io/x/gocv
In file included from aruco.cpp:1:
aruco.h:12:13: error: ‘aruco’ in namespace ‘cv’ does not name a type
12 | typedef cv::aruco::Dictionary* ArucoDictionary;
| ^~~~~
aruco.h:13:13: error: ‘aruco’ in namespace ‘cv’ does not name a type
13 | typedef cv::aruco::DetectorParameters* ArucoDetectorParameters;
| ^~~~~
aruco.h:14:13: error: ‘aruco’ in namespace ‘cv’ does not name a type
14 | typedef cv::aruco::ArucoDetector* ArucoDetector;
| ^~~~~
aruco.h:21:1: error: ‘ArucoDetectorParameters’ does not name a type
21 | ArucoDetectorParameters ArucoDetectorParameters_Create();
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:22:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin’ declared void
22 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:22:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
22 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:22:86: error: expected primary-expression before ‘int’
22 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin);
| ^~~
aruco.h:23:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
23 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:24:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax’ declared void
24 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:24:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
24 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:24:86: error: expected primary-expression before ‘int’
24 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax);
| ^~~
aruco.h:25:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
25 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:26:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep’ declared void
26 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:26:59: error: ‘ArucoDetectorParameters’ was not declared in this scope
26 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:26:87: error: expected primary-expression before ‘int’
26 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep);
| ^~~
aruco.h:27:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
27 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:28:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshConstant’ declared void
28 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:28:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
28 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:28:84: error: expected primary-expression before ‘double’
28 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant);
| ^~~~~~
aruco.h:29:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
29 | double ArucoDetectorParameters_GetAdaptiveThreshConstant(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:30:6: error: variable or field ‘ArucoDetectorParameters_SetMinMarkerPerimeterRate’ declared void
30 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:30:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
30 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:30:84: error: expected primary-expression before ‘double’
30 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate);
| ^~~~~~
aruco.h:31:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
31 | double ArucoDetectorParameters_GetMinMarkerPerimeterRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:32:6: error: variable or field ‘ArucoDetectorParameters_SetMaxMarkerPerimeterRate’ declared void
32 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:32:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
32 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:32:84: error: expected primary-expression before ‘double’
32 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate);
| ^~~~~~
aruco.h:33:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
33 | double ArucoDetectorParameters_GetMaxMarkerPerimeterRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:34:6: error: variable or field ‘ArucoDetectorParameters_SetPolygonalApproxAccuracyRate’ declared void
34 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:34:61: error: ‘ArucoDetectorParameters’ was not declared in this scope
34 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:34:89: error: expected primary-expression before ‘double’
34 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate);
| ^~~~~~
aruco.h:35:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
35 | double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:36:6: error: variable or field ‘ArucoDetectorParameters_SetMinCornerDistanceRate’ declared void
36 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:36:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
36 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:36:83: error: expected primary-expression before ‘double’
36 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate);
| ^~~~~~
aruco.h:37:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
37 | double ArucoDetectorParameters_GetMinCornerDistanceRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:38:6: error: variable or field ‘ArucoDetectorParameters_SetMinDistanceToBorder’ declared void
38 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:38:53: error: ‘ArucoDetectorParameters’ was not declared in this scope
38 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:38:81: error: expected primary-expression before ‘int’
38 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder);
| ^~~
aruco.h:39:52: error: ‘ArucoDetectorParameters’ was not declared in this scope
39 | int ArucoDetectorParameters_GetMinDistanceToBorder(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:40:6: error: variable or field ‘ArucoDetectorParameters_SetMinMarkerDistanceRate’ declared void
40 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:40:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
40 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:40:83: error: expected primary-expression before ‘double’
40 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate);
| ^~~~~~
aruco.h:41:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
41 | double ArucoDetectorParameters_GetMinMarkerDistanceRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:42:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementMethod’ declared void
42 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:42:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
42 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:42:84: error: expected primary-expression before ‘int’
42 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod);
| ^~~
aruco.h:43:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
43 | int ArucoDetectorParameters_GetCornerRefinementMethod(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:44:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementWinSize’ declared void
44 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:44:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
44 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:44:85: error: expected primary-expression before ‘int’
44 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize);
| ^~~
aruco.h:45:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
45 | int ArucoDetectorParameters_GetCornerRefinementWinSize(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:46:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementMaxIterations’ declared void
46 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:46:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
46 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:46:91: error: expected primary-expression before ‘int’
46 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations);
| ^~~
aruco.h:47:62: error: ‘ArucoDetectorParameters’ was not declared in this scope
47 | int ArucoDetectorParameters_GetCornerRefinementMaxIterations(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:48:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementMinAccuracy’ declared void
48 | void ArucoDetectorParameters_SetCornerRefinementMinAccuracy(ArucoDetectorParameters ap, double cornerRefinementMinAccuracy);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:48:61: error: ‘ArucoDetectorParameters’ was not declared in this scope
48 | void ArucoDetectorParameters_SetCornerRefinementMinAccuracy(ArucoDetectorParameters ap, double cornerRefinementMinAccuracy);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:48:89: error: expected primary-expression before ‘double’
48 | void ArucoDetectorParameters_SetCornerRefinementMinAccuracy(ArucoDetectorParameters ap, double cornerRefinementMinAccuracy);
| ^~~~~~
aruco.h:49:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
49 | double ArucoDetectorParameters_GetCornerRefinementMinAccuracy(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:50:6: error: variable or field ‘ArucoDetectorParameters_SetMarkerBorderBits’ declared void
50 | void ArucoDetectorParameters_SetMarkerBorderBits(ArucoDetectorParameters ap, int markerBorderBits);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:50:50: error: ‘ArucoDetectorParameters’ was not declared in this scope
50 | void ArucoDetectorParameters_SetMarkerBorderBits(ArucoDetectorParameters ap, int markerBorderBits);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:50:78: error: expected primary-expression before ‘int’
50 | void ArucoDetectorParameters_SetMarkerBorderBits(ArucoDetectorParameters ap, int markerBorderBits);
| ^~~
aruco.h:51:49: error: ‘ArucoDetectorParameters’ was not declared in this scope
51 | int ArucoDetectorParameters_GetMarkerBorderBits(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:52:6: error: variable or field ‘ArucoDetectorParameters_SetPerspectiveRemovePixelPerCell’ declared void
52 | void ArucoDetectorParameters_SetPerspectiveRemovePixelPerCell(ArucoDetectorParameters ap, int perspectiveRemovePixelPerCell);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:52:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
52 | void ArucoDetectorParameters_SetPerspectiveRemovePixelPerCell(ArucoDetectorParameters ap, int perspectiveRemovePixelPerCell);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:52:91: error: expected primary-expression before ‘int’
52 | void ArucoDetectorParameters_SetPerspectiveRemovePixelPerCell(ArucoDetectorParameters ap, int perspectiveRemovePixelPerCell);
| ^~~
aruco.h:53:62: error: ‘ArucoDetectorParameters’ was not declared in this scope
53 | int ArucoDetectorParameters_GetPerspectiveRemovePixelPerCell(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:54:6: error: variable or field ‘ArucoDetectorParameters_SetPerspectiveRemoveIgnoredMarginPerCell’ declared void
54 | void ArucoDetectorParameters_SetPerspectiveRemoveIgnoredMarginPerCell(ArucoDetectorParameters ap, double perspectiveRemoveIgnoredMarginPerCell);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:54:71: error: ‘ArucoDetectorParameters’ was not declared in this scope
54 | void ArucoDetectorParameters_SetPerspectiveRemoveIgnoredMarginPerCell(ArucoDetectorParameters ap, double perspectiveRemoveIgnoredMarginPerCell);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:54:99: error: expected primary-expression before ‘double’
54 | void ArucoDetectorParameters_SetPerspectiveRemoveIgnoredMarginPerCell(ArucoDetectorParameters ap, double perspectiveRemoveIgnoredMarginPerCell);
| ^~~~~~
aruco.h:55:73: error: ‘ArucoDetectorParameters’ was not declared in this scope
55 | double ArucoDetectorParameters_GetPerspectiveRemoveIgnoredMarginPerCell(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:56:6: error: variable or field ‘ArucoDetectorParameters_SetMaxErroneousBitsInBorderRate’ declared void
56 | void ArucoDetectorParameters_SetMaxErroneousBitsInBorderRate(ArucoDetectorParameters ap, double maxErroneousBitsInBorderRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:56:62: error: ‘ArucoDetectorParameters’ was not declared in this scope
56 | void ArucoDetectorParameters_SetMaxErroneousBitsInBorderRate(ArucoDetectorParameters ap, double maxErroneousBitsInBorderRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:56:90: error: expected primary-expression before ‘double’
56 | void ArucoDetectorParameters_SetMaxErroneousBitsInBorderRate(ArucoDetectorParameters ap, double maxErroneousBitsInBorderRate);
| ^~~~~~
aruco.h:57:64: error: ‘ArucoDetectorParameters’ was not declared in this scope
57 | double ArucoDetectorParameters_GetMaxErroneousBitsInBorderRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:58:6: error: variable or field ‘ArucoDetectorParameters_SetMinOtsuStdDev’ declared void
58 | void ArucoDetectorParameters_SetMinOtsuStdDev(ArucoDetectorParameters ap, double minOtsuStdDev);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:58:47: error: ‘ArucoDetectorParameters’ was not declared in this scope
58 | void ArucoDetectorParameters_SetMinOtsuStdDev(ArucoDetectorParameters ap, double minOtsuStdDev);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:58:75: error: expected primary-expression before ‘double’
58 | void ArucoDetectorParameters_SetMinOtsuStdDev(ArucoDetectorParameters ap, double minOtsuStdDev);
| ^~~~~~
aruco.h:59:49: error: ‘ArucoDetectorParameters’ was not declared in this scope
59 | double ArucoDetectorParameters_GetMinOtsuStdDev(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:60:6: error: variable or field ‘ArucoDetectorParameters_SetErrorCorrectionRate’ declared void
60 | void ArucoDetectorParameters_SetErrorCorrectionRate(ArucoDetectorParameters ap, double errorCorrectionRate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:60:53: error: ‘ArucoDetectorParameters’ was not declared in this scope
60 | void ArucoDetectorParameters_SetErrorCorrectionRate(ArucoDetectorParameters ap, double errorCorrectionRate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:60:81: error: expected primary-expression before ‘double’
60 | void ArucoDetectorParameters_SetErrorCorrectionRate(ArucoDetectorParameters ap, double errorCorrectionRate);
| ^~~~~~
aruco.h:61:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
61 | double ArucoDetectorParameters_GetErrorCorrectionRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:62:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagQuadDecimate’ declared void
62 | void ArucoDetectorParameters_SetAprilTagQuadDecimate(ArucoDetectorParameters ap, float aprilTagQuadDecimate);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:62:54: error: ‘ArucoDetectorParameters’ was not declared in this scope
62 | void ArucoDetectorParameters_SetAprilTagQuadDecimate(ArucoDetectorParameters ap, float aprilTagQuadDecimate);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:62:82: error: expected primary-expression before ‘float’
62 | void ArucoDetectorParameters_SetAprilTagQuadDecimate(ArucoDetectorParameters ap, float aprilTagQuadDecimate);
| ^~~~~
aruco.h:63:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
63 | float ArucoDetectorParameters_GetAprilTagQuadDecimate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:64:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagQuadSigma’ declared void
64 | void ArucoDetectorParameters_SetAprilTagQuadSigma(ArucoDetectorParameters ap, float aprilTagQuadSigma);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:64:51: error: ‘ArucoDetectorParameters’ was not declared in this scope
64 | void ArucoDetectorParameters_SetAprilTagQuadSigma(ArucoDetectorParameters ap, float aprilTagQuadSigma);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:64:79: error: expected primary-expression before ‘float’
64 | void ArucoDetectorParameters_SetAprilTagQuadSigma(ArucoDetectorParameters ap, float aprilTagQuadSigma);
| ^~~~~
aruco.h:65:52: error: ‘ArucoDetectorParameters’ was not declared in this scope
65 | float ArucoDetectorParameters_GetAprilTagQuadSigma(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:66:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagMinClusterPixels’ declared void
66 | void ArucoDetectorParameters_SetAprilTagMinClusterPixels(ArucoDetectorParameters ap, int aprilTagMinClusterPixels);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:66:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
66 | void ArucoDetectorParameters_SetAprilTagMinClusterPixels(ArucoDetectorParameters ap, int aprilTagMinClusterPixels);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:66:86: error: expected primary-expression before ‘int’
66 | void ArucoDetectorParameters_SetAprilTagMinClusterPixels(ArucoDetectorParameters ap, int aprilTagMinClusterPixels);
| ^~~
aruco.h:67:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
67 | int ArucoDetectorParameters_GetAprilTagMinClusterPixels(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:68:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagMaxNmaxima’ declared void
68 | void ArucoDetectorParameters_SetAprilTagMaxNmaxima(ArucoDetectorParameters ap, int aprilTagMaxNmaxima);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:68:52: error: ‘ArucoDetectorParameters’ was not declared in this scope
68 | void ArucoDetectorParameters_SetAprilTagMaxNmaxima(ArucoDetectorParameters ap, int aprilTagMaxNmaxima);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:68:80: error: expected primary-expression before ‘int’
68 | void ArucoDetectorParameters_SetAprilTagMaxNmaxima(ArucoDetectorParameters ap, int aprilTagMaxNmaxima);
| ^~~
aruco.h:69:51: error: ‘ArucoDetectorParameters’ was not declared in this scope
69 | int ArucoDetectorParameters_GetAprilTagMaxNmaxima(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:70:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagCriticalRad’ declared void
70 | void ArucoDetectorParameters_SetAprilTagCriticalRad(ArucoDetectorParameters ap, float aprilTagCriticalRad);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:70:53: error: ‘ArucoDetectorParameters’ was not declared in this scope
70 | void ArucoDetectorParameters_SetAprilTagCriticalRad(ArucoDetectorParameters ap, float aprilTagCriticalRad);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:70:81: error: expected primary-expression before ‘float’
70 | void ArucoDetectorParameters_SetAprilTagCriticalRad(ArucoDetectorParameters ap, float aprilTagCriticalRad);
| ^~~~~
aruco.h:71:54: error: ‘ArucoDetectorParameters’ was not declared in this scope
71 | float ArucoDetectorParameters_GetAprilTagCriticalRad(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:72:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagMaxLineFitMse’ declared void
72 | void ArucoDetectorParameters_SetAprilTagMaxLineFitMse(ArucoDetectorParameters ap, float aprilTagMaxLineFitMse);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:72:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
72 | void ArucoDetectorParameters_SetAprilTagMaxLineFitMse(ArucoDetectorParameters ap, float aprilTagMaxLineFitMse);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:72:83: error: expected primary-expression before ‘float’
72 | void ArucoDetectorParameters_SetAprilTagMaxLineFitMse(ArucoDetectorParameters ap, float aprilTagMaxLineFitMse);
| ^~~~~
aruco.h:73:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
73 | float ArucoDetectorParameters_GetAprilTagMaxLineFitMse(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:74:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagMinWhiteBlackDiff’ declared void
74 | void ArucoDetectorParameters_SetAprilTagMinWhiteBlackDiff(ArucoDetectorParameters ap, int aprilTagMinWhiteBlackDiff);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:74:59: error: ‘ArucoDetectorParameters’ was not declared in this scope
74 | void ArucoDetectorParameters_SetAprilTagMinWhiteBlackDiff(ArucoDetectorParameters ap, int aprilTagMinWhiteBlackDiff);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:74:87: error: expected primary-expression before ‘int’
74 | void ArucoDetectorParameters_SetAprilTagMinWhiteBlackDiff(ArucoDetectorParameters ap, int aprilTagMinWhiteBlackDiff);
| ^~~
aruco.h:75:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
75 | int ArucoDetectorParameters_GetAprilTagMinWhiteBlackDiff(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:76:6: error: variable or field ‘ArucoDetectorParameters_SetAprilTagDeglitch’ declared void
76 | void ArucoDetectorParameters_SetAprilTagDeglitch(ArucoDetectorParameters ap, int aprilTagDeglitch);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:76:50: error: ‘ArucoDetectorParameters’ was not declared in this scope
76 | void ArucoDetectorParameters_SetAprilTagDeglitch(ArucoDetectorParameters ap, int aprilTagDeglitch);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:76:78: error: expected primary-expression before ‘int’
76 | void ArucoDetectorParameters_SetAprilTagDeglitch(ArucoDetectorParameters ap, int aprilTagDeglitch);
| ^~~
aruco.h:77:49: error: ‘ArucoDetectorParameters’ was not declared in this scope
77 | int ArucoDetectorParameters_GetAprilTagDeglitch(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:78:6: error: variable or field ‘ArucoDetectorParameters_SetDetectInvertedMarker’ declared void
78 | void ArucoDetectorParameters_SetDetectInvertedMarker(ArucoDetectorParameters ap, bool detectInvertedMarker);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:78:54: error: ‘ArucoDetectorParameters’ was not declared in this scope
78 | void ArucoDetectorParameters_SetDetectInvertedMarker(ArucoDetectorParameters ap, bool detectInvertedMarker);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:78:82: error: expected primary-expression before ‘bool’
78 | void ArucoDetectorParameters_SetDetectInvertedMarker(ArucoDetectorParameters ap, bool detectInvertedMarker);
| ^~~~
aruco.h:79:54: error: ‘ArucoDetectorParameters’ was not declared in this scope
79 | bool ArucoDetectorParameters_GetDetectInvertedMarker(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.h:82:1: error: ‘ArucoDictionary’ does not name a type
82 | ArucoDictionary getPredefinedDictionary(int dictionaryId);
| ^~~~~~~~~~~~~~~
aruco.h:84:1: error: ‘ArucoDetector’ does not name a type
84 | ArucoDetector ArucoDetector_New();
| ^~~~~~~~~~~~~
aruco.h:85:1: error: ‘ArucoDetector’ does not name a type
85 | ArucoDetector ArucoDetector_NewWithParams(ArucoDictionary dictionary, ArucoDetectorParameters params);
| ^~~~~~~~~~~~~
aruco.h:86:6: error: variable or field ‘ArucoDetector_Close’ declared void
86 | void ArucoDetector_Close(ArucoDetector ad);
| ^~~~~~~~~~~~~~~~~~~
aruco.h:86:26: error: ‘ArucoDetector’ was not declared in this scope
86 | void ArucoDetector_Close(ArucoDetector ad);
| ^~~~~~~~~~~~~
aruco.h:87:6: error: variable or field ‘ArucoDetector_DetectMarkers’ declared void
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:87:34: error: ‘ArucoDetector’ was not declared in this scope
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~~~~~~
aruco.h:87:56: error: expected primary-expression before ‘inputArr’
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~
aruco.h:87:81: error: expected primary-expression before ‘markerCorners’
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~~~~~~
aruco.h:87:106: error: expected primary-expression before ‘
’ token
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^
aruco.h:87:107: error: ‘markerIds’ was not declared in this scope
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~~
aruco.h:87:133: error: expected primary-expression before ‘rejectedCandidates’
87 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates);
| ^~~~~~~~~~~~~~~~~~
aruco.cpp:3:1: error: ‘ArucoDetector’ does not name a type
3 | ArucoDetector ArucoDetector_New() {
| ^~~~~~~~~~~~~
aruco.cpp:12:1: error: ‘ArucoDetector’ does not name a type
12 | ArucoDetector ArucoDetector_NewWithParams(ArucoDictionary dictionary, ArucoDetectorParameters params) {
| ^~~~~~~~~~~~~
aruco.cpp:21:6: error: variable or field ‘ArucoDetector_Close’ declared void
21 | void ArucoDetector_Close(ArucoDetector ad) {
| ^~~~~~~~~~~~~~~~~~~
aruco.cpp:21:26: error: ‘ArucoDetector’ was not declared in this scope
21 | void ArucoDetector_Close(ArucoDetector ad) {
| ^~~~~~~~~~~~~
aruco.cpp:25:6: error: variable or field ‘ArucoDetector_DetectMarkers’ declared void
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:25:34: error: ‘ArucoDetector’ was not declared in this scope
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~~~~~~
aruco.cpp:25:56: error: expected primary-expression before ‘inputArr’
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~
aruco.cpp:25:81: error: expected primary-expression before ‘markerCorners’
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~~~~~~
aruco.cpp:25:106: error: expected primary-expression before ‘
’ token
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^
aruco.cpp:25:107: error: ‘markerIds’ was not declared in this scope
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~~
aruco.cpp:25:133: error: expected primary-expression before ‘rejectedCandidates’
25 | void ArucoDetector_DetectMarkers(ArucoDetector ad, Mat inputArr, Points2fVector markerCorners, IntVector *markerIds, Points2fVector rejectedCandidates) {
| ^~~~~~~~~~~~~~~~~~
aruco.cpp:44:1: error: ‘ArucoDetectorParameters’ does not name a type
44 | ArucoDetectorParameters ArucoDetectorParameters_Create()
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:54:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin’ declared void
54 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:54:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
54 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:54:86: error: expected primary-expression before ‘int’
54 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMin) {
| ^~~
aruco.cpp:58:5: error: redefinition of ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin’
58 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:23:5: note: ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin’ previously defined here
23 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:58:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
58 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMin(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:62:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax’ declared void
62 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:62:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
62 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:62:86: error: expected primary-expression before ‘int’
62 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap, int adaptiveThreshWinSizeMax) {
| ^~~
aruco.cpp:66:5: error: redefinition of ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax’
66 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:25:5: note: ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax’ previously defined here
25 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:66:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
66 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeMax(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:70:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep’ declared void
70 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:70:59: error: ‘ArucoDetectorParameters’ was not declared in this scope
70 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:70:87: error: expected primary-expression before ‘int’
70 | void ArucoDetectorParameters_SetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap, int adaptiveThreshWinSizeStep) {
| ^~~
aruco.cpp:74:5: error: redefinition of ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep’
74 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:27:5: note: ‘int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep’ previously defined here
27 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:74:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
74 | int ArucoDetectorParameters_GetAdaptiveThreshWinSizeStep(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:78:6: error: variable or field ‘ArucoDetectorParameters_SetAdaptiveThreshConstant’ declared void
78 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:78:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
78 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:78:84: error: expected primary-expression before ‘double’
78 | void ArucoDetectorParameters_SetAdaptiveThreshConstant(ArucoDetectorParameters ap, double adaptiveThreshConstant) {
| ^~~~~~
aruco.cpp:82:8: error: redefinition of ‘double ArucoDetectorParameters_GetAdaptiveThreshConstant’
82 | double ArucoDetectorParameters_GetAdaptiveThreshConstant(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:29:8: note: ‘double ArucoDetectorParameters_GetAdaptiveThreshConstant’ previously defined here
29 | double ArucoDetectorParameters_GetAdaptiveThreshConstant(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:82:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
82 | double ArucoDetectorParameters_GetAdaptiveThreshConstant(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:86:6: error: variable or field ‘ArucoDetectorParameters_SetMinMarkerPerimeterRate’ declared void
86 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:86:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
86 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:86:84: error: expected primary-expression before ‘double’
86 | void ArucoDetectorParameters_SetMinMarkerPerimeterRate(ArucoDetectorParameters ap, double minMarkerPerimeterRate) {
| ^~~~~~
aruco.cpp:90:8: error: redefinition of ‘double ArucoDetectorParameters_GetMinMarkerPerimeterRate’
90 | double ArucoDetectorParameters_GetMinMarkerPerimeterRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:31:8: note: ‘double ArucoDetectorParameters_GetMinMarkerPerimeterRate’ previously defined here
31 | double ArucoDetectorParameters_GetMinMarkerPerimeterRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:90:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
90 | double ArucoDetectorParameters_GetMinMarkerPerimeterRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:94:6: error: variable or field ‘ArucoDetectorParameters_SetMaxMarkerPerimeterRate’ declared void
94 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:94:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
94 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:94:84: error: expected primary-expression before ‘double’
94 | void ArucoDetectorParameters_SetMaxMarkerPerimeterRate(ArucoDetectorParameters ap, double maxMarkerPerimeterRate) {
| ^~~~~~
aruco.cpp:98:8: error: redefinition of ‘double ArucoDetectorParameters_GetMaxMarkerPerimeterRate’
98 | double ArucoDetectorParameters_GetMaxMarkerPerimeterRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:33:8: note: ‘double ArucoDetectorParameters_GetMaxMarkerPerimeterRate’ previously defined here
33 | double ArucoDetectorParameters_GetMaxMarkerPerimeterRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:98:58: error: ‘ArucoDetectorParameters’ was not declared in this scope
98 | double ArucoDetectorParameters_GetMaxMarkerPerimeterRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:102:6: error: variable or field ‘ArucoDetectorParameters_SetPolygonalApproxAccuracyRate’ declared void
102 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:102:61: error: ‘ArucoDetectorParameters’ was not declared in this scope
102 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:102:89: error: expected primary-expression before ‘double’
102 | void ArucoDetectorParameters_SetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap, double polygonalApproxAccuracyRate) {
| ^~~~~~
aruco.cpp:106:8: error: redefinition of ‘double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate’
106 | double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:35:8: note: ‘double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate’ previously defined here
35 | double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:106:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
106 | double ArucoDetectorParameters_GetPolygonalApproxAccuracyRate(ArucoDetectorParameters ap){
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:110:6: error: variable or field ‘ArucoDetectorParameters_SetMinCornerDistanceRate’ declared void
110 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:110:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
110 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:110:83: error: expected primary-expression before ‘double’
110 | void ArucoDetectorParameters_SetMinCornerDistanceRate(ArucoDetectorParameters ap, double minCornerDistanceRate) {
| ^~~~~~
aruco.cpp:114:8: error: redefinition of ‘double ArucoDetectorParameters_GetMinCornerDistanceRate’
114 | double ArucoDetectorParameters_GetMinCornerDistanceRate(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:37:8: note: ‘double ArucoDetectorParameters_GetMinCornerDistanceRate’ previously defined here
37 | double ArucoDetectorParameters_GetMinCornerDistanceRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:114:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
114 | double ArucoDetectorParameters_GetMinCornerDistanceRate(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:118:6: error: variable or field ‘ArucoDetectorParameters_SetMinDistanceToBorder’ declared void
118 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:118:53: error: ‘ArucoDetectorParameters’ was not declared in this scope
118 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:118:81: error: expected primary-expression before ‘int’
118 | void ArucoDetectorParameters_SetMinDistanceToBorder(ArucoDetectorParameters ap, int minDistanceToBorder) {
| ^~~
aruco.cpp:122:5: error: redefinition of ‘int ArucoDetectorParameters_GetMinDistanceToBorder’
122 | int ArucoDetectorParameters_GetMinDistanceToBorder(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:39:5: note: ‘int ArucoDetectorParameters_GetMinDistanceToBorder’ previously defined here
39 | int ArucoDetectorParameters_GetMinDistanceToBorder(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:122:52: error: ‘ArucoDetectorParameters’ was not declared in this scope
122 | int ArucoDetectorParameters_GetMinDistanceToBorder(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:126:6: error: variable or field ‘ArucoDetectorParameters_SetMinMarkerDistanceRate’ declared void
126 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:126:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
126 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:126:83: error: expected primary-expression before ‘double’
126 | void ArucoDetectorParameters_SetMinMarkerDistanceRate(ArucoDetectorParameters ap, double minMarkerDistanceRate) {
| ^~~~~~
aruco.cpp:130:8: error: redefinition of ‘double ArucoDetectorParameters_GetMinMarkerDistanceRate’
130 | double ArucoDetectorParameters_GetMinMarkerDistanceRate(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:41:8: note: ‘double ArucoDetectorParameters_GetMinMarkerDistanceRate’ previously defined here
41 | double ArucoDetectorParameters_GetMinMarkerDistanceRate(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:130:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
130 | double ArucoDetectorParameters_GetMinMarkerDistanceRate(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:134:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementMethod’ declared void
134 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:134:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
134 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:134:84: error: expected primary-expression before ‘int’
134 | void ArucoDetectorParameters_SetCornerRefinementMethod(ArucoDetectorParameters ap, int cornerRefinementMethod) {
| ^~~
aruco.cpp:138:5: error: redefinition of ‘int ArucoDetectorParameters_GetCornerRefinementMethod’
138 | int ArucoDetectorParameters_GetCornerRefinementMethod(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:43:5: note: ‘int ArucoDetectorParameters_GetCornerRefinementMethod’ previously defined here
43 | int ArucoDetectorParameters_GetCornerRefinementMethod(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:138:55: error: ‘ArucoDetectorParameters’ was not declared in this scope
138 | int ArucoDetectorParameters_GetCornerRefinementMethod(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:142:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementWinSize’ declared void
142 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:142:57: error: ‘ArucoDetectorParameters’ was not declared in this scope
142 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:142:85: error: expected primary-expression before ‘int’
142 | void ArucoDetectorParameters_SetCornerRefinementWinSize(ArucoDetectorParameters ap, int cornerRefinementWinSize) {
| ^~~
aruco.cpp:146:5: error: redefinition of ‘int ArucoDetectorParameters_GetCornerRefinementWinSize’
146 | int ArucoDetectorParameters_GetCornerRefinementWinSize(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:45:5: note: ‘int ArucoDetectorParameters_GetCornerRefinementWinSize’ previously defined here
45 | int ArucoDetectorParameters_GetCornerRefinementWinSize(ArucoDetectorParameters ap);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:146:56: error: ‘ArucoDetectorParameters’ was not declared in this scope
146 | int ArucoDetectorParameters_GetCornerRefinementWinSize(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:150:6: error: variable or field ‘ArucoDetectorParameters_SetCornerRefinementMaxIterations’ declared void
150 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:150:63: error: ‘ArucoDetectorParameters’ was not declared in this scope
150 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations) {
| ^~~~~~~~~~~~~~~~~~~~~~~
aruco.cpp:150:91: error: expected primary-expression before ‘int’
150 | void ArucoDetectorParameters_SetCornerRefinementMaxIterations(ArucoDetectorParameters ap, int cornerRefinementMaxIterations) {
| ^~~
aruco.cpp:154:5: error: redefinition of ‘int ArucoDetectorParameters_GetCornerRefinementMaxIterations’
154 | int ArucoDetectorParameters_GetCornerRefinementMaxIterations(ArucoDetectorParameters ap) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aruco.h:47:5: note: ‘int ArucoDetectorParameters_GetCornerRefinementMaxIterations’ previ

@ronySayur
Copy link

any solution of this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants