Git Product home page Git Product logo

Comments (4)

charleshamesse avatar charleshamesse commented on May 30, 2024 1

I've fixed this compilation error by editing L28 of cuda_coarse_tracker.cpp:
replace typedef Sophus::SE3<double> SE3; by typedef Sophus::SE3d SE3;

from tandem.

lkskstlr avatar lkskstlr commented on May 30, 2024

Hi @autohtc92,

I think make is using the wrong Sophus version for building. We have an older version of Sophus in the thirdparty folder that should be used (https://github.com/tum-vision/tandem/tree/master/tandem/thirdparty/Sophus). You build seems to use a local version: /usr/local/include/sophus/so3.hpp:7. If you switch to the one in third party it should work.

Best
Lukas

from tandem.

autohtc92 avatar autohtc92 commented on May 30, 2024

hi, @lkskstlr
Thank for your apply,
actually I have tried the version in thirdparty, but got below error:

[ 15%] Building CUDA object libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker_private.cu.o
/home/hutiancheng/project/tandem/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker.cpp:28:9: error: ‘Sophus::SE3 {aka Sophus::SE3Group}’ is not a template
typedef Sophus::SE3 SE3;
^~~~~~
/home/hutiancheng/project/tandem/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker.cpp:28:29: warning: ‘Sophus::SE3’ is deprecated [-Wdeprecated-declarations]
typedef Sophus::SE3 SE3;
^~~
In file included from /home/hutiancheng/project/tandem/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker.cpp:6:0:
/usr/local/include/sophus/se3.hpp:35:26: note: declared here
typedef SE3Group SE3 EIGEN_DEPRECATED;
^~~
libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/build.make:79: recipe for target 'libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker.cpp.o' failed
make[2]: *** [libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:298: recipe for target 'libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/all' failed
make[1]: *** [libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 16%] Building NVCC intermediate link file libdr/dr_fusion/CMakeFiles/dr-fusion.dir/dr-fusion_intermediate_link.o
[ 18%] Building CXX object libdr/dr_fusion/CMakeFiles/dr-fusion.dir/src/dr_fusion/dr_fusion.cpp.o
[ 20%] Linking CXX static library lib/libdr-fusion.a
[ 20%] Built target dr-fusion
[ 22%] Linking CXX static library lib/libdr-mvsnet.a
[ 22%] Built target dr-mvsnet
Makefile:100: recipe for target 'all' failed
make: *** [all] Error 2

I don't know why.

from tandem.

autohtc92 avatar autohtc92 commented on May 30, 2024

@charleshamesse
Thanks, it worked!

from tandem.

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.