NVIDIA / MinkowskiEngine

Minkowski Engine is an auto-diff neural network library for high-dimensional sparse tensors
https://nvidia.github.io/MinkowskiEngine
Other
2.48k stars 367 forks source link

c++ failed #381

Closed wujilingfeng closed 3 years ago

wujilingfeng commented 3 years ago

Describe the bug When I run the following command for installation pythonsetup.py install --cpu_only --blas=openblas --blas_include_dirs=${CONDA_PREFIX}/include , It goes wrong like

[2/13] c++ -MMD -MF /home/libo/Documents/python/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/libo/Documents/python/MinkowskiEngine/src/coordinate_map_manager.o.d -pthread -B /home/libo/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/libo/miniconda3/lib/python3.8/site-packages/torch/include -I/home/libo/miniconda3/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/libo/miniconda3/lib/python3.8/site-packages/torch/include/TH -I/home/libo/miniconda3/lib/python3.8/site-packages/torch/include/THC -I/home/libo/Documents/python/MinkowskiEngine/src -I/home/libo/Documents/python/MinkowskiEngine/src/3rdparty -I/home/libo/miniconda3/include -I/home/libo/miniconda3/include/python3.8 -c -c /home/libo/Documents/python/MinkowskiEngine/src/coordinate_map_manager.cpp -o /home/libo/Documents/python/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/libo/Documents/python/MinkowskiEngine/src/coordinate_map_manager.o -fopenmp -O3 -DCPU_ONLY -DTORCH_API_INCLUDE_EXTENSION_H '-DPYBIND11_COMPILER_TYPE="_gcc"' '-DPYBIND11_STDLIB="_libstdcpp"' '-DPYBIND11_BUILD_ABI="_cxxabi1011"' -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++14
FAILED: /home/libo/Documents/python/MinkowskiEngine/build/temp.linux-x86_64-3.8/home/libo/Documents/python/MinkowskiEngine/src/coordinate_map_manager.o

I was using gcc-7.5 and want to compile it for cpu.


The complete output is :

image

image

chrischoy commented 3 years ago

Please read the issue template carefully and submit again.

JiaQuan1203 commented 5 months ago

hello, could you tell me how to solve this issue? I meet same one