Open disini opened 8 months ago
Filed as internal issue #USD-9366
We have the same error. basically, what is happening, is that your build comes from a github workflow or something like this ( let's say a server). And it created a pxrConfig.cmake which set python path with host paths. The /buildAgent/work/4946e30737d0d252/_build/target-deps/python/include/python3.10
and at some point the project you try to compile is doing a find_package(pxr) and it's looking at this cmake trying to find this paths.
I don't have a workaround for now if you want to work with this build.
Otherwise, you could build USD on your machine and it will work !
Description of Issue
Hi, I'm trying to compile the openmoonray project https://github.com/dreamworksanimation/openmoonray/ on ubuntu 22.04.3, with Clion 2023.2 IDE, and I download the USD library release version of 0.23.11, and there're some issues on the cmake stage:
I've updated the openmmonray and all dependencies code to the latest version, and I checked the lib "libpython3.10.so" mentioned above, it's exactly version 3.10.13,
### but the value that the cmake read out is "3.10", so, where could I modify the numbers to "3.10.13" instead of "3.10" to fix that problem ? I mean where is the file that indicate the PYTHON VERSION in the USD lib directory?
Or any other better idea to solve this problem?
Thanks so much!
Steps to Reproduce
System Information (OS, Hardware)
ubuntu 22.04.3, intel 6700k + nvidia gtx 1070
Package Versions 0.23.11
Build Flags
I searched the files in the USD lib directory and find out this: /libs/usd/0.23.11/linux/python/include/python3.10/patchlevel.h:
### the PY_VERSION is definitely "3.10.13",
### but why cmake indicate that ?
it's weird。。。。