Autodesk / Aurora

Real-time GPU path tracing with an OpenUSD Hydra render delegate
Apache License 2.0
506 stars 31 forks source link

UsdView: Failed to load plugin ImageProcessingResolver for ImageProcessingResolverPlugin #32

Open instinct-vfx opened 11 months ago

instinct-vfx commented 11 months ago

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 <module>
    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<class pxrInternal_v0_22__pxrReserved__::ArResolver,class pxrInternal_v0_22__pxrReserved__::Ar_ResolverFactoryBase>::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.