VFX-UsdAssetResolver icon indicating copy to clipboard operation
VFX-UsdAssetResolver copied to clipboard

Compiling for Maya 2025.3, maya usd 0.30.0 on Windows

Open dovanbel opened this issue 8 months ago • 5 comments

Hi @LucaScheller

I'm trying to compile the cachedResolver v0.7.4 for Maya 2025.3, with the Maya-Usd plugin 0.30.0 (which uses USD version 23.11) on Windows

I'm using the batch file from your repo and I have MS Visual Studio 2022 (v17.13.2). The compiling process works with no errors and the expected files are all exported, but I can't make it work in Maya. I was able to compile past versions (for Maya 2025.2)

Doing : from usdAssetResolver import CachedResolver results in

# Error: ImportError: file C:\Program Files\Autodesk\Maya2025\Python\Lib\importlib\__init__.py line 126: DLL load failed while importing _cachedResolver: The specified module could not be found.

If you have some time, could you check this, it would be much appreciated, as always

Regards Donat Van Bellinghen

dovanbel avatar Mar 06 '25 21:03 dovanbel

I just compiled the cachedResolver for Maya-Usd plugin 0.31.0, with the same result

donat666 avatar Mar 08 '25 17:03 donat666

Hey, sorry I don't own a copy of Maya, so I can't actually debug this.

Do previous compiles still work? (Or compiles from the releases from this repo?)

Maybe it is related to the past issue you reported here? Is the dll available on the PATH env variable? https://github.com/LucaScheller/VFX-UsdAssetResolver/issues/18#issuecomment-2401340319

LucaScheller avatar Mar 08 '25 17:03 LucaScheller

Hi @LucaScheller Yes, previous compiles worked, but it has been some timesinc I compiled your resolver. I have been using the compiled releases I will downgrade to Maya 2025.2 and try the latest release from your repo. I'll let you know

donat666 avatar Mar 08 '25 18:03 donat666

Hi @LucaScheller after further testing, I did not yet find the cause, but it is related to the machine or the machine environment. I can use one of the compiled releases from your github without issues on two windows pc, but not on a third one. I'll need to investigate more. I suppose this ticket can be closed, sorry for the inconvenience

dovanbel avatar Mar 09 '25 11:03 dovanbel

Thanks for digging deeper, no problem! Let me know when you find out what it is (and also sorry for the delayed response).

LucaScheller avatar Apr 01 '25 03:04 LucaScheller