Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The sample projects come with a CMake project that can be used to generate Microsoft Visual Studio 2017 solutions or Ninja projects. The toolset version to use should be Microsoft Visual Studio 2019 with the MSVC runtime version 14.2x

A matching 3ds Max SDK is needed to build the example projects. The setup needs the CMake variable 3DSMAX_SDK_ROOT set to point to the 3ds Max SDK root.

...

  1. Open command prompt in the samples directory, e.g. C:\Program Files\Chaos Group\V-Ray\3ds Max 2022\samples
  2. Execute CMake, e.g. cmake -B"C:\build\VRay3dsMax2022Samples" -H"." -G"Visual Studio 15 201716 2019" -A"x64" -T"v141v142" -D"3DSMAX_SDK_ROOT=DC:\conan\pack\Max2022SDK"

If no errors occurred, the solutions should be in the output directory specified by "-B".

...