Skip to content

No module named 'custom_rasterizer':tried to complie but nvcc issue #229

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

Open
Crugsmash opened this issue Apr 29, 2025 · 0 comments
Open

Comments

@Crugsmash
Copy link

I've seen a few others addressing this but it seems my issue is unique. the build starts but a few seconds in it throws the error

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include\crt/host_config.h(153): fatal error C1189: #error:  -- unsupported Microsoft Visual Studio version! Only the versions between 2017 and 2022 (inclusive) are supported! The nvcc flag '-allow-unsupported-compiler' can be used to override this version check; however, using an unsupported host compiler may cause compilation failure or incorrect run time execution. Use at your own risk.
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.8\\bin\\nvcc.exe' failed with exit code 2

Im not sure why im getting the error, i verified that VS is up to date.

I don't know how to pass nvcc.exe the '-allow-unsupported-compiler' flag. I know im missing something oblivious, please any help would be appreciated.

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

1 participant