Closed monacv closed 3 years ago
I am installing this package as a prereq for SMPLify-X package. When I try to install, I get the following error. Could you please guide how to fix it?
(smplifyx) mona@ubuntu:mona/code/smplify-x/torch-mesh-isect$ python setup.py install running install running bdist_egg running egg_info writing mesh_intersection.egg-info/PKG-INFO writing dependency_links to mesh_intersection.egg-info/dependency_links.txt writing requirements to mesh_intersection.egg-info/requires.txt writing top-level names to mesh_intersection.egg-info/top_level.txt reading manifest file 'mesh_intersection.egg-info/SOURCES.txt' writing manifest file 'mesh_intersection.egg-info/SOURCES.txt' installing library code to build/bdist.linux-x86_64/egg running install_lib running build_py creating build/lib.linux-x86_64-3.6 creating build/lib.linux-x86_64-3.6/mesh_intersection copying mesh_intersection/__init__.py -> build/lib.linux-x86_64-3.6/mesh_intersection copying mesh_intersection/bvh_search_tree.py -> build/lib.linux-x86_64-3.6/mesh_intersection copying mesh_intersection/filter_faces.py -> build/lib.linux-x86_64-3.6/mesh_intersection copying mesh_intersection/loss.py -> build/lib.linux-x86_64-3.6/mesh_intersection running build_ext building 'bvh_cuda' extension creating mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6 creating mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6/src Emitting ninja build file mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6/build.ninja... Compiling objects... Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N) [1/2] /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c mona/code/smplify-x/torch-mesh-isect/src/bvh_cuda_op.cu -o mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14 FAILED: mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o /usr/local/cuda/bin/nvcc -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -Iinclude -I/usr/local/cuda-10.2/samples/common/inc/ -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/TH -I/home/mona/venv/smplifyx/lib/python3.6/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/mona/venv/smplifyx/include -I/usr/include/python3.6m -c -c mona/code/smplify-x/torch-mesh-isect/src/bvh_cuda_op.cu -o mona/code/smplify-x/torch-mesh-isect/build/temp.linux-x86_64-3.6/src/bvh_cuda_op.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options ''"'"'-fPIC'"'"'' -DPRINT_TIMINGS=0 -DDEBUG_PRINT=0 -DERROR_CHECKING=1 -DCOLLISION_ORDERING=1 -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=bvh_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_75,code=sm_75 -std=c++14 mona/code/smplify-x/torch-mesh-isect/src/bvh_cuda_op.cu:37:10: fatal error: double_vec_ops.h: No such file or directory #include "double_vec_ops.h" ^~~~~~~~~~~~~~~~~~ compilation terminated.
$ git clone https://github.com/vchoutas/torch-mesh-isect $ cd torch-mesh-isect $ mv include/double_vec_ops.h src/ $ pip install .
Thanks a lot to _habnabit for the help in IRC
I am installing this package as a prereq for SMPLify-X package. When I try to install, I get the following error. Could you please guide how to fix it?