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

install faired #68

Open
QinYcdc opened this issue Nov 26, 2024 · 4 comments
Open

install faired #68

QinYcdc opened this issue Nov 26, 2024 · 4 comments

Comments

@QinYcdc
Copy link

QinYcdc commented Nov 26, 2024

hello David,
cmake project(gpuRIR LANGUAGES CXX CUDA) ,Report an error.(learnpytorch) PS F:> pip install .\DavidDiazGuerra-gpuRIR-bd8b123
Processing f:\daviddiazguerra-gpurir-bd8b123
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: gpuRIR
Building wheel for gpuRIR (pyproject.toml) ... error
error: subprocess-exited-with-error

× Building wheel for gpuRIR (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [225 lines of output]
running bdist_wheel
running build
running build_py
copying gpuRIR_init_.py -> build\lib.win-amd64-cpython-39\gpuRIR
running egg_info
writing gpuRIR.egg-info\PKG-INFO
writing dependency_links to gpuRIR.egg-info\dependency_links.txt
writing requirements to gpuRIR.egg-info\requires.txt
writing top-level names to gpuRIR.egg-info\top_level.txt
reading manifest file 'gpuRIR.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'gpuRIR.egg-info\SOURCES.txt'
running build_ext
:28: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.22631.
CMake Error at C:/Users/QinY/AppData/Local/Temp/pip-build-env-17ewr2bb/overlay/Lib/site-packages/cmake/data/share/cmake-3.31/Modules/CMakeDetermineCompilerId.cmake:865 (message):
Compiling the CUDA compiler identification source file
"CMakeCUDACompilerId.cu" failed.

@DavidDiazGuerra
Copy link
Owner

It seems like your CMake is not able to find your NVCC compiler: https://forums.developer.nvidia.com/t/how-can-i-solve-the-bug-that-cmakecudacompilerid-cu-failed/271146

@QinYcdc
Copy link
Author

QinYcdc commented Nov 27, 2024

It seems like your CMake is not able to find your NVCC compiler: https://forums.developer.nvidia.com/t/how-can-i-solve-the-bug-that-cmakecudacompilerid-cu-failed/271146

Thank you very much for replying me in your busy schedule.
I am currently using Win11, and the highest supported version of cuda is 12.6. How should I choose the versions of cudatoolkit, pytorch, visual studio, camke and other related tools to install gpuRIR? Could you please tell me your experimental environment configuration?Or can you share some version details of related tools to successfully install gpuRIR on Windows system?

@DavidDiazGuerra
Copy link
Owner

I don't have much experience compiling CUDA stuff in Windows and I don't have any Windows PC right now where doing any testing. In any case, I don't think the CUDA version is a problem. Maybe you can try to run the command suggested here using the path to your CUDA toolkit before installing gpuRIR?

@Wizard-one
Copy link

It seems like your CMake is not able to find your NVCC compiler: https://forums.developer.nvidia.com/t/how-can-i-solve-the-bug-that-cmakecudacompilerid-cu-failed/271146

Thank you very much for replying me in your busy schedule. I am currently using Win11, and the highest supported version of cuda is 12.6. How should I choose the versions of cudatoolkit, pytorch, visual studio, camke and other related tools to install gpuRIR? Could you please tell me your experimental environment configuration?Or can you share some version details of related tools to successfully install gpuRIR on Windows system?

see this.

My nvcc --version is

nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Wed_Oct_30_01:18:48_Pacific_Daylight_Time_2024
Cuda compilation tools, release 12.6, V12.6.85
Build cuda_12.6.r12.6/compiler.35059454_0

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

3 participants