-
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
Windows cmake install error due to backslash in Python3_INCLUDE_DIRS #2082
Comments
@pmolodo We're seeing this on our Azure builds too. I'm not sure why we didn't see this in our local Windows tests builds, though. What version of CMake are you running? |
Filed as internal issue #USD-7745 |
Turns out I didn't run into this because my Python installation is in "C:\Python..." and "\P" isn't an escape sequence that triggers the bug, but your (and Azure's) installation is in a directory that starts with a lower case letter, which does trigger the parsing bug. Should have a fix available with the next dev push. |
Ahhhh.. that explains what i was trying to puzzle out on #2083 which was killing the windows build |
Description of Issue
When running cmake install on windows, we get a cmake syntax error:
The change seems to be related to dbabdaf, which altered the way that python is found in cmake. It seems that now windows paths are not properly escaped / do not have backslashes converted to forward slashes.
Steps to Reproduce
usd_build.py
with the--build-python-info
flag on windows, where the paths have backslashes. (Note - note actually sure if using--build-python-info
is required to reproduce, but that's we we did.)System Information (OS, Hardware)
Windows 10
Package Versions
USD - dev branch - d27b1be
Build Flags
--build-python-info
- ie, we used:The text was updated successfully, but these errors were encountered: