Skip to content

make.sh error #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
putama opened this issue Apr 7, 2017 · 2 comments
Closed

make.sh error #8

putama opened this issue Apr 7, 2017 · 2 comments

Comments

@putama
Copy link

putama commented Apr 7, 2017

Hi! I encounter an error when I tried to run make.sh file. It says:
gcc: error: /home/putama/Documents/faster_rcnn_pytorch/faster_rcnn/roi_pooling/src/cuda/roi_pooling.cu.o: No such file or directory Traceback (most recent call last): File "build.py", line 34, in <module> ffi.build() File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 164, in build _build_extension(ffi, cffi_wrapper_name, target_dir, verbose) File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/torch/utils/ffi/__init__.py", line 100, in _build_extension ffi.compile(tmpdir=tmpdir, verbose=verbose, target=libname) File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/cffi/api.py", line 672, in compile compiler_verbose=verbose, debug=debug, **kwds) File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/cffi/recompiler.py", line 1475, in recompile compiler_verbose, debug) File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/cffi/ffiplatform.py", line 29, in compile outputfilename = _build(tmpdir, ext, compiler_verbose, debug) File "/home/putama/PutamaLab/anaconda/lib/python2.7/site-packages/cffi/ffiplatform.py", line 65, in _build raise VerificationError('%s: %s' % (e.__class__.__name__, e)) cffi.ffiplatform.VerificationError: LinkError: command 'gcc' failed with exit status 1
Do you have any idea what's happening? Thanks

@thisismohitgupta
Copy link

error: /home/Ubuntu/Developer/fasterrcnn/faster_rcnn_pytorch-master/faster_rcnn/roi_pooling/src/cuda/roi_pooling.cu.o: No such file or directory

@putama
Copy link
Author

putama commented Apr 7, 2017

Apparently, this happened because I haven't installed nvcc. What an ignorant mistake. Sorry!

@putama putama closed this as completed Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants