[build] Found '4' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> camera_models
Starting >>> global_fusion
Starting >>> vins
Errors << vins:cmake /home/peixuan/workspace2/logs/vins/build.cmake.000.log
CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by "camera_models"
with any of the following names:
Add the installation prefix of "camera_models" to CMAKE_PREFIX_PATH or set
"camera_models_DIR" to a directory containing one of the above files. If
"camera_models" provides a separate development package or SDK, be sure it
has been installed.
Call Stack (most recent call first):
CMakeLists.txt:9 (find_package)
cd /home/peixuan/workspace2/build/vins; catkin build --get-env vins | catkin env -si /usr/bin/cmake /home/peixuan/workspace2/src/VINS-Fusion-gpu/vins_estimator --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/peixuan/workspace2/devel/.private/vins -DCMAKE_INSTALL_PREFIX=/home/peixuan/workspace2/install; cd -
Errors << camera_models:make /home/peixuan/workspace2/logs/camera_models/build.make.001.log
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In constructor ‘camodocal::Chessboard::Chessboard(cv::Size, cv::Mat&)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:20:38: error: ‘CV_GRAY2BGR’ was not declared in this scope
20 | cv::cvtColor(image, mSketch, CV_GRAY2BGR);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:26:37: error: ‘CV_BGR2GRAY’ was not declared in this scope
26 | cv::cvtColor(image, mImage, CV_BGR2GRAY);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::findCorners(bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:34:43: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
34 | CV_CALIB_CB_ADAPTIVE_THRESH +
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:35:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
35 | CV_CALIB_CB_NORMALIZE_IMAGE +
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:36:43: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope
36 | CV_CALIB_CB_FILTER_QUADS +
| ^~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:37:43: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope
37 | CV_CALIB_CB_FAST_CHECK,
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In constructor ‘camodocal::Chessboard::Chessboard(cv::Size, cv::Mat&)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:20:38: error: ‘CV_GRAY2BGR’ was not declared in this scope
20 | cv::cvtColor(image, mSketch, CV_GRAY2BGR);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/cameramodels/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::findChessboardCornersImproved(const cv::Mat&, const Size&, std::vector<cv::Point >&, int)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:144:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
144 | if (image.channels() != 1 || (flags & CV_CALIB_CB_NORMALIZE_IMAGE))
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:26:37: error: ‘CV_BGR2GRAY’ was not declared in this scope
26 | cv::cvtColor(image, mImage, CV_BGR2GRAY);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:150:43: error: ‘CV_BGR2GRAY’ was not declared in this scope
150 | cv::cvtColor(image, norm_img, CV_BGR2GRAY);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::findCorners(bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:34:43: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
34 | CV_CALIB_CB_ADAPTIVE_THRESH +
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:161:17: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope
161 | if (flags & CV_CALIB_CB_FAST_CHECK)
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:35:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
35 | CV_CALIB_CB_NORMALIZE_IMAGE +
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:192:25: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
192 | if (flags & CV_CALIB_CB_ADAPTIVE_THRESH)
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:36:43: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope
36 | CV_CALIB_CB_FILTER_QUADS +
| ^~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:61: error: ‘CV_ADAPTIVE_THRESH_MEAN_C’ was not declared in this scope
198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5);
| ^~~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:37:43: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope
37 | CV_CALIB_CB_FAST_CHECK,
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:88: error: ‘CV_THRESH_BINARY’ was not declared in this scope
198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:207:67: error: ‘CV_THRESH_BINARY’ was not declared in this scope
207 | cv::threshold(img, thresh_img, thresh_level, 255, CV_THRESH_BINARY);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/cameramodels/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::findChessboardCornersImproved(const cv::Mat&, const Size&, std::vector<cv::Point >&, int)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:144:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
144 | if (image.channels() != 1 || (flags & CV_CALIB_CB_NORMALIZE_IMAGE))
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:150:43: error: ‘CV_BGR2GRAY’ was not declared in this scope
150 | cv::cvtColor(image, norm_img, CV_BGR2GRAY);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:215:57: error: ‘CV_SHAPE_CROSS’ was not declared in this scope
215 | cv::Mat kernel1 = cv::getStructuringElement(CV_SHAPE_CROSS, cv::Size(3,3), cv::Point(1,1));
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:216:57: error: ‘CV_SHAPE_RECT’ was not declared in this scope
216 | cv::Mat kernel2 = cv::getStructuringElement(CV_SHAPE_RECT, cv::Size(3,3), cv::Point(1,1));
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:161:17: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope
161 | if (flags & CV_CALIB_CB_FAST_CHECK)
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:43: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope
320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:61: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope
320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:192:25: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope
192 | if (flags & CV_CALIB_CB_ADAPTIVE_THRESH)
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc: In member function ‘void camodocal::CameraCalibration::drawResults(std::vector&) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:235:40: error: ‘CV_GRAY2RGB’ was not declared in this scope
235 | cv::cvtColor(image, image, CV_GRAY2RGB);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:253:37: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’?
253 | 5, green, 2, CV_AA, drawShiftBits);
| ^~~~~
| CV_MSA
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:275:24: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’?
275 | 1, CV_AA);
| ^~~~~
| CV_MSA
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:61: error: ‘CV_ADAPTIVE_THRESH_MEAN_C’ was not declared in this scope
198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5);
| ^~~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::generateQuads(std::vector<boost::shared_ptr >&, cv::Mat&, int, int, bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:50: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:88: error: ‘CV_THRESH_BINARY’ was not declared in this scope
198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:65: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:207:67: error: ‘CV_THRESH_BINARY’ was not declared in this scope
207 | cv::threshold(img, thresh_img, thresh_level, 255, CV_THRESH_BINARY);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:215:57: error: ‘CV_SHAPE_CROSS’ was not declared in this scope
215 | cv::Mat kernel1 = cv::getStructuringElement(CV_SHAPE_CROSS, cv::Size(3,3), cv::Point(1,1));
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1241:27: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope
1241 | if (!(flags & CV_CALIB_CB_FILTER_QUADS) ||
| ^~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:216:57: error: ‘CV_SHAPE_RECT’ was not declared in this scope
216 | cv::Mat kernel2 = cv::getStructuringElement(CV_SHAPE_RECT, cv::Size(3,3), cv::Point(1,1));
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:43: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope
320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:61: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope
320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1));
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::checkChessboard(const cv::Mat&, cv::Size) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1586:72: error: ‘CV_THRESH_BINARY’ was not declared in this scope
1586 | cv::threshold(white, thresh, threshLevel + blackWhiteGap, 255, CV_THRESH_BINARY);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:55: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:70: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope
1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::generateQuads(std::vector<boost::shared_ptr >&, cv::Mat&, int, int, bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:50: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1597:56: error: ‘CV_THRESH_BINARY_INV’ was not declared in this scope
1597 | cv::threshold(black, thresh, threshLevel, 255, CV_THRESH_BINARY_INV);
| ^~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:65: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1241:27: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope
1241 | if (!(flags & CV_CALIB_CB_FILTER_QUADS) ||
| ^~~~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::checkChessboard(const cv::Mat&, cv::Size) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1586:72: error: ‘CV_THRESH_BINARY’ was not declared in this scope
1586 | cv::threshold(white, thresh, threshLevel + blackWhiteGap, 255, CV_THRESH_BINARY);
| ^~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:55: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:70: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope
1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^~~~~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1597:56: error: ‘CV_THRESH_BINARY_INV’ was not declared in this scope
1597 | cv::threshold(black, thresh, threshLevel, 255, CV_THRESH_BINARY_INV);
| ^~~~~~~~
make[2]: [CMakeFiles/Calibrations.dir/build.make:76: CMakeFiles/Calibrations.dir/src/chessboard/Chessboard.cc.o] Error 1
make[2]: Waiting for unfinished jobs....
make[2]: [CMakeFiles/camera_models.dir/build.make:63: CMakeFiles/camera_models.dir/src/chessboard/Chessboard.cc.o] Error 1
make[2]: Waiting for unfinished jobs....
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/intrinsic_calib.cc: In function ‘int main(int, char)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/intrinsic_calib.cc:277:26: error: ‘CV_AA’ was not declared in this scope
277 | CV_AA );
| ^~~~~
make[2]: ** [CMakeFiles/Calibrations.dir/build.make:89: CMakeFiles/Calibrations.dir/src/calib/CameraCalibration.cc.o] Error 1
make[2]: [CMakeFiles/Calibrations.dir/build.make:63: CMakeFiles/Calibrations.dir/src/intrinsic_calib.cc.o] Error 1
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc: In member function ‘void camodocal::CameraCalibration::drawResults(std::vector&) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:235:40: error: ‘CV_GRAY2RGB’ was not declared in this scope
235 | cv::cvtColor(image, image, CV_GRAY2RGB);
| ^~~
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:253:37: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’?
253 | 5, green, 2, CV_AA, drawShiftBits);
| ^~~~~
| CV_MSA
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:275:24: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’?
275 | 1, CV_AA);
| ^~~~~
| CV_MSA
make[2]: [CMakeFiles/camera_models.dir/build.make:76: CMakeFiles/camera_models.dir/src/calib/CameraCalibration.cc.o] Error 1
make[1]: [CMakeFiles/Makefile2:157: CMakeFiles/camera_models.dir/all] Error 2
make[1]: Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:265: CMakeFiles/Calibrations.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
cd /home/peixuan/workspace2/build/camera_models; catkin build --get-env camera_models | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -
...............................................................................
Failed << camera_models:make [ Exited with code 2 ]
Failed <<< camera_models [ 1 minute and 8.7 seconds ]
Finished <<< global_fusion [ 1 minute and 20.0 seconds ]
[build] Summary: 1 of 4 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 2 packages failed.
[build] Runtime: 1 minute and 20.3 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
i tried to install the gpu version and when i build it it shows this
Profile: default Extending: [cached] /opt/ros/noetic Workspace: /home/peixuan/workspace2
Build Space: [exists] /home/peixuan/workspace2/build Devel Space: [exists] /home/peixuan/workspace2/devel Install Space: [unused] /home/peixuan/workspace2/install Log Space: [exists] /home/peixuan/workspace2/logs Source Space: [exists] /home/peixuan/workspace2/src DESTDIR: [unused] None
Devel Space Layout: linked Install Space Layout: None
Additional CMake Args: None Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False
Whitelisted Packages: None Blacklisted Packages: None
Workspace configuration appears valid.
[build] Found '4' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> camera_models
Starting >>> global_fusion
Starting >>> vins
Errors << vins:cmake /home/peixuan/workspace2/logs/vins/build.cmake.000.log CMake Error at /opt/ros/noetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "camera_models" with any of the following names:
Add the installation prefix of "camera_models" to CMAKE_PREFIX_PATH or set "camera_models_DIR" to a directory containing one of the above files. If "camera_models" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:9 (find_package)
cd /home/peixuan/workspace2/build/vins; catkin build --get-env vins | catkin env -si /usr/bin/cmake /home/peixuan/workspace2/src/VINS-Fusion-gpu/vins_estimator --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/peixuan/workspace2/devel/.private/vins -DCMAKE_INSTALL_PREFIX=/home/peixuan/workspace2/install; cd -
............................................................................... Failed << vins:cmake [ Exited with code 1 ]
Failed <<< vins [ 4.9 seconds ]
Abandoned <<< loop_fusion [ Unrelated job failed ]
Errors << camera_models:make /home/peixuan/workspace2/logs/camera_models/build.make.001.log /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In constructor ‘camodocal::Chessboard::Chessboard(cv::Size, cv::Mat&)’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:20:38: error: ‘CV_GRAY2BGR’ was not declared in this scope 20 | cv::cvtColor(image, mSketch, CV_GRAY2BGR); | ^ >&, int)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:144:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
144 | if (image.channels() != 1 || (flags & CV_CALIB_CB_NORMALIZE_IMAGE))
| ^ >&, int)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:144:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope
144 | if (image.channels() != 1 || (flags & CV_CALIB_CB_NORMALIZE_IMAGE))
| ^&) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:235:40: error: ‘CV_GRAY2RGB’ was not declared in this scope
235 | cv::cvtColor(image, image, CV_GRAY2RGB);
| ^ >&, cv::Mat&, int, int, bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:50: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^ 5);
| ^ >&, cv::Mat&, int, int, bool)’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:50: error: ‘CV_RETR_CCOMP’ was not declared in this scope
1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE);
| ^&) const’:
/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:235:40: error: ‘CV_GRAY2RGB’ was not declared in this scope
235 | cv::cvtColor(image, image, CV_GRAY2RGB);
| ^
~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:26:37: error: ‘CV_BGR2GRAY’ was not declared in this scope 26 | cv::cvtColor(image, mImage, CV_BGR2GRAY); | ^~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::findCorners(bool)’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:34:43: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope 34 | CV_CALIB_CB_ADAPTIVE_THRESH + | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:35:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope 35 | CV_CALIB_CB_NORMALIZE_IMAGE + | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:36:43: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope 36 | CV_CALIB_CB_FILTER_QUADS + | ^~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:37:43: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope 37 | CV_CALIB_CB_FAST_CHECK, | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In constructor ‘camodocal::Chessboard::Chessboard(cv::Size, cv::Mat&)’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:20:38: error: ‘CV_GRAY2BGR’ was not declared in this scope 20 | cv::cvtColor(image, mSketch, CV_GRAY2BGR); | ^~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/cameramodels/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::findChessboardCornersImproved(const cv::Mat&, const Size&, std::vector<cv::Point~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:26:37: error: ‘CV_BGR2GRAY’ was not declared in this scope 26 | cv::cvtColor(image, mImage, CV_BGR2GRAY); | ^~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:150:43: error: ‘CV_BGR2GRAY’ was not declared in this scope 150 | cv::cvtColor(image, norm_img, CV_BGR2GRAY); | ^~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::findCorners(bool)’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:34:43: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope 34 | CV_CALIB_CB_ADAPTIVE_THRESH + | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:161:17: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope 161 | if (flags & CV_CALIB_CB_FAST_CHECK) | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:35:43: error: ‘CV_CALIB_CB_NORMALIZE_IMAGE’ was not declared in this scope 35 | CV_CALIB_CB_NORMALIZE_IMAGE + | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:192:25: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope 192 | if (flags & CV_CALIB_CB_ADAPTIVE_THRESH) | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:36:43: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope 36 | CV_CALIB_CB_FILTER_QUADS + | ^~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:61: error: ‘CV_ADAPTIVE_THRESH_MEAN_C’ was not declared in this scope 198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5); | ^~~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:37:43: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope 37 | CV_CALIB_CB_FAST_CHECK, | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:88: error: ‘CV_THRESH_BINARY’ was not declared in this scope 198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:207:67: error: ‘CV_THRESH_BINARY’ was not declared in this scope 207 | cv::threshold(img, thresh_img, thresh_level, 255, CV_THRESH_BINARY); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/cameramodels/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::findChessboardCornersImproved(const cv::Mat&, const Size&, std::vector<cv::Point~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:150:43: error: ‘CV_BGR2GRAY’ was not declared in this scope 150 | cv::cvtColor(image, norm_img, CV_BGR2GRAY); | ^~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:215:57: error: ‘CV_SHAPE_CROSS’ was not declared in this scope 215 | cv::Mat kernel1 = cv::getStructuringElement(CV_SHAPE_CROSS, cv::Size(3,3), cv::Point(1,1)); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:216:57: error: ‘CV_SHAPE_RECT’ was not declared in this scope 216 | cv::Mat kernel2 = cv::getStructuringElement(CV_SHAPE_RECT, cv::Size(3,3), cv::Point(1,1)); | ^~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:161:17: error: ‘CV_CALIB_CB_FAST_CHECK’ was not declared in this scope 161 | if (flags & CV_CALIB_CB_FAST_CHECK) | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:43: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope 320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1)); | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:61: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope 320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1)); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:192:25: error: ‘CV_CALIB_CB_ADAPTIVE_THRESH’ was not declared in this scope 192 | if (flags & CV_CALIB_CB_ADAPTIVE_THRESH) | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc: In member function ‘void camodocal::CameraCalibration::drawResults(std::vector~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:253:37: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’? 253 | 5, green, 2, CV_AA, drawShiftBits); | ^~~~~ | CV_MSA /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:275:24: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’? 275 | 1, CV_AA); | ^~~~~ | CV_MSA /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:61: error: ‘CV_ADAPTIVE_THRESH_MEAN_C’ was not declared in this scope 198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)5); | ^~~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::generateQuads(std::vector<boost::shared_ptr~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:198:88: error: ‘CV_THRESH_BINARY’ was not declared in this scope 198 | cv::adaptiveThreshold(img, thresh_img, 255, CV_ADAPTIVE_THRESH_MEAN_C, CV_THRESH_BINARY, blockSize, (k/2)~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:65: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope 1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:207:67: error: ‘CV_THRESH_BINARY’ was not declared in this scope 207 | cv::threshold(img, thresh_img, thresh_level, 255, CV_THRESH_BINARY); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:215:57: error: ‘CV_SHAPE_CROSS’ was not declared in this scope 215 | cv::Mat kernel1 = cv::getStructuringElement(CV_SHAPE_CROSS, cv::Size(3,3), cv::Point(1,1)); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1241:27: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope 1241 | if (!(flags & CV_CALIB_CB_FILTER_QUADS) || | ^~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:216:57: error: ‘CV_SHAPE_RECT’ was not declared in this scope 216 | cv::Mat kernel2 = cv::getStructuringElement(CV_SHAPE_RECT, cv::Size(3,3), cv::Point(1,1)); | ^~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:43: error: ‘CV_TERMCRIT_EPS’ was not declared in this scope 320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1)); | ^~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:320:61: error: ‘CV_TERMCRIT_ITER’ was not declared in this scope 320 | cv::TermCriteria(CV_TERMCRIT_EPS + CV_TERMCRIT_ITER, 30, 0.1)); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::checkChessboard(const cv::Mat&, cv::Size) const’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1586:72: error: ‘CV_THRESH_BINARY’ was not declared in this scope 1586 | cv::threshold(white, thresh, threshLevel + blackWhiteGap, 255, CV_THRESH_BINARY); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:55: error: ‘CV_RETR_CCOMP’ was not declared in this scope 1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:70: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope 1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘void camodocal::Chessboard::generateQuads(std::vector<boost::shared_ptr~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1597:56: error: ‘CV_THRESH_BINARY_INV’ was not declared in this scope 1597 | cv::threshold(black, thresh, threshLevel, 255, CV_THRESH_BINARY_INV); | ^~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1175:65: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope 1175 | cv::findContours(image, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1241:27: error: ‘CV_CALIB_CB_FILTER_QUADS’ was not declared in this scope 1241 | if (!(flags & CV_CALIB_CB_FILTER_QUADS) || | ^~~~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc: In member function ‘bool camodocal::Chessboard::checkChessboard(const cv::Mat&, cv::Size) const’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1586:72: error: ‘CV_THRESH_BINARY’ was not declared in this scope 1586 | cv::threshold(white, thresh, threshLevel + blackWhiteGap, 255, CV_THRESH_BINARY); | ^~~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:55: error: ‘CV_RETR_CCOMP’ was not declared in this scope 1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1592:70: error: ‘CV_CHAIN_APPROX_SIMPLE’ was not declared in this scope 1592 | cv::findContours(thresh, contours, hierarchy, CV_RETR_CCOMP, CV_CHAIN_APPROX_SIMPLE); | ^~~~~~ /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/chessboard/Chessboard.cc:1597:56: error: ‘CV_THRESH_BINARY_INV’ was not declared in this scope 1597 | cv::threshold(black, thresh, threshLevel, 255, CV_THRESH_BINARY_INV); | ^~~~~~~~ make[2]: [CMakeFiles/Calibrations.dir/build.make:76: CMakeFiles/Calibrations.dir/src/chessboard/Chessboard.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[2]: [CMakeFiles/camera_models.dir/build.make:63: CMakeFiles/camera_models.dir/src/chessboard/Chessboard.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/intrinsic_calib.cc: In function ‘int main(int, char)’: /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/intrinsic_calib.cc:277:26: error: ‘CV_AA’ was not declared in this scope 277 | CV_AA ); | ^~~~~ make[2]: ** [CMakeFiles/Calibrations.dir/build.make:89: CMakeFiles/Calibrations.dir/src/calib/CameraCalibration.cc.o] Error 1 make[2]: [CMakeFiles/Calibrations.dir/build.make:63: CMakeFiles/Calibrations.dir/src/intrinsic_calib.cc.o] Error 1 /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc: In member function ‘void camodocal::CameraCalibration::drawResults(std::vector~~/home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:253:37: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’? 253 | 5, green, 2, CV_AA, drawShiftBits); | ^~~~~ | CV_MSA /home/peixuan/workspace2/src/VINS-Fusion-gpu/camera_models/src/calib/CameraCalibration.cc:275:24: error: ‘CV_AA’ was not declared in this scope; did you mean ‘CV_MSA’? 275 | 1, CV_AA); | ^~~~~ | CV_MSA make[2]: [CMakeFiles/camera_models.dir/build.make:76: CMakeFiles/camera_models.dir/src/calib/CameraCalibration.cc.o] Error 1 make[1]: [CMakeFiles/Makefile2:157: CMakeFiles/camera_models.dir/all] Error 2 make[1]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:265: CMakeFiles/Calibrations.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 cd /home/peixuan/workspace2/build/camera_models; catkin build --get-env camera_models | catkin env -si /usr/bin/make --jobserver-auth=3,4; cd -............................................................................... Failed << camera_models:make [ Exited with code 2 ]
Failed <<< camera_models [ 1 minute and 8.7 seconds ]
Finished <<< global_fusion [ 1 minute and 20.0 seconds ]
[build] Summary: 1 of 4 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 2 packages failed.
[build] Runtime: 1 minute and 20.3 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.