Comments (4)
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.
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.
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.
@charleshamesse
Thanks, it worked!
from tandem.
Related Issues (20)
- RuntimeError: Freezing is currently only implemented for modules for modules in eval mode
- Why there are differences between EuRoC dataset and EuRoC_Tandem_format's camera intrinsic?
- About TSDF Fusion
- cnpy error when i install HOT 2
- Segmentation fault HOT 1
- Saving sparse reconstruction
- cmake error HOT 20
- Install Sophus from thirdparty folder,but compile error HOT 2
- got error when i make the project,the error log as follows HOT 1
- segment fault(core dumped) without any error HOT 1
- How to convert ICL-NUIM to tandem format? HOT 2
- can't find some function in glew when compile tandem_dataset
- Convention of the Coordiante System / Representation of Poses HOT 2
- Illegal instruction (core dumped)
- make error "undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'"
- How to generate scale.txt and tuples_dso_optimization_windows.txt files for custom data? HOT 7
- How do I properly modify the fusion options given scenes with dramatically different depth?
- How to handle scale?
- /home/nuc/Documents/SLAM/DenseReconstruct/tandem-master/tandem/src/OptimizationBackend/EnergyFunctional.cpp:315: void dso::EnergyFunctional::resubstituteFPt(const VecCf&, dso::Mat18f*, int, int, dso::Vec10*, int): Assertion `std::isfinite(p->data->step)' failed. HOT 1
- error when running tracking_euroc.sh
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 tandem.