tiny-cuda-nn icon indicating copy to clipboard operation
tiny-cuda-nn copied to clipboard

Issue with installing python bindings

Open learn2phoenix opened this issue 2 years ago • 2 comments

When I try to import tinycudann I get the following error:

ImportError: */anaconda3/lib/python3.9/site-packages/tinycudann_bindings/_86_C.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr9_M_addrefEv

Could someone help, please?

The following is my build setting if it helps

-- The CXX compiler identification is GNU 11.2.0
-- The CUDA compiler identification is NVIDIA 11.7.64
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/local/stow/gcc-11.2.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Check for working CUDA compiler: /opt/common/cuda/cuda-11.7.0/bin/nvcc - skipped
-- Detecting CUDA compile features
-- Detecting CUDA compile features - done
-- Obtained CUDA architectures automatically from installed GPUs
-- Targeting CUDA architectures: 86
-- Module support is disabled.
-- Version: 9.1.1
-- Build type: RelWithDebInfo

learn2phoenix avatar Oct 13 '23 17:10 learn2phoenix

This happens with incorrect _GLIBCXX_USE_CXX11_ABI. Is your PyTorch compiled with _GLIBCXX_USE_CXX11_ABI=0 or _GLIBCXX_USE_CXX11_ABI=1?

jkulhanek avatar Mar 26 '24 09:03 jkulhanek

@learn2phoenix I unfortunatley encountered the same Error and cannot solve it. Did you by any Chance solve it?

NoctemNana avatar Apr 14 '24 20:04 NoctemNana