Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build sparse_octree and sparse_voxels on system with ninja installed #34

Open
TomCC7 opened this issue Mar 7, 2023 · 0 comments

Comments

@TomCC7
Copy link

TomCC7 commented Mar 7, 2023

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)
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant