Comments (7)
@belal-ibrahim it seems you need to have openssl
installed. Try using apt-get install libssl-dev
. About another error, it seems stl complains about the allocator defined there, in include/LoopClosing.h:50
, you can see:
typedef map<KeyFrame*,g2o::Sim3,std::less<KeyFrame*>,
Eigen::aligned_allocator<std::pair<const KeyFrame*, g2o::Sim3> > > KeyFrameAndPose;
I wonder if it will works by deleting the const
keyword there, as your compiler argues. However I am not able to reproduce the error on my laptop, so you may as well post your compiler version, like gcc, g++, as well as that of cmake and (possibly) Eigen library :)
from orb_slam3.
Hi! These lines are insufficient to provide some help. Paste, please, the whole script output
from orb_slam3.
I suggest adding a line
set -e
at the begining of the build.sh and run bash build.sh
instead of running ./build.sh
directly so that bash stops executing upon any error. Also as @dimaxano said you should copy the entire output of cmake to let us see what's wrong with building (unsatisified requirements or compilation error etc)
from orb_slam3.
that's my output error
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:102: CMakeFiles/ORB_SLAM3.dir/src/LoopClosing.cc.o] Error 1
/home/beraru/ORB_SLAM3/src/Tracking.cc: In member function ‘void ORB_SLAM3::Tracking::Track()’:
/home/beraru/ORB_SLAM3/src/Tracking.cc:1155:13: warning: ‘bOK’ may be used uninitialized in this function [-Wmaybe-uninitialized]
1155 | if(bOK)
| ^~
make[2]: *** [CMakeFiles/ORB_SLAM3.dir/build.make:232: CMakeFiles/ORB_SLAM3.dir/src/Optimizer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:390: CMakeFiles/ORB_SLAM3.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
from orb_slam3.
@belal-ibrahim it seems you have trouble building LoopClosing.cc and Optimizer.cc. However I cannot see what exactly the error is, please provide the full output of your building script output.
from orb_slam3.
libssl-dev is already the newest version (1.1.1f-1ubuntu2)
gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
cmake version 3.16.3
Eigen version 3.3.4
from orb_slam3.
Hi @mengdejiang, as others have already noted, you provide with little/no information about you error. Could you please post the full output you get when building the system?
@belal-ibrahim, I would ask you next time only post the error messages and not all the warnings (either by modifiying the compiler flags at CMakeLists.txt or by only copying the error lines) to facilitate the readability of the message.
Regarding your problem, it looks like a problem when finding the file openssl/md5.h. You should first install in your system the openssl library (https://cloudwafer.com/blog/installing-openssl-on-ubuntu-16-04-18-04/). If after this, errors keep poping up, please copy us the error messages you are getting!
from orb_slam3.
Related Issues (20)
- cmake error
- How do I visualize the data after running SLAM? HOT 1
- stereo+imu can not load map HOT 2
- Tracking lost when running stereo/mono mode in EuRoC dataset HOT 1
- Error Running Stereo-Inertial with Realsense D435i
- Right camera parameter read error
- Consistent Loss in Tracking after X Frames in Imu Mono mode HOT 1
- How to output MapPoints?
- OpenCV linker errror HOT 1
- Could the version of ORBSLAM3-ROS be upgraded to ROS Noetic HOT 1
- Segmentation fault (Framebuffer with requested attributes not available.) HOT 4
- Weird Rotation HOT 1
- If I know the distance to the scene, can I use Monocular with correct scale?
- 如何增加RGBD_Inertial? HOT 2
- How can we process the .osa file generated?
- How can I obtain the optimized pose for each frame HOT 3
- SOS!!!I want to run the ROS example, but I get this error and the compilation of the build_ros.sh is error-free. HOT 1
- Stereo fisheye odometry
- i had a problem when loading atlas maps:terminate called after throwing an instance of 'boost::archive::archive_exception' what(): input stream error Aborted (core dumped)
- How to set initial pose in ORB-SLAM3 Mono HOT 4
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 orb_slam3.