ubuntu@tegra-ubuntu:~/2018AICity_TeamUW-master_1/Track1/APP_MDL_IPL/src$ g++ main.cpp main.cpp: In member function ‘void CTrkNd::setDetCls(char*)’: main.cpp:52:75: warning: format not a string literal and no format arguments [-Wformat-security] inline void setDetCls(char* acDetCls) { std::sprintf(m_acDetCls, acDetCls); } ^ main.cpp: In function ‘float compAppMdl(char*, int, char*, int, double, int, int)’: main.cpp:355:45: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFeatPth, acInFeatFlrPthPrb); ^ main.cpp:391:46: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFeatPth, acInFeatFlrPthGall); ^ main.cpp: In function ‘int main(int, char**)’: main.cpp:464:34: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInTrkTxt, argv[1]); ^ main.cpp:466:37: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFrmFlrPth, argv[2]); ^ main.cpp:468:35: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutFlrPth, argv[3]); ^ main.cpp:487:2: error: ‘Rect2f’ is not a member of ‘cv’ cv::Rect2f oBBoxf; ^ main.cpp:533:174: error: no matching function for call to ‘cv::RotatedRect::RotatedRect(cv::Point, cv::Point, cv::Point)’ cv::Point((APP_MDL_NORM_SZ.width - 1), (APP_MDL_NORM_SZ.height - 1))), cv::Scal ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from /usr/include/opencv2/opencv.hpp:49, from main.cpp:10: /usr/include/opencv2/core/operations.hpp:2006:8: note: candidate: cv::RotatedRect::RotatedRect(const CvBox2D&) inline RotatedRect::RotatedRect(const CvBox2D& box) ^ /usr/include/opencv2/core/operations.hpp:2006:8: note: candidate expects 1 argument, 3 provided /usr/include/opencv2/core/operations.hpp:2004:8: note: candidate: cv::RotatedRect::RotatedRect(const Point2f&, const Size2f&, float) inline RotatedRect::RotatedRect(const Point2f& _center, const Size2f& _size, fl ^ /usr/include/opencv2/core/operations.hpp:2004:8: note: no known conversion for argument 2 from ‘cv::Point {aka cv::Point_}’ to ‘const Size2f& {aka const cv::Size_&}’ /usr/include/opencv2/core/operations.hpp:2003:8: note: candidate: cv::RotatedRect::RotatedRect() inline RotatedRect::RotatedRect() { angle = 0; } ^ /usr/include/opencv2/core/operations.hpp:2003:8: note: candidate expects 0 arguments, 3 provided In file included from /usr/include/opencv2/opencv.hpp:49:0, from main.cpp:10: /usr/include/opencv2/core/core.hpp:903:18: note: candidate: cv::RotatedRect::RotatedRect(const cv::RotatedRect&) class CV_EXPORTS RotatedRect ^ /usr/include/opencv2/core/core.hpp:903:18: note: candidate expects 1 argument, 3 provided main.cpp:542:41: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFrmPth, acInFrmFlrPth); ^ main.cpp:569:6: error: ‘oBBoxf’ was not declared in this scope &oBBoxf.x, &oBBoxf.y, &oBBoxf.width, &oBBoxf.height, ^ main.cpp:633:45: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutFeatPth, acOutFlrPth); ^ ubuntu@tegra-ubuntu:~/2018AICity_TeamUW-master_1/Track1/SPD_EST_IPL/SPD_EST_IPL/src$ g++ main.cpp main.cpp: In member function ‘void CTrkNd::setDetCls(char*)’: main.cpp:37:75: warning: format not a string literal and no format arguments [-Wformat-security] inline void setDetCls(char* acDetCls) { std::sprintf(m_acDetCls, acDetCls); } ^ main.cpp: In function ‘cv::Point3f bkproj2d23d(cv::Point2f, float*, int)’: main.cpp:123:76: error: no match for ‘operator/’ (operand types are ‘cv::Point3f {aka cv::Point3_}’ and ‘int’) o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4922:0, from main.cpp:13: /usr/include/opencv2/core/mat.hpp:1304:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const MatExpr& e1, const MatExpr& e2); ^ /usr/include/opencv2/core/mat.hpp:1304:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::MatExpr&’ /usr/include/opencv2/core/mat.hpp:1303:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (double s, const MatExpr& e); ^ /usr/include/opencv2/core/mat.hpp:1303:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘double’ /usr/include/opencv2/core/mat.hpp:1302:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, double) CV_EXPORTS MatExpr operator / (const MatExpr& e, double s); ^ /usr/include/opencv2/core/mat.hpp:1302:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::MatExpr&’ /usr/include/opencv2/core/mat.hpp:1301:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::MatExpr&) CV_EXPORTS MatExpr operator / (const Mat& m, const MatExpr& e); ^ /usr/include/opencv2/core/mat.hpp:1301:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::Mat&’ /usr/include/opencv2/core/mat.hpp:1300:20: note: candidate: cv::MatExpr cv::operator/(const cv::MatExpr&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const MatExpr& e, const Mat& m); ^ /usr/include/opencv2/core/mat.hpp:1300:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::MatExpr&’ /usr/include/opencv2/core/mat.hpp:1299:20: note: candidate: cv::MatExpr cv::operator/(double, const cv::Mat&) CV_EXPORTS MatExpr operator / (double s, const Mat& a); ^ /usr/include/opencv2/core/mat.hpp:1299:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘double’ /usr/include/opencv2/core/mat.hpp:1298:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, double) CV_EXPORTS MatExpr operator / (const Mat& a, double s); ^ /usr/include/opencv2/core/mat.hpp:1298:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::Mat&’ /usr/include/opencv2/core/mat.hpp:1297:20: note: candidate: cv::MatExpr cv::operator/(const cv::Mat&, const cv::Mat&) CV_EXPORTS MatExpr operator / (const Mat& a, const Mat& b); ^ /usr/include/opencv2/core/mat.hpp:1297:20: note: no known conversion for argument 1 from ‘cv::Point3f {aka cv::Point3_}’ to ‘const cv::Mat&’ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:2196:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, const Scalar_<_Tp>& b) ^ /usr/include/opencv2/core/operations.hpp:2196:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Scalar_<_Tp>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:2189:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(_Tp, const cv::Scalar_<_Tp>&) Scalar_<_Tp> operator / (_Tp a, const Scalar_<_Tp>& b) ^ /usr/include/opencv2/core/operations.hpp:2189:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: mismatched types ‘const cv::Scalar_<_Tp>’ and ‘int’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:2175:17: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, double) Scalar_ operator / (const Scalar_& a, double alpha) ^ /usr/include/opencv2/core/operations.hpp:2175:17: note: template argument deduction/substitution failed: main.cpp:123:78: note: cannot convert ‘cv::Point3_(((float)oMatM.cv::Mat::at(0, 0)), ((float)oMatM.cv::Mat::at(1, 0)), 0.0f)’ (type ‘cv::Point3f {aka cv::Point3_}’) to type ‘const cv::Scalar_&’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:2168:16: note: candidate: template cv::Scalar_ cv::operator/(const cv::Scalar_&, float) Scalar_ operator / (const Scalar_& a, float alpha) ^ /usr/include/opencv2/core/operations.hpp:2168:16: note: template argument deduction/substitution failed: main.cpp:123:78: note: cannot convert ‘cv::Point3_(((float)oMatM.cv::Mat::at(0, 0)), ((float)oMatM.cv::Mat::at(1, 0)), 0.0f)’ (type ‘cv::Point3f {aka cv::Point3_}’) to type ‘const cv::Scalar_&’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:2159:14: note: candidate: template cv::Scalar_<_Tp> cv::operator/(const cv::Scalar_<_Tp>&, _Tp) Scalar_<_Tp> operator / (const Scalar_<_Tp>& a, _Tp alpha) ^ /usr/include/opencv2/core/operations.hpp:2159:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Scalar_<_Tp>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1607:14: note: candidate: template cv::Complex<_Tp> cv::operator/(_Tp, const cv::Complex<_Tp>&) Complex<_Tp> operator / (_Tp b, const Complex<_Tp>& a) ^ /usr/include/opencv2/core/operations.hpp:1607:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: mismatched types ‘const cv::Complex<_Tp>’ and ‘int’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1600:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, _Tp) Complex<_Tp> operator / (const Complex<_Tp>& a, _Tp b) ^ /usr/include/opencv2/core/operations.hpp:1600:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Complex<_Tp>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1586:14: note: candidate: template cv::Complex<_Tp> cv::operator/(const cv::Complex<_Tp>&, const cv::Complex<_Tp>&) Complex<_Tp> operator / (const Complex<_Tp>& a, const Complex<_Tp>& b) ^ /usr/include/opencv2/core/operations.hpp:1586:14: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Complex<_Tp>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1430:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, double) operator / (const Vec<_Tp, cn>& a, double alpha) ^ /usr/include/opencv2/core/operations.hpp:1430:1: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Vec<_Tp, m>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1424:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, float) operator / (const Vec<_Tp, cn>& a, float alpha) ^ /usr/include/opencv2/core/operations.hpp:1424:1: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Vec<_Tp, m>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ In file included from /usr/include/opencv2/core/core.hpp:4921:0, from main.cpp:13: /usr/include/opencv2/core/operations.hpp:1418:1: note: candidate: template cv::Vec<_Tp, m> cv::operator/(const cv::Vec<_Tp, m>&, int) operator / (const Vec<_Tp, cn>& a, int alpha) ^ /usr/include/opencv2/core/operations.hpp:1418:1: note: template argument deduction/substitution failed: main.cpp:123:78: note: ‘cv::Point3f {aka cv::Point3_}’ is not derived from ‘const cv::Vec<_Tp, m>’ o3dPt = cv::Point3f(oMatM.at(0, 0), oMatM.at(1, 0), 0.0f) / nLenUnit; ^ main.cpp: In function ‘int main(int, char**)’: main.cpp:134:22: error: in C++98 ‘viVdo’ must be initialized by constructor, not by ‘{...}’ 23, 24, 25, 26, 27 }; ^ main.cpp:134:22: error: could not convert ‘{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27}’ from ‘’ to ‘std::vector’ main.cpp:139:52: error: in C++98 ‘vstrCam’ must be initialized by constructor, not by ‘{...}’ "Loc4_1", "Loc4_2", "Loc4_3", "Loc4_4", "Loc4_5" }; ^ main.cpp:139:52: error: could not convert ‘{"Loc1_1", "Loc1_2", "Loc1_3", "Loc1_4", "Loc1_5", "Loc1_6", "Loc1_7", "Loc1_8", "Loc2_1", "Loc2_2", "Loc2_3", "Loc2_4", "Loc2_5", "Loc2_6", "Loc2_7", "Loc2_8", "Loc3_1", "Loc3_2", "Loc3_3", "Loc3_4", "Loc3_5", "Loc3_6", "Loc4_1", "Loc4_2", "Loc4_3", "Loc4_4", "Loc4_5"}’ from ‘’ to ‘std::vector >’ main.cpp:147:22: error: in C++98 ‘vnSpdWinSz’ must be initialized by constructor, not by ‘{...}’ 31, 31, 31, 31, 31 }; ^ main.cpp:147:22: error: could not convert ‘{15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31}’ from ‘’ to ‘std::vector’ main.cpp:152:37: error: in C++98 ‘vfSpdScl’ must be initialized by constructor, not by ‘{...}’ 0.89f, 0.89f, 0.89f, 0.89f, 0.89f }; ^ main.cpp:152:37: error: could not convert ‘{1.25e+0f, 1.25e+0f, 1.25e+0f, 1.25e+0f, 1.25e+0f, 1.25e+0f, 1.25e+0f, 1.25e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 1.04999995e+0f, 8.00000012e-1f, 8.00000012e-1f, 8.00000012e-1f, 8.00000012e-1f, 8.00000012e-1f, 8.00000012e-1f, 8.89999986e-1f, 8.89999986e-1f, 8.89999986e-1f, 8.89999986e-1f, 8.89999986e-1f}’ from ‘’ to ‘std::vector’ main.cpp:157:32: error: in C++98 ‘vfSpdStdThld’ must be initialized by constructor, not by ‘{...}’ 5.0f, 5.0f, 5.0f, 5.0f, 5.0f }; ^ main.cpp:157:32: error: could not convert ‘{7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 7.0e+1f, 1.5e+1f, 1.5e+1f, 1.5e+1f, 1.5e+1f, 1.5e+1f, 1.5e+1f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f}’ from ‘’ to ‘std::vector’ main.cpp:162:37: error: in C++98 ‘vfSpdLowThld’ must be initialized by constructor, not by ‘{...}’ 18.0f, 18.0f, 18.0f, 18.0f, 18.0f }; ^ main.cpp:162:37: error: could not convert ‘{1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 1.0e+1f, 2.8e+1f, 2.8e+1f, 2.8e+1f, 2.8e+1f, 2.8e+1f, 2.8e+1f, 1.8e+1f, 1.8e+1f, 1.8e+1f, 1.8e+1f, 1.8e+1f}’ from ‘’ to ‘std::vector’ main.cpp:167:32: error: in C++98 ‘vfSpdStpThld’ must be initialized by constructor, not by ‘{...}’ 5.0f, 5.0f, 5.0f, 5.0f, 5.0f }; ^ main.cpp:167:32: error: could not convert ‘{2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 2.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f, 5.0e+0f}’ from ‘’ to ‘std::vector’ main.cpp:172:32: error: in C++98 ‘vfSpdPropFNThld’ must be initialized by constructor, not by ‘{...}’ 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }; ^ main.cpp:172:32: error: could not convert ‘{0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 3.0e+1f, 3.0e+1f, 3.0e+1f, 3.0e+1f, 3.0e+1f, 3.0e+1f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}’ from ‘’ to ‘std::vector’ main.cpp:189:41: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutSubmPth, acTrk1FlrPth); ^ main.cpp:191:2: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutSubmPth, acOutSubmNm); ^ main.cpp:191:2: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:198:41: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutVdoPth, acTrk1FlrPth); ^ main.cpp:200:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutVdoPth, acOutVdoNm); ^ main.cpp:200:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:208:41: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acCamFlrPth, acTrk1FlrPth); ^ main.cpp:209:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acCamFlrPth, vstrCam[v].c_str()); ^ main.cpp:209:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:213:44: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInCamParamPth, acCamFlrPth); ^ main.cpp:215:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acInCamParamPth, acInCamParamNm); ^ main.cpp:215:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:219:41: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInTrk2dPth, acCamFlrPth); ^ main.cpp:221:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acInTrk2dPth, acInTrk2dNm); ^ main.cpp:221:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:225:42: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFrmFlrPth, acCamFlrPth); ^ main.cpp:227:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acInFrmFlrPth, acInFrmFlrNm); ^ main.cpp:227:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:231:43: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutTrkFlrPth, acCamFlrPth); ^ main.cpp:233:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutTrkFlrPth, acOutTrkFlrNm); ^ main.cpp:233:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:237:43: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutTrkPth, acOutTrkFlrPth); ^ main.cpp:239:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutTrkPth, acOutTrkNm); ^ main.cpp:239:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:243:51: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutTrk3dImgFlrPth, acOutTrkFlrPth); ^ main.cpp:245:3: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutTrk3dImgFlrPth, acOutTrk3dImgFlrNm); ^ main.cpp:245:3: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:247:24: error: ‘_mkdir’ was not declared in this scope _mkdir(acOutTrkFlrPth); // in Windows ^ main.cpp:522:43: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acInFrmPth, acInFrmFlrPth); ^ main.cpp:523:5: error: ‘strcat’ is not a member of ‘std’ std::strcat(acInFrmPth, acInFrmNm); ^ main.cpp:523:5: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ main.cpp:582:50: warning: format not a string literal and no format arguments [-Wformat-security] std::sprintf(acOutFrmPth, acOutTrk3dImgFlrPth); ^ main.cpp:583:5: error: ‘strcat’ is not a member of ‘std’ std::strcat(acOutFrmPth, acOutFrmNm); ^ main.cpp:583:5: note: suggested alternative: In file included from /usr/include/opencv2/core/types_c.h:57:0, from /usr/include/opencv2/core/core.hpp:46, from main.cpp:13: /usr/include/string.h:133:14: note: ‘strcat’ extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^