Comments (7)
Hi MB, It looks like g2o is missing or bad configurated because the following error appear:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CHOLMOD_INCLUDE_DIR
The variable CHOLMOD_INCLUDE_DIR is defined in g2o library, maybe if you reinstall it will dissapear.
openni-dev is not required by S-PTAM so it is ok if it is not found.
Give it a shot and let me know.
Taihú
from sptam.
Dear @taihup ,
Thanks for your reply.
Yes, I had rebuilt the g2o as guided from README.md.
Here are my steps on installing g2o:
$ svn co https://svn.openslam.org/data/svn/g2o
$ cd ~/g2o/trunk/build
$ cmake ..
$ make
$ make install
g2o header file location:
https://www.dropbox.com/s/9xbfiy1f73tcz2e/g2o_include.jpg?dl=0
g2o lib file location:
https://www.dropbox.com/s/bhkj6q6gwaaht5v/g2o_lib.jpg?dl=0
How could I fix it for the variable CHOLMOD_INCLUDE_DIR?
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CHOLMOD_INCLUDE_DIR
THX~
MB
from sptam.
Hi MB,
I have been looking this error in the web and there is an answer in: uzh-rpg/rpg_svo#29
The message:
"The reason is due to the fact that we were compiling g2o, we missed the cholmod lib so that the G2O_SOLVER_CHOLMOD is not built at all. so solve it, do the following.
$ sudo apt-get install libsuitesparse-dev libsuitesparse-metis-dev
then build the g2o again and install to it as instructed.
Hope it helps."
So the steps are:
- Uninstall g2o (remove completely)
- install suitsparse library ( sudo apt-get install libsuitesparse-dev libsuitesparse-metis-dev )
- Build g2o (again) and Install g2o
Let me know if it helps.
Taihú
from sptam.
Awesome, it works :)
I just follow steps you suggested.
Thank you so much, Taihú~
MB
from sptam.
Great!
from sptam.
Hello @taihup
I was wondering if there is any way to build/use the SPTAM code of RAS 2017 on Ubuntu 14.04 with OpenCV 2.4 with loop closure enabled. My question comes after bumping into distributed-sptam that is said to be compatible with my system. I acknowledge that my setup is relatively archaic, but upgrading is not an option at the moment.
Any insight is much appreciated! Thank you in advance.
from sptam.
Hi @HaniItani, mmm I am not sure if it is going to work. The early version of S-PTAM used to work on 14.04 but it was not maintained anymore. I think it is possible, but could take some work. You can give it a shot. Notice that in S-PTAM we have to patch how to find the OpenCV that comes with ROS. You can find the related code in https://github.com/lrse/sptam/blob/master/cmake-modules/dependencies.cmake. So, to use opencv 2.4 you should change this, and ask OpenCV 2.4 in the right way.
Another option that you have is to install a docker with an ubuntu 16.04 image in your ubuntu 14.04. I think this is the easiest solution. Then you can install the new version of S-PTAM in the docker.
from sptam.
Related Issues (20)
- Gtest error while compilation HOT 12
- Not enough points for tracking with MIT dataset HOT 1
- ERROR: There is not any covisibility keyframes observing the tracked points HOT 7
- Building standalone HOT 2
- Running KITTI sequences on standalone HOT 3
- Error Running kitti.launch with kitti_01.bag HOT 20
- symbol lookup error: /home/ros/vslam/devel/lib/libsptam.so: undefined symbol HOT 2
- Improvement for pure localization after running a SLAM session HOT 3
- error: ‘DBoW2::FBrief::TDescriptor {aka class std::bitset<256ul>}’ has no member named ‘resize’ HOT 6
- [ERROR] [1563717737.344465687]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying... HOT 17
- File:'file:///home/lzb/catkin_ws2/src/sptam/src/sptam/loopclosing/detectors/DLDLoopDetector.cpp' Severity:'Error' Message:''DBoW2:: FBrief:: TDescriptor {aka class std:: BitSet < 256ul >}'has no member named'resize'' HOT 4
- Gtest error while doing catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON HOT 3
- Error while running the roslaunch sptam kitti.launch HOT 23
- KITTI Bag Files HOT 4
- Disable GTest? HOT 1
- CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_workspace.cmake:95 (message): This workspace contains non-catkin packages in it, and catkin cannot build a non-homogeneous workspace without isolation. Try the 'catkin_make_isolated' command instead. Call Stack (most recent call first): CMakeLists.txt:67 (catkin_workspace) HOT 4
- rosplay kitti_04 error,need help HOT 3
- Please HELP me::::::when-->“catkin_make --pkg sptam -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSINGLE_THREAD=OFF -DSHOW_TRACKED_FRAMES=ON -DSHOW_PROFILING=ON -DPARALLELIZE=ON” HOT 7
- Please help me, it's too difficult to solve HOT 18
- Can we use this slam with only lidar? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sptam.