Peng_DU
December 12, 2022, 10:00am
1
Was fallowing cycles/BUILDING.md at master · blender/cycles (github.com) .
ERROR: Usdview encountered an error while updating selection.
Error in ‘pxrInternal_v0_22__pxrReserved__::PlugPlugin::_Load’ at line 258 in file E:\dp\Sft\3D\USD\pxr\base\plug\plugin.cpp : ‘Failed to load plugin ‘hdCycles’: ???
in ‘e:/dp/Sft/3D/Blender/Cycles/cycles/install/hydra/hdCycles.dll’’
brecht
December 12, 2022, 2:26pm
2
Is that the complete error log, or is there any more detailed information? Does that dll file exist?
Peng_DU
December 13, 2022, 1:35am
3
That was the 1st error, the rest is basically the same, just when trying to render.
dsoError.c_str() was shown as ???, due to language issue ?
The ??? should be “The specified module could not be found ”.
Sure the DLL exists,
either in E:\dp\Sft\3D\USD_Build\plugin\usd,
or in PXR_PLUGINPATH_NAME which is cycles\install\hydra
The plugin name is shown:
Failed to load plugin ‘%s’
_name.c_str()
Peng_DU
December 13, 2022, 8:52am
4
cycles\install\hydra
hdCycles\resources\plugInfo.json
hdCycles.dll
plugInfo.json
Cycles tells us to use PXR_PLUGINPATH_NAME=/install/hydra.
While hdTiny (really works) tells us to use the “resources” folder .
resources\plugInfo.json is also quite strange, …/hdCycles.dll needs to be …/…/hdCycles.dll?
Peng_DU
December 16, 2022, 1:47am
5
Was missing some paths for dependent DLLs, fixed.