GithubHelp home page GithubHelp logo

./build.sh about orb_slam3 HOT 7 CLOSED

uz-slamlab avatar uz-slamlab commented on June 16, 2024
./build.sh

from orb_slam3.

Comments (7)

thuliangjz avatar thuliangjz commented on June 16, 2024 1

@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.

dimaxano avatar dimaxano commented on June 16, 2024

Hi! These lines are insufficient to provide some help. Paste, please, the whole script output

from orb_slam3.

thuliangjz avatar thuliangjz commented on June 16, 2024

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.

belal-ibrahim avatar belal-ibrahim commented on June 16, 2024

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.

thuliangjz avatar thuliangjz commented on June 16, 2024

@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.

belal-ibrahim avatar belal-ibrahim commented on June 16, 2024

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.

jj-gomez avatar jj-gomez commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.