Pixar-USD 安装趟坑
Issues
- 编译
- Requirement
- windows
- official usd-windows
- reference usd on win10
- 依赖, PySide需要用pip安装
PyOpenGL 3.1.6 conda PyQt5 5.15.7 conda PySide2 5.15.5 conda PySide6 6.3.1 pip
- 安裝目录不要使用空格
python USD\build_scripts\build_usd.py "C:\Program Files\USD" ❌ python USD\build_scripts\build_usd.py "C:\USD"✔️
- windows
- Requirement
- 运行
- 数据kitchen_set
- 启动脚本,创建
\usd\usd.cmd
```bat @echo off
pushd %~dp0 set USD_INSTALL_ROOT=%CD% popd
setlocal
set PATH=%USD_INSTALL_ROOT%\lib;%PATH% set PATH=%USD_INSTALL_ROOT%\bin;%PATH% set QT_DEBUG_PLUGINS=1 set PYTHONPATH=%USD_INSTALL_ROOT%\lib\python;%PYTHONPATH% set QT_QPA_PLATFORM_PLUGIN_PATH=C:\ProgramData\Anaconda3\envs\USD-37\Lib\site-packages\PyQt5\Qt5\plugins\platforms
set PXR_PLUGINPATH_NAME=%PXR_PLUGINPATH_NAME%;%USD_INSTALL_ROOT%\share\usd\plugins
%*
endlocal ```
usd.cmd usdview C:\workspace\workspace_3d\Kitchen_set\Kitchen_set.usd
- issue
Could not find the Qt platform plugin "windows" in ""
- add
set QT_QPA_PLATFORM_PLUGIN_PATH=C:\ProgramData\Anaconda3\envs\USD-37\Lib\site-packages\PyQt5\Qt5\plugins\platforms
- add
The plugin 'xxx.dll' uses incompatible Qt library.
- copy
site-packages\PySide6\plugins\platforms
tosite-packages\PyQt5\Qt5\plugins\platforms
- copy
- issue