forked from JiaxiongQ/surface-normal
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi, I met this error when trying to compile surface-nomal
(spconv) zlq@qh1:/mnt3/zlq/code/surface-normal-master$ python setup.py install
running install
running bdist_egg
running egg_info
writing surface_normal.egg-info/PKG-INFO
writing dependency_links to surface_normal.egg-info/dependency_links.txt
writing top-level names to surface_normal.egg-info/top_level.txt
reading manifest file 'surface_normal.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'surface_normal.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
-- pybind11 v2.9.0
-- Found PythonInterp: /home/zlq/anaconda3/envs/spconv/bin/python (found version "3.6.13")
-- Found PythonLibs: /home/zlq/anaconda3/envs/spconv/lib/libpython3.6m.so
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found CUDA: /usr/local/cuda-10.0 (found version "10.0")
-- The CUDA compiler identification is NVIDIA 10.0.130
-- Check for working CUDA compiler: /usr/local/cuda-10.0/bin/nvcc
-- Check for working CUDA compiler: /usr/local/cuda-10.0/bin/nvcc -- works
-- Detecting CUDA compiler ABI info
-- Detecting CUDA compiler ABI info - done
-- Autodetected CUDA architecture(s): 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5 7.5
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt3/zlq/code/surface-normal-master/build/temp.linux-x86_64-3.6
[ 16%] Building NVCC (Device) object CMakeFiles/surface_normal_gpu.dir/src/surface_normal_gpu_generated_surface_normal.cu.o
Scanning dependencies of target surface_normal_cpu
[ 33%] Building CXX object CMakeFiles/surface_normal_cpu.dir/src/surface_normal.cpp.o
In file included from /usr/include/c++/5/cstdint:35:0,
from /mnt3/zlq/code/surface-normal-master/src/surface_normal.cu:2:
/usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support \
^
CMake Error at surface_normal_gpu_generated_surface_normal.cu.o.Release.cmake:219 (message):
Error generating
/mnt3/zlq/code/surface-normal-master/build/temp.linux-x86_64-3.6/CMakeFiles/surface_normal_gpu.dir/src/./surface_normal_gpu_generated_surface_normal.cu.o
CMakeFiles/surface_normal_gpu.dir/build.make:63: recipe for target 'CMakeFiles/surface_normal_gpu.dir/src/surface_normal_gpu_generated_surface_normal.cu.o' failed
make[2]: *** [CMakeFiles/surface_normal_gpu.dir/src/surface_normal_gpu_generated_surface_normal.cu.o] Error 1
CMakeFiles/Makefile2:81: recipe for target 'CMakeFiles/surface_normal_gpu.dir/all' failed
make[1]: *** [CMakeFiles/surface_normal_gpu.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 50%] Linking CXX static library libsurface_normal_cpu.a
[ 50%] Built target surface_normal_cpu
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Metadata
Metadata
Assignees
Labels
No labels