Skip to content
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

Compile issues #27

Open
TheoNanu opened this issue May 22, 2024 · 0 comments
Open

Compile issues #27

TheoNanu opened this issue May 22, 2024 · 0 comments

Comments

@TheoNanu
Copy link

Hello, I am trying to compile the project, however I run into an issue.

When I am trying to run make from the dev branch I get an error into the 'FileReaderCUDA.cuh' that the file FileReader.h from core which is imported into this file is missing, which is true, in the dev branch this file is missing. I have tried to switch to the master branch where this file exists, however I get multiple compilation errors from 'Calibration.cpp' file.

I leave the stack trace below:
`
/usr/include/glm/detail/type_mat4x3.hpp(36): warning: host annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_mat4x4.hpp(35): warning: device annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_mat4x4.hpp(35): warning: host annotation is ignored on a function("mat") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(95): warning: device annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(95): warning: host annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(96): warning: device annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(96): warning: host annotation is ignored on a function("vec") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(132): warning: device annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

/usr/include/glm/detail/type_vec1.hpp(132): warning: host annotation is ignored on a function("operator=") that is explicitly defaulted on its first declaration

Scanning dependencies of target sls_gpu
[ 26%] Linking CXX static library libsls_gpu.a
[ 26%] Built target sls_gpu
Scanning dependencies of target sls_graycode
[ 26%] Building CXX object src/lib/GrayCode/CMakeFiles/sls_graycode.dir/GrayCode.cpp.o
[ 26%] Linking CXX static library libsls_graycode.a
[ 26%] Built target sls_graycode
Scanning dependencies of target sls_calib
[ 26%] Building CXX object src/lib/calibration/CMakeFiles/sls_calib.dir/Calibrator.cpp.o
In file included from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:40:16: error: ‘vector’ in namespace ‘cv’ does not name a template type
40 | static cv::vectorcv::Point2f manualMarkCheckBoard(cv::Mat img);
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:52:60: error: ‘cv::vector’ has not been declared
52 | static bool findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize);
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:52:66: error: expected ‘,’ or ‘...’ before ‘<’ token
52 | static bool findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize);
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp: In static member function ‘static void SLS::Calibrator::showImgAvecText_Block(const cv::Mat&, const string&, const string&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:26:36: error: ‘CV_GRAY2RGB’ was not declared in this scope
26 | cv::cvtColor(img, textImg, CV_GRAY2RGB);
| ^~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:27:36: error: ‘cvPoint’ was not declared in this scope
27 | cv::putText(textImg, text, cvPoint(20,70),
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:28:48: error: ‘cvScalar’ was not declared in this scope
28 | cv::FONT_HERSHEY_SIMPLEX, 3.0, cvScalar(0,0,255), 2, CV_AA);
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:28:70: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_AVX’?
28 | cv::FONT_HERSHEY_SIMPLEX, 3.0, cvScalar(0,0,255), 2, CV_AA);
| ^~~~~
| CV_AVX
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::calib_board_corners_mouse_callback(int, int, int, int, void*)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:31: error: expected primary-expression before ‘>’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:34: error: ‘corners’ was not declared in this scope
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:48: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:66: error: expected primary-expression before ‘>’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:12:68: error: expected primary-expression before ‘)’ token
12 | cv::vectorcv::Point2f corners= (cv::vectorcv::Point2f) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:16:18: error: ‘CV_EVENT_LBUTTONDOWN’ was not declared in this scope
16 | case CV_EVENT_LBUTTONDOWN:
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::image_point_return(int, int, int, int, void*)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:9: error: ‘CvScalar’ was not declared in this scope
27 | CvScalar point= (CvScalar) param;
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:19: error: ‘point’ was not declared in this scope
27 | CvScalar point= (CvScalar) param;
| ^~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:27:36: error: expected primary-expression before ‘)’ token
27 | CvScalar point= (CvScalar) param;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:30:18: error: ‘CV_EVENT_LBUTTONDOWN’ was not declared in this scope
30 | case CV_EVENT_LBUTTONDOWN:
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: At global scope:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:38:9: error: ‘vector’ in namespace ‘cv’ does not name a template type
38 | cv::vectorcv::Point2f Calibrator::manualMarkCheckBoard(cv::Mat img)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:116:49: error: ‘cv::vector’ has not been declared
116 | void drawOutsideOfRectangle(cv::Mat img,cv::vectorcv::Point2f rectanglePoints, float color)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:116:55: error: expected ‘,’ or ‘...’ before ‘<’ token
116 | void drawOutsideOfRectangle(cv::Mat img,cv::vectorcv::Point2f rectanglePoints, float color)
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In function ‘void SLS::drawOutsideOfRectangle(cv::Mat, int)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:120:29: error: ‘rectanglePoints’ was not declared in this scope
120 | for(unsigned i=0; i<rectanglePoints.size(); i++)
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:131:22: error: ‘color’ was not declared in this scope
131 | background = color;
| ^~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static float SLS::Calibrator::markWhite(const cv::Mat&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:139:38: error: ‘CV_WINDOW_NORMAL’ was not declared in this scope
139 | cv::namedWindow("Mark White",CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:160:45: error: ‘cvPoint’ was not declared in this scope
160 | cv::rectangle(img_copy, cvPoint(point.val[0]-10,point.val[1]-10),cvPoint(point.val[0]+10,point.val[1]+10),cvScalar(0,0,255),3);
| ^~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:160:127: error: ‘cvScalar’ was not declared in this scope
160 | cv::rectangle(img_copy, cvPoint(point.val[0]-10,point.val[1]-10),cvPoint(point.val[0]+10,point.val[1]+10),cvScalar(0,0,255),3);
| ^~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:188:9: error: ‘cvDestroyWindow’ was not declared in this scope
188 | cvDestroyWindow("Mark White");
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: At global scope:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:194:65: error: ‘cv::vector’ has not been declared
194 | bool Calibrator::findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize)
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:194:71: error: expected ‘,’ or ‘...’ before ‘<’ token
194 | bool Calibrator::findCornersInCamImg(const cv::Mat &img,cv::vectorcv::Point2f &camCorners,cv::vectorcv::Point3f &objCorners, cv::Size squareSize)
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static bool SLS::Calibrator::findCornersInCamImg(const cv::Mat&, int)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:35: error: expected primary-expression before ‘>’ token
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:37: error: ‘chessBoardCorners’ was not declared in this scope
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:209:57: error: ‘manualMarkCheckBoard’ was not declared in this scope
209 | cv::vectorcv::Point2f chessBoardCorners = manualMarkCheckBoard(img_copy);
| ^~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:219:43: error: ‘CV_WINDOW_NORMAL’ was not declared in this scope
219 | cv::namedWindow("Calibration",CV_WINDOW_NORMAL);
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:55: error: ‘cvSize’ was not declared in this scope
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:92: error: ‘camCorners’ was not declared in this scope; did you mean ‘numOfCornersY’?
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~~~~~
| numOfCornersY
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:257:104: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
257 | found=cv::findChessboardCorners(img_grey, cvSize(numOfCornersX,numOfCornersY), camCorners, CV_CALIB_CB_ADAPTIVE_THRESH );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:40: error: ‘camCorners’ was not declared in this scope; did you mean ‘numOfCornersY’?
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~
| numOfCornersY
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:52: error: ‘cvSize’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:97: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:113: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:295:82: error: ‘cvTermCriteria’ was not declared in this scope
295 | cv::cornerSubPix(img_grey, camCorners, cvSize(20,20), cvSize(-1,-1), cvTermCriteria(CV_TERMCRIT_EPS+CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:298:16: error: ‘squareSize’ was not declared in this scope
298 | if(squareSize.height == 0)
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:312:29: error: ‘squareSize’ was not declared in this scope
312 | p.x = jsquareSize.width;
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:315:21: error: ‘objCorners’ was not declared in this scope
315 | objCorners.push_back(p);
| ^~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp: In static member function ‘static void SLS::Calibrator::Calibrate(SLS::FileReader
, const string&, const string&)’:
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:24: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:42: error: expected primary-expression before ‘>>’ token
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:347:45: error: ‘imgBoardCornersCam’ was not declared in this scope
347 | cv::vector<cv::vectorcv::Point2f> imgBoardCornersCam;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:24: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:42: error: expected primary-expression before ‘>>’ token
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:348:45: error: ‘objBoardCornersCam’ was not declared in this scope
348 | cv::vector<cv::vectorcv::Point3f> objBoardCornersCam;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
353 | cv::vectorcv::Point2f cCam;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:35: error: expected primary-expression before ‘>’ token
353 | cv::vectorcv::Point2f cCam;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:353:37: error: ‘cCam’ was not declared in this scope; did you mean ‘cam’?
353 | cv::vectorcv::Point2f cCam;
| ^~~~
| cam
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:17: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
354 | cv::vectorcv::Point3f cObj;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:35: error: expected primary-expression before ‘>’ token
354 | cv::vectorcv::Point3f cObj;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:354:37: error: ‘cObj’ was not declared in this scope
354 | cv::vectorcv::Point3f cObj;
| ^~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
363 | cv::vectorcv::Mat camRotationVectors;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:27: error: expected primary-expression before ‘>’ token
363 | cv::vectorcv::Mat camRotationVectors;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:363:29: error: ‘camRotationVectors’ was not declared in this scope
363 | cv::vectorcv::Mat camRotationVectors;
| ^~~~~~~~~~~~~~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
364 | cv::vectorcv::Mat camTranslationVectors;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:27: error: expected primary-expression before ‘>’ token
364 | cv::vectorcv::Mat camTranslationVectors;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:364:29: error: ‘camTranslationVectors’ was not declared in this scope; did you mean ‘translationVector’?
364 | cv::vectorcv::Mat camTranslationVectors;
| ^~~~~~~~~~~~~~~~~~~~~
| translationVector
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
372 | cv::vectorcv::Point2f imgPoints;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:31: error: expected primary-expression before ‘>’ token
372 | cv::vectorcv::Point2f imgPoints;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:372:33: error: ‘imgPoints’ was not declared in this scope; did you mean ‘midPoint’?
372 | cv::vectorcv::Point2f imgPoints;
| ^~~~~~~~~
| midPoint
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:13: error: ‘vector’ is not a member of ‘cv’; did you mean ‘std::vector’?
373 | cv::vectorcv::Point3f objPoints3D;
| ^~~~~~
In file included from /usr/include/c++/9/vector:67,
from /usr/include/opencv4/opencv2/core/types.hpp:53,
from /usr/include/opencv4/opencv2/core.hpp:57,
from /usr/include/opencv4/opencv2/opencv.hpp:52,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/Camera.h:22,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/core/FileReader.h:19,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/./src/lib/calibration/Calibrator.hpp:2,
from /home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:386:11: note: ‘std::vector’ declared here
386 | class vector : protected _Vector_base<_Tp, _Alloc>
| ^~~~~~
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:31: error: expected primary-expression before ‘>’ token
373 | cv::vectorcv::Point3f objPoints3D;
| ^
/home/jetson/3DUNDERWORLD-SLS-GPU_CPU/src/lib/calibration/Calibrator.cpp:373:33: error: ‘objPoints3D’ was not declared in this scope
373 | cv::vectorcv::Point3f objPoints3D;
| ^~~~~~~~~~~
make[2]: *** [src/lib/calibration/CMakeFiles/sls_calib.dir/build.make:63: src/lib/calibration/CMakeFiles/sls_calib.dir/Calibrator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:261: src/lib/calibration/CMakeFiles/sls_calib.dir/all] Error 2
make: *** [Makefile:95: all] Error 2
`

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

1 participant