UsdView: Failed to load plugin ImageProcessingResolver for ImageProcessingResolverPlugin
- Dominant language
- C++
- Stars
- 620
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
i just gave compiling Aurora a first try on Windows using VS2022. I followed the step by step tutorial and building went fine. I can also load Plasma fine.
Now i wanted to try usdview with the delegate. I also followed the steps outlined in the docs. But when trying to load a usd with usdview i get the following error:
```
Traceback (most recent call last):
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\usdview", line 35, in
Usdviewq.Launcher().Run()
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 85, in Run
self.__LaunchProcess(arg_parse_result)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 353, in __LaunchProcess
(app, appController) = self.LaunchPreamble(arg_parse_result)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\__init__.py", line 343, in LaunchPreamble
appController = AppController(arg_parse_result, contextCreator)
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\appController.py", line 449, in __init__
stage = self._openStage(
File "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python\pxr\Usdviewq\appController.py", line 1217, in _openStage
if not Ar.GetResolver().Resolve(usdFilePath):
pxr.Tf.ErrorException:
Error in 'pxrInternal_v0_22__pxrReserved__::PlugPlugin::_Load' at line 258 in file C:\dev\github\Autodesk\Aurora\externals\src\USD-22.08-Aurora-v22.11\pxr\base\plug\plugin.cpp : 'Failed to load plugin 'ImageProcessingResolver': The specified procedure could not be found.
in 'c:/dev/github/Autodesk/Aurora/Build/bin/Release/usd/imageProcessingResolver.dll''
Error in 'pxrInternal_v0_22__pxrReserved__::`anonymous-namespace'::_PluginResolver::Create' at line 337 in file C:\dev\github\Autodesk\Aurora\externals\src\USD-22.08-Aurora-v22.11\pxr\usd\ar\resolver.cpp : 'Failed to load plugin ImageProcessingResolver for ImageProcessingResolverPlugin'
```
I wonder if i have set up PATHs wrong or something similar? I created a set_env.ps1 to set up the env variables as follows:
```
$env:PATH = "C:\dev\github\Autodesk\Aurora\Build\bin\Release;C:\dev\github\Autodesk\Aurora\Build\bin\Release\usd;$env:PATH"
$env:PYTHONPATH = "C:\dev\github\Autodesk\Aurora\Build\bin\Release\python"
```
Any pointers would be greatly appreciated.
Contributor guide
Research direction
Start by reproducing the failure with usdview after running the shown set_env.ps1 environment setup. Read the traceback entry points in pxr/Usdviewq/__init__.py, pxr/Usdviewq/appController.py, and the plugin-loading paths identified in plugin.cpp and resolver.cpp. Done means usdview loads a USD file without the ImageProcessingResolver plugin error on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100