zju3dv / Vox-Fusion

Code for "Dense Tracking and Mapping with Voxel-based Neural Implicit Representation", ISMAR 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to build `sparse_octree` and `sparse_voxels` on system with `ninja` installed

TomCC7 opened this issue · comments

commented

The reason is that torch will use ninja to build if it's installed and caused a header path issue. To solve the issue, replacing the line in third_party/sparse_octree/setup.py and third_party/sparse_voxels/setup.py

    cmdclass={
        'build_ext': BuildExtension
    }

with

    cmdclass={
        'build_ext': BuildExtension.with_options(use_ninja=False)
    }