MDL-SDK build error on Ubuntu 22.04 linux


I followed documentation on MDL-SDK/ at master · NVIDIA/MDL-SDK · GitHub

and upon creating a build dir, and issuing cmake … inside it, it immediately fails with:

CMake Error at CMakeLists.txt:53 (message):
No toolchain set. Please set CMAKE_TOOLCHAIN_FILE to

– Configuring incomplete, errors occurred!

I am on linux so there is no vcpkg. and the file CMakeInternalBuildConfig_Toolchain_File.cmake that is relevant from cmakefilelists.txt does not exist in the system.

I would like to build mdl-sdk for using with optix

Any ideas help or solutions greatly appreciated,
Best Regards,

actually, there is vcpkg on linux. A bit further up on the page you linked you will find the list of dependencies that need to be installed using vcpkg now. And also a link to Get started with vcpkg for some quick instructions (it’s not really installed on the system but based on a git repo).

Best Regards,