Skip to content
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

failure of Compilation with command "python setup.py build develop" #900

Open
ThomaswellY opened this issue Jul 9, 2022 · 1 comment
Open

Comments

@ThomaswellY
Copy link

Dear Jian Wei
I've tried to build this project in conda envs with python3.6 and pytorch1.0.0 . But encountered failure when compiling the cuda dependencies using commands "python setup.py build develop" in lib folder.

  • Envs:

      OS: Manjaro Linux 21.2.6
      GCC version: gcc 12.1.0
      Gpu version: GeForce RTX 2050
      Pytorch version: pytorch 1.0.0 (py3.6_cuda9.0.176_cudnn7.4.1_1)
    
  • Configuration path:

      PATH=$PATH:/opt/cuda/bin:~/anaconda3/bin
      LD_LIBRARY_PATH=/opt/cuda/lib64:$LD_LIBRARY_PATH
      CUDA_HOME=/opt/cuda
    
  • Traceback:

required from here
/home/yang_hao/anaconda3/envs/faster-rcnn/lib/python3.6/site-packages/torch/lib/include/c10/util/ArrayRef.h:96:93: 警告:initializing ‘c10::ArrayRef::Data’ from ‘std::initializer_list::begin’ does not extend the lifetime of the underlying array [-Winit-list-lifetime]
error: command '/opt/cuda/bin/nvcc' failed with exit status 1

@beyond-ssf
Copy link

Same error!

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