Replies: 3 comments 4 replies
-
Hi @abribanez, All the instances of this issue in the past were related to the fact that one compiled USD without A few things for you to try:
FWIW. I will convert this issue to discussion since for now there is nothing actionable for us. Cheers, |
Beta Was this translation helpful? Give feedback.
-
@abribanez the pySide2 issue is very likely to be due to the python version you have. one way to get around it is to use mayapy instead of python - since it does have PySide2 built. assuming your PYTHONPATH is set properly, you should be able to call something like this: where [C:\temp.usd] is your usd File to be opened. not the most elegant way - but it would at least get you using the usdview that comes packaged with 0.6.0 :) |
Beta Was this translation helpful? Give feedback.
-
As you pointed out, in order to run usdview, you need to have both the USD lib and bin folder in your path and the USD lib/python folder in your python path. You use your custom built USD or the one provided with the MayaUsd install. You also need to have PyOpenGL installed into your python. So if you want to use mayapy, make sure you add PyOpenGL to it. |
Beta Was this translation helpful? Give feedback.
-
Describe the issue
Hi all!
I'm trying to build maya-usd for Maya 2020 but I keep getting
Cannot open include file: 'pthread.h'
in the logs and I haven't had any luck finding a solution in other tickets/issue-threads. Any help would be greatly appreciated. Cheers!Build log
build_log.txt
CMakeOutput.log
CMakeError.log
Specs:
Additional context
Repro for USD build:
git clone https://github.com/PixarAnimationStudios/USD.git
git checkout v20.11
python build_scripts\build_usd.py "C:\USD" --build-args boost,"--with-date_time --with-thread --with-system --with-filesystem"
Repro for maya-usd build (errors):
git clone https://github.com/Autodesk/maya-usd.git
git checkout v0.5.0
python build.py --maya-location "C:\Program Files\Autodesk\Maya2020" --pxrusd-location C:\USD --devkit-location C:\devkitBase C:\workspace -v 3
I tried using
--generator "Visual Studio 15 2017 Win64"
, or--generator "Ninja"
(pointing args to ninja.exe), or using the-DBUILD_STRICT_MODE=OFF
, but it looked like I had the same result in all cases.Again, I would greatly appreciate any help that you could provide me. Cheers! :)
Beta Was this translation helpful? Give feedback.
All reactions