cpichard / usdtweak

Universal Scene Description standalone editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run on Mac (Apple Silicon)

guidoq opened this issue · comments

Got a successful build but then launching usdtweak.app I get this:

ermination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/Python3.framework/Versions/3.9/Python3
Referenced from: <40A5A386-3406-37CA-B599-BF613262C53B> /Users/USER/*/usdtweak.app/Contents/MacOS/usdtweak
Reason: tried: '/Users/guido/trees/USD_REL/USD-inst/lib/Python3.framework/Versions/3.9/Python3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/guido/trees/USD_REL/USD-inst/lib/Python3.framework/Versions/3.9/Python3' (no such file), '/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/Python3.framework/Versions/3.9/Python3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/Python3.framework/Versions/3.9/Python3' (no such file), '/Users/guido/trees/USD_REL/USD-inst/lib/Python3.framework/Versions/3.9/Python3' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/guido/trees/USD_REL/USD-inst/lib/Python3.framework/Versions/3.9/Python3' (no such file)
(terminated at launch; ignore backtrace)

Hi @guidoq,
it looks like the application can't find the python library.
usdtweak doesn't use python but it links with what usd needs, so I am guessing usd was compiled with a different python library than the system one, and this library may be not in the DYLD_LIBRARY_PATH environment variable.
To double check, are you able to launch usdview ?
If in a terminal you type python --version which version do you have ?
Another possibility could be that usd, usdtweak and python were compiled with different target architecture, arm64 and x86_64.

Hi @guidoq ,
did that help solving your issue ?