我在运行sh compile_op.sh时遇到下列错误,请问该怎么做
running install
running build
running build_ext
cythoning knn.pyx to knn.cpp
/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive ‘language_level’ not set, using 2 for now (Py2). This will change in a later release! File: /home/nvidia/anaconda3/envs/randlanet2/RandLA-Net-master/utils/nearest_neighbors/knn.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
building ‘nearest_neighbors’ extension
creating build
creating build/temp.linux-x86_64-3.5
gcc -pthread -B /home/nvidia/anaconda3/envs/randlanet2/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include -I/home/nvidia/anaconda3/envs/randlanet2/include/python3.5m -c knn.cpp -o build/temp.linux-x86_64-3.5/knn.o -std=c++11 -fopenmp
**
**
In file included from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from knn.cpp:612:
/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " “#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^
gcc -pthread -B /home/nvidia/anaconda3/envs/randlanet2/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I./ -I/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include -I/home/nvidia/anaconda3/envs/randlanet2/include/python3.5m -c knn_.cxx -o build/temp.linux-x86_64-3.5/knn_.o -std=c++11 -fopenmp
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from knn_.cxx:6:0:
KDTreeTableAdaptor.h: In instantiation of ‘KDTreeTableAdaptor
knn_.cxx:28:40: required from here
KDTreeTableAdaptor.h:131:19: warning: ‘KDTreeTableAdaptor
const TableType* m_data;
^
KDTreeTableAdaptor.h:129:9: warning: ‘size_t KDTreeTableAdaptor
size_t dim;
^
KDTreeTableAdaptor.h:134:2: warning: when initialized here [-Wreorder]
KDTreeTableAdaptor(const size_t npts, const size_t dim, const TableType* mat,
^
creating build/lib.linux-x86_64-3.5
g++ -pthread -shared -L/home/nvidia/anaconda3/envs/randlanet2/lib -B /home/nvidia/anaconda3/envs/randlanet2/compiler_compat -Wl,-rpath=/home/nvidia/anaconda3/envs/randlanet2/lib,–no-as-needed build/temp.linux-x86_64-3.5/knn.o build/temp.linux-x86_64-3.5/knn_.o -o build/lib.linux-x86_64-3.5/nearest_neighbors.cpython-35m-x86_64-linux-gnu.so -std=c++11 -fopenmp
running install_lib
creating lib
creating lib/python
copying build/lib.linux-x86_64-3.5/nearest_neighbors.cpython-35m-x86_64-linux-gnu.so -> ./lib/python
running install_egg_info
Writing ./lib/python/KNN_NanoFLANN-0.0.0-py3.5.egg-info
running build_ext
building ‘grid_subsampling’ extension
Warning: Can’t read registry to find the necessary compiler setting
Make sure that Python modules winreg, win32api or win32con are installed.
C compiler: gcc -pthread -B /home/nvidia/anaconda3/envs/randlanet2/compiler_compat -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
creating build
creating build/temp.linux-x86_64-3.5
creating build/temp.linux-x86_64-3.5/cpp_wrappers
creating build/temp.linux-x86_64-3.5/cpp_wrappers/cpp_utils
creating build/temp.linux-x86_64-3.5/cpp_wrappers/cpp_utils/cloud
creating build/temp.linux-x86_64-3.5/grid_subsampling
compile options: ‘-I/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include -I/home/nvidia/anaconda3/envs/randlanet2/include/python3.5m -c’
extra options: ‘-std=c++11 -D_GLIBCXX_USE_CXX11_ABI=0’
gcc: wrapper.cpp
gcc: …/cpp_utils/cloud/cloud.cpp
gcc: grid_subsampling/grid_subsampling.cpp
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
In file included from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/ndarraytypes.h:1822:0,
from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/ndarrayobject.h:12,
from /home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/arrayobject.h:4,
from wrapper.cpp:2:
/home/nvidia/anaconda3/envs/randlanet2/lib/python3.5/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " “#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION” [-Wcpp]
#warning "Using deprecated NumPy API, disable it with "
^
grid_subsampling/grid_subsampling.cpp: In function ‘void grid_subsampling(std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, std::vector&, float, int)’:
grid_subsampling/grid_subsampling.cpp:99:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < ldim; i++)
^
wrapper.cpp: In function ‘PyObject* grid_subsampling_compute(PyObject*, PyObject*, PyObject*)’:
wrapper.cpp:70:98: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
[] = {“points”, “features”, “classes”, “sampleDl”, “method”, “verbose”, NULL };
^
g++ -pthread -shared -L/home/nvidia/anaconda3/envs/randlanet2/lib -B /home/nvidia/anaconda3/envs/randlanet2/compiler_compat -Wl,-rpath=/home/nvidia/anaconda3/envs/randlanet2/lib,–no-as-needed build/temp.linux-x86_64-3.5/cpp_wrappers/cpp_utils/cloud/cloud.o build/temp.linux-x86_64-3.5/grid_subsampling/grid_subsampling.o build/temp.linux-x86_64-3.5/wrapper.o -o /home/nvidia/anaconda3/envs/randlanet2/RandLA-Net-master/utils/cpp_wrappers/cpp_subsampling/grid_subsampling.cpython-35m-x86_64-linux-gnu.so