-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
USD 22.08 - build_usd.py can't find x86_64 symbols #1979
Comments
Hi @bread24, what version of CMake are you using? I've run into a similar error in the past and it was because I was using an older version of CMake that was built for x86_64. I'd recommend trying a CMake version that ships as a MacOS universal binary -- I'm currently using v3.19.5. |
Hi @sunyab I'm currently using cmake version 3.22.5
|
And just to double check, does running |
yeah, it shows |
I ran |
I'm not sure what's going on here. Did you download cmake from the official web site, or was it installed through some other package manager? What do you get if you run
|
I did I get and when I use |
That might be a good clue as to how things are getting confused. Your log shows that the build is versus python3.10, e.g., I see this in a few places -
but I would start by uninstalling that cmake, and ensuring that the python you want to use is discoverable in your path, and that the legacy python 2.7 is not discoverable in your path. i.e. ensure this path I'd recommend installing cmake from the "official" installer on cmake.org, and DO add the path to the bin within the resulting installation to your $PATH to make it command line accessible. |
Thanks for all the assistance so far but I think I've done something wrong. It's now telling me it can't find I removed the Python 2.7 path in my |
How did you build/install OpenSubdiv? The problem appears to be that it was built for x86_64 but you're building USD for arm64. From the log:
|
@dpmacri I'm pretty sure it got build as part of the build_usd.py script. I deleted the old build directory and now it built correctly. Thanks for everyone's help.
|
Closing the issue as it's working now |
Description of Issue
I have a M1 Macbook pro and after following the instructions on #1736. I downloaded USD repo v22.08 and I'm getting the following error.
ERROR: Failed to run 'cmake --build . --config Release --target install -- -j10'
I have also attached the log.txt file on this issue.
Steps to Reproduce
python3 build_usd.py /Users/benread/Documents/USD
System Information (OS, Hardware)
CPU: Apple M1 Max
OS: MacOS Monterey version 12.5
Python version: 3.10.5
Package Versions
Build Flags
log.txt
The text was updated successfully, but these errors were encountered: