Git Product home page Git Product logo

Comments (9)

joansola avatar joansola commented on June 26, 2024 1

OK now I have it.

Pre-installed gtest did not work -- maybe this could be fixed

Uninstalled ceres-solver, autodiff, gtest

cmake --> make --> OK !

All tests pass except for sgal3 which is the one I wanted to check.

Thanks.

from manif.

artivis avatar artivis commented on June 26, 2024 1

again, I think it's a ceres version issue related to local_parametrization being obsolete. What do you think?

Yeah manif doesn't support the 'new' Ceres yet (#288). If you can install an older Ceres version that would work.
Otherwise I'll see to add support for autodiff.

from manif.

joansola avatar joansola commented on June 26, 2024

The end of the cmake command gives us a clue of what is possibly going on:

 CMake Warning (dev) at test/CMakeLists.txt:37 (add_dependencies):
   Policy CMP0046 is not set: Error on non-existent dependency in
   add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
   Use the cmake_policy command to set the policy and suppress this warning.

   The dependency target "gtest" of target "gtest_misc" does not exist.
 Call Stack (most recent call first):
   test/CMakeLists.txt:53 (manif_add_gtest)
 This warning is for project developers.  Use -Wno-dev to suppress it.
 CMake Warning (dev) at test/CMakeLists.txt:37 (add_dependencies):
   Policy CMP0046 is not set: Error on non-existent dependency in
   add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
   Use the cmake_policy command to set the policy and suppress this warning.

   The dependency target "gtest" of target "gtest_rn" does not exist.
 Call Stack (most recent call first):
   test/rn/CMakeLists.txt:3 (manif_add_gtest)
 This warning is for project developers.  Use -Wno-dev to suppress it.
 CMake Warning (dev) at test/CMakeLists.txt:37 (add_dependencies):
   Policy CMP0046 is not set: Error on non-existent dependency in
   add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
   Use the cmake_policy command to set the policy and suppress this warning.

[...] // one block of this ^^^ for each target

from manif.

artivis avatar artivis commented on June 26, 2024

Could you try to also install gmock alongside gtest?

from manif.

joansola avatar joansola commented on June 26, 2024

OK what I did is uninstall gtest and run ccmake again. the option INSTALL_GTEST was then ON,, and now it works. Also, BUILD_GMOCK is now ON

from manif.

joansola avatar joansola commented on June 26, 2024

I however now have trouble with autodiff. I will also uninstall it and proceed with this minimal setup

from manif.

artivis avatar artivis commented on June 26, 2024

Don't bother with the autodiff library for now, I haven't added sgal to that set of tests. Ceres auto diff only at the moment.

from manif.

joansola avatar joansola commented on June 26, 2024

Oh, the autodiff issue is probably because I need an old version of ceres-solver, since local_parametrization is deprecated in ceres in favor of teh new Manifold class.

from manif.

artivis avatar artivis commented on June 26, 2024

Oh, the autodiff issue is probably because I need an old version of ceres-solver, since local_parametrization is deprecated in ceres in favor of teh new Manifold class.

Right, I haven't ported manif to the new Ceres framework yet.

from manif.

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.