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

catkin_make error #119

Open
phdh4 opened this issue Sep 24, 2024 · 5 comments
Open

catkin_make error #119

phdh4 opened this issue Sep 24, 2024 · 5 comments

Comments

@phdh4
Copy link

phdh4 commented Sep 24, 2024

When I started build and run catkin_make in terminal, I met problem as following:
01
02
I tried different version of Ceres but this error still couldn't be solved.
My System is Ubuntu18.04 and Ceres version is 2.0.0.

@zhangyuran-gg
Copy link

当我在终端中开始构建和运行 catkin_make 时,我遇到了如下问题: 01 02我尝试了不同版本的 Ceres,但这个错误仍然无法解决。我的系统是 Ubuntu18.04,Ceres 版本是 2.0.0。

我用的ceres2.2.0,编译时同样出现ceres版本问题,请问你解决了吗:
/home/zyr/lccalib_ws/src/livox_camera_calib/src/lidar_camera_multi_calib.cpp:313:15: error: expected type-specifier
313 | new ceres::EigenQuaternionParameterization();

@phdh4
Copy link
Author

phdh4 commented Oct 23, 2024

当我在终端中开始构建和运行 catkin_make 时,我遇到了如下问题: 01 02我尝试了不同版本的 Ceres,但这个错误仍然无法解决。我的系统是 Ubuntu18.04,Ceres 版本是 2.0.0。

我用的ceres2.2.0,编译时同样出现ceres版本问题,请问你解决了吗: /home/zyr/lccalib_ws/src/livox_camera_calib/src/lidar_camera_multi_calib.cpp:313:15: error: expected type-specifier 313 | new ceres::EigenQuaternionParameterization();

ceres2.2.0不行,安装更低的版本,2.0.0可以,安装更低版本时请完全卸载ceres2.2.0。

@XuJ1E
Copy link

XuJ1E commented Nov 12, 2024

When I started build and run catkin_make in terminal, I met problem as following: 01 02 I tried different version of Ceres but this error still couldn't be solved. My System is Ubuntu18.04 and Ceres version is 2.0.0.

======================================
1、download from url :http://ceres-solver.org/ceres-solver-2.0.0.tar.gz
2、mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=/usr/local/ceres .. #The premise is to create a 'ceres' file yourself under '/usr/local'
sudo make install

@85256638
Copy link

85256638 commented Nov 14, 2024

@zhangyuran-gg @phdh4
不用卸载CERES 2.2.0重装2.0.0直接改code:

/catkin_ws/src/livox_camera_calib/src 下的两个文件:

image

把之前的 ceres::LocalParameterization *q_parameterization = new ceres::EigenQuaternionParameterization();

改成 ceres::Manifold *q_parameterization = new ceres::EigenQuaternionManifold();

再catkin_make

参考以下:
https://github.com/colmap/colmap/issues/1475
https://blog.csdn.net/zb0824zb/article/details/139421686

@XuJ1E
Copy link

XuJ1E commented Nov 14, 2024

@zhangyuran-gg @phdh4
不用卸载CERES 2.2.0重装2.0.0直接改code:

/catkin_ws/src/livox_camera_calib/src 下的两个文件:

image

把之前的 ceres::LocalParameterization *q_parameterization = new ceres::EigenQuaternionParameterization();

改成 ceres::LocalParameterization *q_parameterization = new ceres::EigenQuaternionManifold();

再catkin_make

参考以下:
https://github.com/colmap/colmap/issues/1475
https://blog.csdn.net/zb0824zb/article/details/139421686

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

4 participants