-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
If there is any one can help me with this error #993
Comments
Hi, have you tried If you are using the version of Ceres in Ubuntu that you installed with Here is the full list of commands:
and then
Now you can rebuild Cartographer with You can actually build Cartographer without SuiteSparse. It will be slower though. To do that, just open |
Hi pifon2a ,
|
Hi @senses1 , could you please run Also, please, do not run the next command after the previous has failed: |
Hi @pifon2a, BTW, I'm using Virtual Box : Ubuntu 16.04 on 1 Core 1.5GB RAM |
I only use 2D indoor SLAM , it is enough for me |
You can do it just with cmake without ninja. Install these:
Ok, now let's start from scratch. Ceres part:
Cartographer part:
|
Hi @pifon2a,
|
Oh, I am so sorry: you need two more commands for Ceres (
|
I changed the cmake command like: cmake .. -G "Unix Makefiles" -DCXX11=ON -DCMAKE_INSTALL_PREFIX=/usr/local/stow/ceres |
@senses1, I do not know, we have a quite powerful hardware here. Try to remove |
finally I compiled the cartographer,I found 2 Error , but still can not find which file to modify the situation of not compile TEST funstions: /usr/local/lib/libgmock_main.a(gmock_main.cc.o):在函数‘RUN_ALL_TESTS()’中: |
在函数 ****中 means in function |
$make -k |
Hi pifon2a, |
Try to do 'make clean' and recompile. Gmock should link. |
I've commented the gtest code compile command in CMakelist.txt and it passed. |
build_isolated/ceres-solver/install/CMakeCache.txt 里找到EIGENSPARSE:BOOL=OFF , 把OFF 改成ON |
I compiled cartographer-master
$cmake CMakeLists.txt
when it comes out error infomation like:
`- Build type: Release
CMake Warning at /usr/share/cmake-3.5/Modules/FindBoost.cmake:725 (message):
Imported targets not available for Boost version 106600
Call Stack (most recent call first):
/usr/share/cmake-3.5/Modules/FindBoost.cmake:763 (_Boost_COMPONENT_DEPENDENCIES)
/usr/share/cmake-3.5/Modules/FindBoost.cmake:1332 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:31 (find_package)
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- iostreams
-- Found installed version of Eigen: /usr/lib/cmake/eigen3
-- Found required Ceres dependency: Eigen version 3.2.92 in /usr/include/eigen3
-- Found required Ceres dependency: glog
CMake Error at /usr/local/lib/cmake/Ceres/CeresConfig.cmake:88 (message):
Failed to find Ceres - Missing requested Ceres components: [SuiteSparse]
(components requested: [SuiteSparse]). Detected Ceres version: 1.14.0
installed in: /usr/local with components: [EigenSparse,
SparseLinearAlgebraLibrary, SchurSpecializations, OpenMP, Multithreading].
Call Stack (most recent call first):
/usr/local/lib/cmake/Ceres/CeresConfig.cmake:390 (ceres_report_not_found)
CMakeLists.txt:32 (find_package)
CMake Error at CMakeLists.txt:32 (find_package):
Found package configuration file:
but it set Ceres_FOUND to FALSE so package "Ceres" is considered to be NOT
FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/tby/cartographer-master/CMakeFiles/CMakeOutput.log".
See also "/home/tby/cartographer-master/CMakeFiles/CMakeError.log".
`
and I searched for this ,I found the Suitesparse problem is fixed under Debian , but not under Ubuntu.
how could I solve this problem?
The text was updated successfully, but these errors were encountered: