Commit b0942a5
Fix Windows DLL loading issue in Python verification
Add lib directory to PATH in Windows setup scripts to fix DLL loading.
Problem:
- Windows Python verification was failing with "DLL load failed"
- The lteusd_ms.dll is located in dist-minsizerel-ms\lib\
- Windows needs DLLs to be in a directory that's in PATH
Solution:
- Update 05-setup-env.bat to include lib directory in PATH
- Update 05-setup-env-minsizerel.bat to include lib directory in PATH
- Now PATH includes both bin and lib directories
Changes:
- 05-setup-env.bat: Add %USD_INSTALL_DIR%\lib to PATH
- 05-setup-env-minsizerel.bat: Add %USD_INSTALL_DIR%\lib to PATH
This fixes the ImportError when running:
python -c "from pxr import Usd; print(Usd.GetVersion())"
Co-Authored-By: Claude Sonnet 4.5 <[email protected]>1 parent 334b469 commit b0942a5
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
| 81 | + | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
| 73 | + | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
0 commit comments