Hey! I’m trying to build the ayon-usd-resolver for resolving paths in houdini
https://docs.ayon.dev/ayon-usd-resolver/md_md_Getting_Started.html
following the above link, I got struck and no clue on the below lines,Just wondering what is the build_conf.yaml. should I have to create it? what should contain inside?:
--setVars '{"BuildConf":"$HOME/Documents/build_conf.yaml"} ```
Note: We taking advantage of relative paths for cross OS platform rendering, but our files are stored in multiple storage boxes, so we thinking asset resolver is the way to resolve all USD paths
Hey,
When the recent build system was implemented, I made this tiny documentation on its PR here.
Let me quote it here:
Disclaimer
You can use the build system to build AYON USD Resolver on your end. However, due to the fact this is a technical process, it’s recommended to rely on the Binary Distrbution setting in the AYON USD addon which downloads builds from our LakeFs Repo. we provide two builds one for linux and one for windows.
AYON USD Resolver Build Steps
- Create your
build_conf.yaml
. you can name it what you want. In my example, I’ve added it directly inside my ayon-usd-resolver
clone folder.
- Specify desired targets to build in your
build_conf.yaml
. In my example, I’m going with AyonUsd_Windows
and Houdini195_Py39_Windows
# AYON
AyonUsd_Windows:
COMPILEPLUGIN: "AyonUsdWin/AyonUsd23_5_Py39_Win"
AyonUsdRoot: "H:\\USDROOT\\usd-24.03_win64_py39\\23.04" # path to the downloaded USD build.
# Houdini
Houdini195_Py39_Windows:
COMPILEPLUGIN: "HouWin/Houdini195_Py39_Win"
HFS: "C:\\Program Files\\Side Effects Software\\Houdini 19.5.805" # path to my Houdini 19.5.805 install directory.
- Checkout the develop branch, pull updates and update the submodules
git checkout develop
git pull origin develop
git submodule update --init --recursive
- Setup & Build
python Project.py --setup
python Project.py --runStageGRP "Generate Release" --setVars {\"BuildConf\":\"build_conf.yaml\"}