Skip to content

Commit

Permalink
mc/meta: evoke compile error with MDL SDK 2023.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
pablode committed Jul 9, 2024
1 parent bcd020c commit b6d0aed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ There are [prebuilt binaries](https://github.com/pablode/gatling/releases) which

Alternatively, for a full source build you need to

- download the <a href="https://developer.nvidia.com/nvidia-mdl-sdk-get-started">MDL SDK</a> (2022.0+) binaries
- download the <a href="https://developer.nvidia.com/nvidia-mdl-sdk-get-started">MDL SDK</a> 2023.0.4 binaries
- download or build <a href="https://github.com/PixarAnimationStudios/USD/tree/v24.03">USD 24.03</a> with MaterialX support

> Note: it is recommended to have NASM 2.13+ or YASM 1.2.0+ in your PATH to speed up image decoding.
Expand Down
1 change: 1 addition & 0 deletions src/mc/src/MdlNeurayLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#define MI_NEURAYLIB_LATEST_VERSION 52

static_assert(MI_NEURAYLIB_API_VERSION >= 48, "MDL SDK version is too old!");
static_assert(MI_NEURAYLIB_API_VERSION < 52, "2023.1.X MDL SDK has crash issues - use 2023.0.4 instead!");
static_assert(MI_NEURAYLIB_API_VERSION <= MI_NEURAYLIB_LATEST_VERSION, "Untested MDL SDK version!");

namespace
Expand Down

0 comments on commit b6d0aed

Please sign in to comment.