NVIDIA / OptiX_Apps

Advanced Samples for the NVIDIA OptiX 7 Ray Tracing SDK
Other
283 stars 48 forks source link

Debug versions fail in VS 2019 environment #4

Closed kyamant closed 3 years ago

kyamant commented 3 years ago

Release versions work both within VS2019 and stand-alone. Debug versions fail in both cases; just a window opens then closes

droettger commented 3 years ago

I always develop in debug mode and this should not happen when following all Build and Run instructions from the README.md.

This will happen for the intro examples when they don't find the required texture image files. These need to be copied from thedata folder next to the executable. If you did that in the release mode target, you need to do that for the debug target as well.

(I'm going to add an error output when required files are not found.)

kyamant commented 3 years ago

Thanks