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

build_ext failed! #15

Open
flydragon2018 opened this issue Apr 20, 2023 · 4 comments
Open

build_ext failed! #15

flydragon2018 opened this issue Apr 20, 2023 · 4 comments

Comments

@flydragon2018
Copy link

File "/home/zzl/anaconda3/envs/poco/lib/python3.7/site-packages/torch/utils/cpp_extension.py", line 1683, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension

@deokhwalee
Copy link

I have a exactly same problem. Any solutions?

@RozDavid
Copy link

RozDavid commented May 8, 2023

I think you are having problems with pykdtree structs and recent pytorch version incompatibility.
This answer helped me solve the problem: autonomousvision/differentiable_volumetric_rendering#46 (comment)

@deokhwalee
Copy link

@RozDavid
Thanks a lot! It worked!

@aboulch
Copy link
Collaborator

aboulch commented Jun 15, 2023

Hello,
Following previous mentions, I updated the install instruction according to:

autonomousvision/differentiable_volumetric_rendering#46 (comment)

becoming:

CC=gcc CXX=gcc python setup_c.py build_ext --inplace
python setup.py build_ext --inplace

Tell me if that is OK.
Best,

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

4 participants