POCO icon indicating copy to clipboard operation
POCO copied to clipboard

build_ext failed!

Open flydragon2018 opened this issue 1 year ago • 4 comments

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

flydragon2018 avatar Apr 20 '23 02:04 flydragon2018

I have a exactly same problem. Any solutions?

deokhwalee avatar May 08 '23 07:05 deokhwalee

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

RozDavid avatar May 08 '23 14:05 RozDavid

@RozDavid Thanks a lot! It worked!

deokhwalee avatar May 09 '23 01:05 deokhwalee

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,

aboulch avatar Jun 15 '23 13:06 aboulch