Operating System:
Windows
Linux
Kit Version:
109 (Kit App Template)
107 (Kit App Template)
106 (Kit App Template)
105 (Launcher)
Kit Template:
USD Composer
USD Explorer
USD Viewer
Custom
GPU Hardware:
A series (Blackwell)
A series (ADA)
A series
50 series
40 series
30 series
GPU Driver:
Latest
Recommended (573.xx)
Other
Work Flow:
Objective
Create an extension for custom Omnigraph C++ Nodes
Test sample - OK!
Following up on this repository with omni.example.cpp.omnigraph_node example
Using the above repository directly, after building/bootstrapping and launching the kit app omni.app.kit.dev.bat seems to work (i.e. the nodes appear in Omnigraph nodes), with some minor issues of trying to drag the node to the Push Graph (e.g. Example Offset Node).
However this is not the preferred workflow, preference would be using kit-app-template version 109.0.2.
In kit-app-template, creating the extension and running .repo.bat build results in the issue mentioned in Error Code below
Somehow premake is not able to get a hold of usd, from my understanding this should be part of packman-repo already and thus its configuration to the applicable version.
And I can see different versions at repo_usd
Tried to also set the USD_ROOT environment variable the with no success, to the 3.11 and 3.12 versions.
\packman-repo\chk\usd.py312.windows-x86_64.stock.release\0.25.02.kit.8-gl.16788+c1c423f2
And also by compiling USD locally and pointing USD_ROOT to that location.
Tried as well to set [repo_usd] usd_root = “” in repo.toml with no success.
Main Issue:
premake5.lua from the omni.example.cpp.omnigraph_node seems to get into this conflict while adding ogn dependencies
add_ogn_dependencies(ogn)
Reproduction Steps:
- Clone kit-app-template version 109.0.2
- Create a kit application via repo.bat template new (so we can add a dependency of the extension to it)
- Create the omni.example.cpp.omnigraph_node extension under kit-app-template/source/extensions
- Run repo.bat build for bootstrapping
- Error
Error Code:
Selected environment: integ for app version: 109.0.2 with regex:
USD VERSION = nil # Printed the usd_ver just to verify issue
** Error: \kit-app-template_repo\deps\repo_kit_tools\kit-template\premake5-kit.lua(292): Error executing '/kit-app-template/source/extensions/omni.example.cpp.omnigraph_node: /kit-app-template/_build/windows-x86_64/release/kit/dev/premake5-usd.lua:686: attempt to compare nil with string
