Unity-Technologies/usd-unity-sdk

Please make stevedore binaries public

tnraddatz opened this issue · 3 comments

I've noticed a lot of reference's to "stevedore binaries" and would like to use them.

I am having significant trouble building this project locally, and making edits to it.

I'm receiving errors when following directions to build. cmake . returns, CMake Error at CMakeLists.txt:23 (message):
PXR_USD_LOCATION_PYTHON_BUILD is not set, but the artifacts file is not yet populated with:

/Users/x/workspace/usd-unity-sdk/artifacts/usd-v20.08-python36/usd-v20.08

So my assumption is having the binaries and setting the path variables prior to cmake will help resolve the issue

Stevedore is just our internal artifact server, and the binaries you've seen mentioned are just standard builds of USD using the bin/build_usd.py script, as outlined here: https://github.com/Unity-Technologies/usd-unity-sdk/blob/dev/BUILDING.md#building-usd
You should set the path to the directory that contains the 2 flavours of USD (python and no python) by passing the --library_path argument to the bin/build.py script, which will set the PXR_USD_LOCATION and PXR_USD_LOCATION_PYTHON_BUILD cmake variables. We do not recommend invoking cmake directly.
The build script expects the path passed as --library-path to have the following file structure:

  • --library-path <path/to/artifacts>
    • usd-v20.08-python36
      • usd-v20.08
      • usd-v20.08_no_python

This documentation isn't the clearest, we will update it to reflect this better and to remove references to the USD_LOCATION environment variable which is incorrect :)

Closing for now, please re-open if you encounter further issues