-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Windows build can't find pthread.h #921
Comments
Filed as internal issue #USD-5468 |
Hi @Ryanagogo, I believe the log files you've posted are from CMake trying to determine whether pthread.h exists on your system and don't indicate the real cause of the build failure. Can you post the log files from the full build? This should be in D:\USDBuild\build\USD\log.txt given your build set up. |
Here is the log.txt, sorry for not including it before! |
Thanks! From the log file, it looks like the build is running into errors when trying to build boost python:
It looks like you may have installed the 32-bit Python libraries and SDK for Windows, but you'll need the 64-bit version instead. Let me know if that helps! |
You are right, using the 32 bit python was the issue. I changed it out and now it builds without errors. Is there a script that can do a prerequisite check for building USD? Thank you for the help! Ryan |
Glad that helped! We might be able to add a check to build_usd.py to see if the Python you're running is 32-bit or 64-bit. I'll explore that a bit and see what can be done. |
Description of Issue
Hello,
I'm trying to build USD on my windows 10. During the build it's getting this error:
fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory
I've attached the cmake output and error logs, so you can see more details
Thank you in advance for any help you can give me!
Ryan
CMakeOutput.log
CMakeError.log
The text was updated successfully, but these errors were encountered: