I complied this project with gcc-4.8. But the errors occurs in nmx-extention==0.0.0.
/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h: In member function ‘Return c10::Dispatcher::doCallUnboxed(const c10::DispatchTable&, const c10::LeftRight<ska::flat_hash_map<c10::TensorTypeId, c10::KernelFunction> >&, Args ...) const [with Return = bool; Args = {}]’:
/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h:191:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"'; file='"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-bdv9b78x/install-record.txt --single-version-externally-managed --compile --install-headers /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/include/site/python3.7/RoIAlign-extension-3D Check the logs for full command output.
Could not install custom extension custom_extensions/roi_align/3D from source due to error:
Command '['/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python', '-m', 'pip', 'install', 'custom_extensions/roi_align/3D']' returned non-zero exit status 1.
Trying to install from pre-compiled wheel.
FAILED to install custom extension custom_extensions/roi_align/3D due to Error:
[Errno 2] No such file or directory: 'custom_extensions/roi_align/3D/dist'
removed directory: ‘./build/bdist.linux-x86_64’
removed directory: ‘./build’
removed ‘./dist/RegRCNN-0.0.2-py3.6.egg’
removed ‘./dist/RegRCNN-0.0.2-py3.7.egg’
removed directory: ‘./dist’
removed ‘./RegRCNN.egg-info/SOURCES.txt’
removed ‘./RegRCNN.egg-info/PKG-INFO’
removed ‘./RegRCNN.egg-info/top_level.txt’
removed ‘./RegRCNN.egg-info/requires.txt’
removed ‘./RegRCNN.egg-info/dependency_links.txt’
removed directory: ‘./RegRCNN.egg-info’
I complied this project with gcc-4.8. But the errors occurs in nmx-extention==0.0.0.
/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h: In member function ‘Return c10::Dispatcher::doCallUnboxed(const c10::DispatchTable&, const c10::LeftRight<ska::flat_hash_map<c10::TensorTypeId, c10::KernelFunction> >&, Args ...) const [with Return = bool; Args = {}]’:
/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/lib/python3.7/site-packages/torch/include/ATen/core/dispatch/Dispatcher.h:191:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'gcc' failed with exit status 1
----------------------------------------
ERROR: Command errored out with exit status 1: /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"'; file='"'"'/tmp/pip-req-build-we5qua6l/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record /tmp/pip-record-bdv9b78x/install-record.txt --single-version-externally-managed --compile --install-headers /media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/include/site/python3.7/RoIAlign-extension-3D Check the logs for full command output.
Could not install custom extension custom_extensions/roi_align/3D from source due to error:
Command '['/media/userdisk3/gjzhao/M20/RegRCNN-master/regrcnn_env/bin/python', '-m', 'pip', 'install', 'custom_extensions/roi_align/3D']' returned non-zero exit status 1.
Trying to install from pre-compiled wheel.
FAILED to install custom extension custom_extensions/roi_align/3D due to Error:
[Errno 2] No such file or directory: 'custom_extensions/roi_align/3D/dist'
removed directory: ‘./build/bdist.linux-x86_64’
removed directory: ‘./build’
removed ‘./dist/RegRCNN-0.0.2-py3.6.egg’
removed ‘./dist/RegRCNN-0.0.2-py3.7.egg’
removed directory: ‘./dist’
removed ‘./RegRCNN.egg-info/SOURCES.txt’
removed ‘./RegRCNN.egg-info/PKG-INFO’
removed ‘./RegRCNN.egg-info/top_level.txt’
removed ‘./RegRCNN.egg-info/requires.txt’
removed ‘./RegRCNN.egg-info/dependency_links.txt’
removed directory: ‘./RegRCNN.egg-info’