valeoai / POCO

[CVPR 2022] POCO: Point Convolution for Surface Reconstruction
Other
191 stars 21 forks source link

build_ext failed! #15

Open flydragon2018 opened 1 year ago

flydragon2018 commented 1 year ago

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 commented 1 year ago

I have a exactly same problem. Any solutions?

RozDavid commented 1 year ago

I think you are having problems with pykdtree structs and recent pytorch version incompatibility. This answer helped me solve the problem: https://github.com/autonomousvision/differentiable_volumetric_rendering/issues/46#issuecomment-869823496

deokhwalee commented 1 year ago

@RozDavid Thanks a lot! It worked!

aboulch commented 1 year ago

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

https://github.com/autonomousvision/differentiable_volumetric_rendering/issues/46#issuecomment-869823496

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,