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

Build Error with OptiX 8.0 #45

Open
MBchaos opened this issue Sep 4, 2023 · 1 comment
Open

Build Error with OptiX 8.0 #45

MBchaos opened this issue Sep 4, 2023 · 1 comment

Comments

@MBchaos
Copy link

MBchaos commented Sep 4, 2023

optix7course/example11_denoiseColorOnly/SampleRenderer.cpp: In member function ‘void osc::SampleRenderer::render()’:
optix7course/example11_denoiseColorOnly/SampleRenderer.cpp:643:20: error: ‘OptixDenoiserParams’ {aka ‘struct OptixDenoiserParams’} has no member named ‘denoiseAlpha’
  643 |     denoiserParams.denoiseAlpha = OPTIX_DENOISER_ALPHA_MODE_ALPHA_AS_AOV;
      |                    ^~~~~~~~~~~~
optix7course/example11_denoiseColorOnly/SampleRenderer.cpp:643:35: error: ‘OPTIX_DENOISER_ALPHA_MODE_ALPHA_AS_AOV’ was not declared in this scope; did you mean ‘OPTIX_DENOISER_ALPHA_MODE_DENOISE’?
  643 |     denoiserParams.denoiseAlpha = OPTIX_DENOISER_ALPHA_MODE_ALPHA_AS_AOV;
      |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                   OPTIX_DENOISER_ALPHA_MODE_DENOISE

@MBchaos
Copy link
Author

MBchaos commented Sep 4, 2023

Sorry my bad, version 8.0, I was getting confused. It is not compatible, I will download a previous version.

The good news is that everything up to example 11 was built with no errors with version 8.0

@MBchaos MBchaos changed the title Build Error with OptiX 7.7 Build Error with OptiX 8.0 Sep 4, 2023
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