Ok I figured that out kinda.
I stepped back from the open-usd template approach and used the ./repo.sh usd setup with the usd plugin config in the repo.toml.
I used kit-app-template which had the right kit dependecies and went on from there
and made sure I’m compiling with v142 toolset. For linux it did not really matter which tooling to use but I needed to make sure I use the C++11 ABI compile flags
e.g.
cd ./_build_plugin
cmake -G "Visual Studio 17 2022" -T v142 ..
Build and compiled everything with cmake tooling
and the extension required an init file
from pxr import Plug
import os
pluginsRoot = os.path.join(os.path.dirname(__file__), "../../plugins")
schemaPath = os.path.join(pluginsRoot, "resources")
Plug.Registry().RegisterPlugins(schemaPath)
For some reason I was not able to do something like a nested module for the schema lib.
module_dir = "test/schema/abc"
always put the init file of the plugin at the wrong place and a module test.schema.abx._abc could not be found
Maybe I missed a tutorial anywhere but to figure this out I had to study the _repo/deps/repo_usd/README.md and compile IsaacSim 5.0 to figure out how RobotSchema and its internal schemas were built