Autodesk / Aurora

Real-time GPU path tracing with a USD Hydra render delegate
Apache License 2.0
473 stars 30 forks source link

"DLL load failed" when deploying to existing USD build. #20

Closed Latimerias closed 11 months ago

Latimerias commented 1 year ago

I tried building USD with the deployHdAurora.py script but was getting "DLL load failed while importing _tf". reading issue 11 led me to believe that it was a python error so i did a new USD build with python and usdview was working fine. However, when i went to go deploy Aurora using deployHdAurora.py to the new build and try to run usdview it now gives me the error "DLL load failed while importing _usdImagingGL". I then added Aurora/Build\bin\Release to my PATH env and am now getting "DLL load failed while importing _tf" error again.

I have only 1 version of USD built, and my PATH envs are set to USD/bin and USD/lib and my PYTHONPATH envs are set to USD\lib\python .

The full message is

File "E:\Programs\USD\bin\usdview", line 28, in <module>
    import pxr.Usdviewq as Usdviewq

  File "E:\Programs\USD\lib\python\pxr\Usdviewq\__init__.py", line 27, in <module>
    from pxr import Tf

  File "E:\Programs\USD\lib\python\pxr\Tf\__init__.py", line 163, in <module>
    PreparePythonModule()

  File "E:\Programs\USD\lib\python\pxr\Tf\__init__.py", line 88, in PreparePythonModule
    module = importlib.import_module(

  File "C:\Users\choim\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)

ImportError: DLL load failed while importing _tf: The specified procedure could not be found.
andy-shiue-autodesk commented 1 year ago

Hi Joshua, we are working on improving the HdAurora deployment. We are aiming for a March release to resolve some HdAurora deployment issues you and other users encountered. Hopefully, your issue will be resolved with our changes.

Latimerias commented 1 year ago

Great! thanks for the update.

andy-shiue-autodesk commented 1 year ago

Hi @Latimerias, Do you still have the dll issue with our recent releases? If it works for you now, I am going to close the ticket.