tum-vision / tandem

[CoRL 21'] TANDEM: Tracking and Dense Mapping in Real-time using Deep Multi-view Stereo
912 stars 146 forks source link

make error #18

Open wtpro opened 2 years ago

wtpro commented 2 years ago

Consolidate compiler generated dependencies of target dr-mvsnet [ 1%] Building CUDA object libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker_private.cu.o [ 3%] Building CXX object libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker.cpp.o Consolidate compiler generated dependencies of target dr-fusion [ 7%] Built target dr-mvsnet [ 8%] Linking CXX static library lib/libdr-fusion.a [ 10%] Building CXX object libdr/dr_mvsnet/CMakeFiles/dr_mvsnet_test.dir/src/dr_mvsnet_test.cpp.o [ 25%] Built target dr-fusion /home/tongwu/Desktop/tandem-master/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker.cpp:6:10: fatal error: sophus/se3.hpp: No such file or directory

include <sophus/se3.hpp>

      ^~~~~~~~~~~~~~~~

compilation terminated. libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/build.make:75: 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.... /home/tongwu/Desktop/tandem-master/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker_private.cu:5:10: fatal error: cub/block/block_reduce.cuh: No such file or directory

include <cub/block/block_reduce.cuh>

      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~

compilation terminated. libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/build.make:89: recipe for target 'libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker_private.cu.o' failed make[2]: [libdr/cuda_coarse_tracker/CMakeFiles/cuda_coarse_tracker.dir/src/cuda_coarse_tracker_private.cu.o] Error 1 CMakeFiles/Makefile2:274: 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.... [ 26%] Linking CXX executable bin/dr_mvsnet_test [ 26%] Built target dr_mvsnet_test Makefile:90: recipe for target 'all' failed make: [all] Error 2

it looks like cmake does not recognize the location of cub/block/block_reduce.cuh and sophus/se3.hpp Any idea how I can solve this problem?