Giter Club home page Giter Club logo

Comments (10)

cumtchenchang avatar cumtchenchang commented on May 10, 2024 1

Thank you for your answer. DBoW2-v1.1-free was used in my system. I used the latest code and solved the error. In addition, I find a little error with gcc-5.4.
Kimera-VIO/tests/testStereoVisionFrontEnd.cpp:401:38: error: ‘isnan’ was not declared in this scope
EXPECT_TRUE(isnan(s.second.uR()));
Replace isnan with std::isnan will be more robust.

from kimera-vio.

ToniRV avatar ToniRV commented on May 10, 2024

@yunzc did you see this error before?

from kimera-vio.

yunzc avatar yunzc commented on May 10, 2024

Hi @cumtchenchang could you tell us what versions of gtsam and opengv you are using and also the cmake configurations for gtsam? Another thing that might be worth trying is to toggle the march-native flag in gtsam, seems like it causes some problems for gtest on some systems

from kimera-vio.

cumtchenchang avatar cumtchenchang commented on May 10, 2024

@yunzc GTSAM = 4.0, opengv=1.0. cmake3.14 for gtsam. I will try your suggestion. Thank you.

from kimera-vio.

ToniRV avatar ToniRV commented on May 10, 2024

@cumtchenchang any update? We haven't been able to reproduce your issue.

from kimera-vio.

ToniRV avatar ToniRV commented on May 10, 2024

Closing for now.

from kimera-vio.

marcusabate avatar marcusabate commented on May 10, 2024

@cumtchenchang if this is still an issue, try the latest master.

Also, try installing the libparmetis-dev package (sudo apt-get install libparmetis-dev). We were able to reproduce a similar error, which was solved by installing this dependency.

Updated installation instructions in 69519e5.

from kimera-vio.

cumtchenchang avatar cumtchenchang commented on May 10, 2024

@ToniRV Thank you for your suggestion, the original issue is still on. Because of China's National Day, I am sorry that I did not update in time. I will follow @marcusabate 's suggestion and update it soon. Thank you.

from kimera-vio.

cumtchenchang avatar cumtchenchang commented on May 10, 2024

@marcusabate Thank you for your help. I followed your suggestion and solved the original issue. But a new error occurred.
~/test/Kimera-VIO/build$ make
[ 9%] Built target gflags
[ 19%] Built target glog
[ 58%] Built target KimeraVIO
[ 59%] Linking CXX executable stereoVIOEuroc
libKimeraVIO.so: undefined reference to DUtils::Random::RandomInt(int, int)' libKimeraVIO.so: undefined reference to DUtils::Random::SeedRandOnce()'
collect2: error: ld returned 1 exit status
CMakeFiles/stereoVIOEuroc.dir/build.make:143: recipe for target 'stereoVIOEuroc' failed
make[2]: *** [stereoVIOEuroc] Error 1
CMakeFiles/Makefile2:458: recipe for target 'CMakeFiles/stereoVIOEuroc.dir/all' failed
make[1]: *** [CMakeFiles/stereoVIOEuroc.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2

In addition, I checked dependencies by
sudo apt-get install -y --no-install-recommends apt-utils
sudo apt-get install -y cmake.
However, the error is still on. Thank you.

from kimera-vio.

marcusabate avatar marcusabate commented on May 10, 2024

@cumtchenchang good to hear the suggestion worked, at least partly.

DUtils::Random::RandomInt comes from the DLib library which was once a dependency of DBoW2. Since Kimera uses DBoW2 for loop closure detection, you're seeing the missing dependency there.

However, The DLib dependency was removed from DBoW2 a while back in this commit.

I'm guessing you may have an older version of DBoW2 installed that is still inking to the DLib library. Can you tell me what commit you are using on DBoW2 and that DLib is not referenced in the CMakeLists.txt of your local clone of DBoW2?

from kimera-vio.

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.