-
Notifications
You must be signed in to change notification settings - Fork 45
Using Pixar's build script on Windows
There are several prerequisites for building USD with Pixar's script found at USD/build_scripts/build_usd.py
These steps are tested with VS2015 and VS2017. Be sure you run all steps from within the VS2015/VS2017 x64 Native Tools Command Prompt. Running from within a different shell can cause difficult to trace problems.
It is a good idea to verify the success of each installation from within the x64 command prompt before proceeding to the next.
- Install CMake and make sure its on your %PATH%
- Install the 64 bit version of Python 2.7.x and Pip. When using the python.msi installer, installing pip, and putting Python in %PATH% are both options that should be selected.
- pip install PySide
- pip install jinja2
- Ensure PySide tools (in python27/scripts) are visible on %PATH%. pip probably put it there already.
- pip install pyopengl (required for usdview)
- Install NASM from http://www.nasm.us/. Make sure it's on your %PATH% in the working terminal
- Install 7-Zip, make sure 7z is on your %PATH% in the working terminal
Once the prerequisites above have been satisfied, follow the instructions in the USD readme.
https://github.com/PixarAnimationStudios/USD/#3-run-the-script
If there are issues, rerun the script with the -v flag in order to see what went wrong.
If you are going to develop your own schemas, then you will also need flex and bison. They are not required to build and use USD using only the standard schemas.
- Download & unzip win-flex and bison from https://sourceforge.net/projects/winflexbison/, put them in the %PATH%.