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

question of build error #7

Open
Hogushake opened this issue Feb 9, 2024 · 1 comment
Open

question of build error #7

Hogushake opened this issue Feb 9, 2024 · 1 comment

Comments

@Hogushake
Copy link

hello
i got error in the build

the error is

jaewoo@jaewoo:~/catkin_ws$ catkin_make
Base path: /home/jaewoo/catkin_ws
Source space: /home/jaewoo/catkin_ws/src
Build space: /home/jaewoo/catkin_ws/build
Devel space: /home/jaewoo/catkin_ws/devel
Install space: /home/jaewoo/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/jaewoo/catkin_ws/build"
####
####
#### Running command: "make -j16 -l16" in "/home/jaewoo/catkin_ws/build"
####
[  9%] Generating dynamic reconfigure files from cfg/dynamic_range.cfg: /home/jaewoo/catkin_ws/devel/include/camera_laser_calibration/dynamic_rangeConfig.h /home/jaewoo/catkin_ws/devel/lib/python3/dist-packages/camera_laser_calibration/cfg/dynamic_rangeConfig.py
[ 27%] Built target camera_laser_calibration
[ 36%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/src/corner_detecter.cc.o
[ 45%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/src/collect_laser_image_data.cc.o
[ 54%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/calibration.dir/src/camera_laser_calibration.cc.o
[ 72%] Built target reprojection_test
Generating reconfiguration files for dynamic_range in camera_laser_calibration
[ 72%] Built target camera_laser_calibration_gencfg
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc: In functionvoid cornerDetect(const cv::Mat&, const Point&, const Point&)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:56:13: error: ‘CV_TERMCRIT_EPSwas not declared in this scope
   56 |             CV_TERMCRIT_EPS + CV_TERMCRIT_ITER,
      |             ^~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:56:31: error: ‘CV_TERMCRIT_ITERwas not declared in this scope
   56 |             CV_TERMCRIT_EPS + CV_TERMCRIT_ITER,
      |                               ^~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc: In functionvoid on_mouse(int, int, int, int, void*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:75:18: error: ‘CV_EVENT_LBUTTONDOWNwas not declared in this scope
   75 |     if (event == CV_EVENT_LBUTTONDOWN)
      |                  ^~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:81:45: error: ‘CV_FILLEDwas not declared in this scope
   81 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:81:55: error: ‘CV_AAwas not declared in this scope; did you meanCV_AVX’?
   81 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
      |                                                       CV_AVX
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:84:23: error: ‘CV_EVENT_MOUSEMOVEwas not declared in this scope
   84 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:84:55: error: ‘CV_EVENT_FLAG_LBUTTONwas not declared in this scope
   84 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:101:23: error: ‘CV_EVENT_LBUTTONUPwas not declared in this scope
  101 |     else if (event == CV_EVENT_LBUTTONUP)
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:107:45: error: ‘CV_FILLEDwas not declared in this scope
  107 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:107:55: error: ‘CV_AAwas not declared in this scope; did you meanCV_AVX’?
  107 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
      |                                                       CV_AVX
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/src/corner_detecter.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1841: camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc: In functionvoid BuildOptimizationProblem(Vector3dPoints&, const Vector2dPoints&, Eigen::Quaterniond&, Eigen::Vector3d&, ceres::Problem*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:117:12: error: ‘LocalParameterizationis not a member ofceres117 |     ceres::LocalParameterization* quaternion_local_parameterization =
      |            ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:117:35: error: ‘quaternion_local_parameterizationwas not declared in this scope
  117 |     ceres::LocalParameterization* quaternion_local_parameterization =
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:118:17: error: ‘EigenQuaternionParameterizationdoes not name a type
  118 |             new EigenQuaternionParameterization;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:129:18: error: ‘class ceres::Problemhas no member namedSetParameterization’; did you meanSetParameterLowerBound’?
  129 |         problem->SetParameterization(q.coeffs().data(),
      |                  ^~~~~~~~~~~~~~~~~~~
      |                  SetParameterLowerBound
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/calibration.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/calibration.dir/src/camera_laser_calibration.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1949: camera_lidar_calibration_v2/CMakeFiles/calibration.dir/all] Error 2
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc: In functionvoid on_mouse(int, int, int, int, void*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:122:18: error: ‘CV_EVENT_LBUTTONDOWNwas not declared in this scope
  122 |     if (event == CV_EVENT_LBUTTONDOWN)
      |                  ^~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:128:45: error: ‘CV_FILLEDwas not declared in this scope
  128 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:128:55: error: ‘CV_AAwas not declared in this scope
  128 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:131:23: error: ‘CV_EVENT_MOUSEMOVEwas not declared in this scope
  131 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:131:55: error: ‘CV_EVENT_FLAG_LBUTTONwas not declared in this scope
  131 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:148:23: error: ‘CV_EVENT_LBUTTONUPwas not declared in this scope
  148 |     else if (event == CV_EVENT_LBUTTONUP)
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:154:45: error: ‘CV_FILLEDwas not declared in this scope
  154 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:154:55: error: ‘CV_AAwas not declared in this scope
  154 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/src/collect_laser_image_data.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1922: camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j16 -l16" failed

Do you know anything about this error?

@lazuraihan
Copy link

hello i got error in the build

the error is

jaewoo@jaewoo:~/catkin_ws$ catkin_make
Base path: /home/jaewoo/catkin_ws
Source space: /home/jaewoo/catkin_ws/src
Build space: /home/jaewoo/catkin_ws/build
Devel space: /home/jaewoo/catkin_ws/devel
Install space: /home/jaewoo/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/jaewoo/catkin_ws/build"
####
####
#### Running command: "make -j16 -l16" in "/home/jaewoo/catkin_ws/build"
####
[  9%] Generating dynamic reconfigure files from cfg/dynamic_range.cfg: /home/jaewoo/catkin_ws/devel/include/camera_laser_calibration/dynamic_rangeConfig.h /home/jaewoo/catkin_ws/devel/lib/python3/dist-packages/camera_laser_calibration/cfg/dynamic_rangeConfig.py
[ 27%] Built target camera_laser_calibration
[ 36%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/src/corner_detecter.cc.o
[ 45%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/src/collect_laser_image_data.cc.o
[ 54%] Building CXX object camera_lidar_calibration_v2/CMakeFiles/calibration.dir/src/camera_laser_calibration.cc.o
[ 72%] Built target reprojection_test
Generating reconfiguration files for dynamic_range in camera_laser_calibration
[ 72%] Built target camera_laser_calibration_gencfg
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc: In functionvoid cornerDetect(const cv::Mat&, const Point&, const Point&)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:56:13: error: ‘CV_TERMCRIT_EPSwas not declared in this scope
   56 |             CV_TERMCRIT_EPS + CV_TERMCRIT_ITER,
      |             ^~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:56:31: error: ‘CV_TERMCRIT_ITERwas not declared in this scope
   56 |             CV_TERMCRIT_EPS + CV_TERMCRIT_ITER,
      |                               ^~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc: In functionvoid on_mouse(int, int, int, int, void*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:75:18: error: ‘CV_EVENT_LBUTTONDOWNwas not declared in this scope
   75 |     if (event == CV_EVENT_LBUTTONDOWN)
      |                  ^~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:81:45: error: ‘CV_FILLEDwas not declared in this scope
   81 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:81:55: error: ‘CV_AAwas not declared in this scope; did you meanCV_AVX’?
   81 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
      |                                                       CV_AVX
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:84:23: error: ‘CV_EVENT_MOUSEMOVEwas not declared in this scope
   84 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:84:55: error: ‘CV_EVENT_FLAG_LBUTTONwas not declared in this scope
   84 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:101:23: error: ‘CV_EVENT_LBUTTONUPwas not declared in this scope
  101 |     else if (event == CV_EVENT_LBUTTONUP)
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:107:45: error: ‘CV_FILLEDwas not declared in this scope
  107 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/corner_detecter.cc:107:55: error: ‘CV_AAwas not declared in this scope; did you meanCV_AVX’?
  107 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
      |                                                       CV_AVX
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/src/corner_detecter.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1841: camera_lidar_calibration_v2/CMakeFiles/corner_detecter.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc: In functionvoid BuildOptimizationProblem(Vector3dPoints&, const Vector2dPoints&, Eigen::Quaterniond&, Eigen::Vector3d&, ceres::Problem*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:117:12: error: ‘LocalParameterizationis not a member ofceres117 |     ceres::LocalParameterization* quaternion_local_parameterization =
      |            ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:117:35: error: ‘quaternion_local_parameterizationwas not declared in this scope
  117 |     ceres::LocalParameterization* quaternion_local_parameterization =
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:118:17: error: ‘EigenQuaternionParameterizationdoes not name a type
  118 |             new EigenQuaternionParameterization;
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/camera_laser_calibration.cc:129:18: error: ‘class ceres::Problemhas no member namedSetParameterization’; did you meanSetParameterLowerBound’?
  129 |         problem->SetParameterization(q.coeffs().data(),
      |                  ^~~~~~~~~~~~~~~~~~~
      |                  SetParameterLowerBound
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/calibration.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/calibration.dir/src/camera_laser_calibration.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1949: camera_lidar_calibration_v2/CMakeFiles/calibration.dir/all] Error 2
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc: In functionvoid on_mouse(int, int, int, int, void*)’:
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:122:18: error: ‘CV_EVENT_LBUTTONDOWNwas not declared in this scope
  122 |     if (event == CV_EVENT_LBUTTONDOWN)
      |                  ^~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:128:45: error: ‘CV_FILLEDwas not declared in this scope
  128 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:128:55: error: ‘CV_AAwas not declared in this scope
  128 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:131:23: error: ‘CV_EVENT_MOUSEMOVEwas not declared in this scope
  131 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:131:55: error: ‘CV_EVENT_FLAG_LBUTTONwas not declared in this scope
  131 |     else if (event == CV_EVENT_MOUSEMOVE && !(flags & CV_EVENT_FLAG_LBUTTON))
      |                                                       ^~~~~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:148:23: error: ‘CV_EVENT_LBUTTONUPwas not declared in this scope
  148 |     else if (event == CV_EVENT_LBUTTONUP)
      |                       ^~~~~~~~~~~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:154:45: error: ‘CV_FILLEDwas not declared in this scope
  154 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                             ^~~~~~~~~
/home/jaewoo/catkin_ws/src/camera_lidar_calibration_v2/src/collect_laser_image_data.cc:154:55: error: ‘CV_AAwas not declared in this scope
  154 |         circle(img,pre_pt,2,Scalar(255,0,0),CV_FILLED,CV_AA,0);
      |                                                       ^~~~~
make[2]: *** [camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/build.make:63: camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/src/collect_laser_image_data.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1922: camera_lidar_calibration_v2/CMakeFiles/collect_laser_image_data.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Invoking "make -j16 -l16" failed

Do you know anything about this error?

Hi..
Have you find the solution for the issue?
I'm actually face the same issue

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