You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to compile this project. In this process, I am getting an error while compiling the pnec_ceres and nec_seres code. Some ceres functions are not recognized and hence the compile fails. I am using the ceres 1.13.0 version (as mentioned in the docker file) and Ubuntu 18.04.5. I made sure that ceres is correctly installed by running make test as mentioned in the ceres installation directions. The following is the output of my terminal.
(base) sush@lisc-redbarn-desktop:/data/dnls_covs/pnec/build$ make
[ 42%] Built target opengv
[ 57%] Built target rosbag
[ 64%] Built target apriltag
[ 78%] Built target basalt
Consolidate compiler generated dependencies of target pnec
[ 78%] Building CXX object CMakeFiles/pnec.dir/src/optimization/nec_ceres.cc.o
/data/dnls_covs/pnec/src/optimization/nec_ceres.cc:90:10: error: no type named 'Manifold' in namespace 'ceres'
ceres::Manifold *quaternion_manifold = new ceres::EigenQuaternionManifold;
~~~~~~~^
/data/dnls_covs/pnec/src/optimization/nec_ceres.cc:90:53: error: no type named 'EigenQuaternionManifold' in namespace 'ceres'
ceres::Manifold *quaternion_manifold = new ceres::EigenQuaternionManifold;
~~~~~~~^
/data/dnls_covs/pnec/src/optimization/nec_ceres.cc:93:11: error: no member named 'SetManifold' in 'ceres::Problem'
problem.SetManifold(orientation_.coeffs().data(), quaternion_manifold);
~~~~~~~ ^
3 errors generated.
CMakeFiles/pnec.dir/build.make:285: recipe for target 'CMakeFiles/pnec.dir/src/optimization/nec_ceres.cc.o' failed
make[2]: *** [CMakeFiles/pnec.dir/src/optimization/nec_ceres.cc.o] Error 1
CMakeFiles/Makefile2:710: recipe for target 'CMakeFiles/pnec.dir/all' failed
make[1]: *** [CMakeFiles/pnec.dir/all] Error 2
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2
Any help or guidance will be greatly appreciated.
The text was updated successfully, but these errors were encountered:
Hi !
I have been trying to compile this project. In this process, I am getting an error while compiling the pnec_ceres and nec_seres code. Some ceres functions are not recognized and hence the compile fails. I am using the ceres 1.13.0 version (as mentioned in the docker file) and Ubuntu 18.04.5. I made sure that ceres is correctly installed by running make test as mentioned in the ceres installation directions. The following is the output of my terminal.
Any help or guidance will be greatly appreciated.
The text was updated successfully, but these errors were encountered: