castacks / DytanVO

[ICRA'23] DytanVO: Visual Odometry in Dynamic Environments
BSD 3-Clause "New" or "Revised" License
173 stars 20 forks source link

Header file missing while compiling the DCN network #22

Open RandyChen233 opened 7 months ago

RandyChen233 commented 7 months ago

Hi,

It looks like one of the header files required for compiling the DCN network is missing. When I ran the compilation

cd Network/rigidmask/networks/DCNv2/; python setup.py install; cd -

I got the following error:

/mnt/c/Users/Randy/projects/DytanVO/Network/rigidmask/networks/DCNv2/DCN/src/cpu/dcn_v2_cpu.cpp:8:10: fatal error: TH/TH.h: No such file or directory
    8 | #include <TH/TH.h>
      |          ^~~~~~~~~
compilation terminated.
error: command '/usr/bin/gcc' failed with exit code 1
/mnt/c/Users/Randy/projects/DytanVO