How to enable USD IO module build?

I saw a message regarding USD and thought I’d give it a go.

I downloaded 9.6.1, run the cmake config (no special flags)

I noticed that in the build directory, USD is not configured for building.

I tried grep’ping USD in the README and other files but could not find any mention.

Is there some flags I need to enable to get the USD IO module to be build.

I am keen to review the USD file exported via vtkUSDExporter

Kind regards

As always, enable the VTK module:

-DVTK_MODULE_ENABLE_VTK_IOUSD=WANT

Note that there is a conflict between CMake targets pegtl defined in PXR (the OpenUSD project) and VTK if you compile against a standard install of OpenUSD. To get around that, you can compile OpenUSD with the CMake options we use for ParaView’s superbuild, which you can see here.

Note that we also patch the OpenUSD source as well: https://gitlab.kitware.com/paraview/paraview-superbuild/-/blob/master/projects/patches/openusd-exported-targets.patch?ref_type=heads

1 Like

Thank you @cory.quammen , indeed, I was stuck with the pegtl issue. Thank you for the patch.