-
Notifications
You must be signed in to change notification settings - Fork 45
MacOS, using Pixar's script
Nick Porcino edited this page May 12, 2020
·
1 revision
The Pixar build script (https://github.com/PixarAnimationStudios/usd#getting-and-building-the-code) is a quick and easy way to get an out of the box USD build going using official distributions of the various dependencies.
As a brief addendum to those instructions, homebrew is one way to install an update to cmake.
brew install cmake
Use sudo pip to install necessary python libraries.
sudo pip install pyside2
sudo pip install pyopengl
Assuming we'd like to build from ~/Projects/Pixar/USD, and build to ~/Projects/Pixar/BUILD/USD follow these steps.
cd ~
mkdir Projects
cd Projects
mkdir Pixar
cd Pixar
git clone https://github.com/PixarAnimationStudios/USD
Run the build_usd.py build script
python ~/Projects/Pixar/USD/build_scripts/build_usd.py -v ~/Projects/Pixar/BUILD/USD
If the build succeeded, the build script will emit the variables and settings you need to to run USD. Go ahead and set those variables.
And test:
usdview ~/Projects/Pixar/USD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda