CentOS 7 build issues #1473
-
I am trying to build the maya-usd plugin in CentOS 7 using the build.py script provided, but "make" gets stuck (hanging forever) while building the "mayaUsdUI" target (at 88%):
Using:
CMakeLists.txt options:
The build.py script was able to find Python, USD, UFE (2.0.0) and Qt. Seems like "make" is hanging during the MOC execution due to the CMake directive I verified that the executable "moc" file (from qtbase build) is in the PATH and available. Marcelo |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 14 replies
-
Just to verify when calling build.py are you passing the flag? You could try adding this: I see here that we made an assumption and set qt version to 5.12, but for 2022 it should be 5.15. |
Beta Was this translation helpful? Give feedback.
-
@msercheli No you are not forced to use the devkit to build the UI parts of MayaUSD plugin. I can completely understand why you couldn't point I build qt from source myself and use it. One could also use the binaries https://www.qt.io/download I use mixed versions of Qt ( Qt5.9 , 5.12, Qt 5.15 ) on different machines and they all work fine. |
Beta Was this translation helpful? Give feedback.
-
@msercheli Can you try |
Beta Was this translation helpful? Give feedback.
-
I am building the plugin using GCC 6.3.0 since the toolset-6 is not available anymore (it provides GCC 6.3.1). But from what I read online, 6.3.1 was merely a snapshot at some point in time during the development of GCC. The GCC repo makes available only 6.3.0, jumping next to 6.4.0 and so on. Apparently, GCC 6.3.0 that is available in the repo is actually the latest of the 6.3 series. But is it possible that the GCC 6.3.0 is causing the issue? I am also using CMake 6.14.6, which I believe is a valid version for the MayaUsd plugin. |
Beta Was this translation helpful? Give feedback.
-
No worries. Here is the instruction to install devtoolset-6 on Centos from the vault:
|
Beta Was this translation helpful? Give feedback.
No worries. Here is the instruction to install devtoolset-6 on Centos from the vault: