/home/zeal/work/others-projects/3D-CODED/nndistance
generating /tmp/tmpALHKrQ/_my_lib.c
setting the current directory to ‘/tmp/tmpALHKrQ’
running build_ext
building ‘_my_lib’ extension
creating home
creating home/zeal
creating home/zeal/work
creating home/zeal/work/others-projects
creating home/zeal/work/others-projects/3D-CODED
creating home/zeal/work/others-projects/3D-CODED/nndistance
creating home/zeal/work/others-projects/3D-CODED/nndistance/src
gcc -pthread -B /home/zeal/software/anaconda3/envs/py2.7/compiler_compat -Wl,–sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/…/…/lib/include -I/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/…/…/lib/include/TH -I/home/zeal/software/anaconda3/envs/py2.7/include/python2.7 -c _my_lib.c -o ./_my_lib.o
gcc -pthread -B /home/zeal/software/anaconda3/envs/py2.7/compiler_compat -Wl,–sysroot=/ -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/…/…/lib/include -I/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/…/…/lib/include/TH -I/home/zeal/software/anaconda3/envs/py2.7/include/python2.7 -c /home/zeal/work/others-projects/3D-CODED/nndistance/src/my_lib.c -o ./home/zeal/work/others-projects/3D-CODED/nndistance/src/my_lib.o
gcc -pthread -shared -B /home/zeal/software/anaconda3/envs/py2.7/compiler_compat -L/home/zeal/software/anaconda3/envs/py2.7/lib -Wl,-rpath=/home/zeal/software/anaconda3/envs/py2.7/lib -Wl,–no-as-needed -Wl,–sysroot=/ ./_my_lib.o ./home/zeal/work/others-projects/3D-CODED/nndistance/src/my_lib.o /home/zeal/work/others-projects/3D-CODED/nndistance/src/nnd_cuda.cu.o -L/home/zeal/software/anaconda3/envs/py2.7/lib -lpython2.7 -o ./_my_lib.so
gcc: error: /home/zeal/work/others-projects/3D-CODED/nndistance/src/nnd_cuda.cu.o: 没有那个文件或目录
Traceback (most recent call last):
File “build.py”, line 35, in 
ffi.build()
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/init.py”, line 185, in build
_build_extension(ffi, cffi_wrapper_name, target_dir, verbose)
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/torch/utils/ffi/init.py”, line 108, in _build_extension
ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname)
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/cffi/api.py”, line 697, in compile
compiler_verbose=verbose, debug=debug, **kwds)
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/cffi/recompiler.py”, line 1520, in recompile
compiler_verbose, debug)
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/cffi/ffiplatform.py”, line 22, in compile
outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
File “/home/zeal/software/anaconda3/envs/py2.7/lib/python2.7/site-packages/cffi/ffiplatform.py”, line 58, in _build
raise VerificationError(’%s: %s’ % (e.class.name, e))
cffi.error.VerificationError: LinkError: command ‘gcc’ failed with exit status 1