Skip to content
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

An issue with Qt while building #3817

Open
CPlusPlus-enthusiast opened this issue Jun 10, 2024 · 1 comment
Open

An issue with Qt while building #3817

CPlusPlus-enthusiast opened this issue Jun 10, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@CPlusPlus-enthusiast
Copy link

While trying to build the following error is printed.

CMake Error at CMakeLists.txt:177 (message):
  Could not find Qt in Maya devkit directory:
  C:\otzad_nagore\Autodesk_Maya_2024_2_Update_DEVKIT_Windows\devkitBase.

build_log.txt

  • Windows 10
  • Visual Studio 16 2019
  • Maya 2024
  • Maya USD v0.27.0
  • Pixar USD v23.11

I have tried to unzip qt_5.15.2_vc14-include.zip in the same directory, in qt_5.15.2_vc14-include(with and without replacing the old files).

This is the command I am using for building
python build.py --devkit-location "C:\backup\Autodesk_Maya_2024_2_Update_DEVKIT_Windows\devkitBase" --maya-location "C:\Program Files\Autodesk\Maya2024" --no-materialx --pxrusd-location C:\backup\USD_2311 --generator "Visual Studio 16 2019" --build-args="-DPYTHON_INCLUDE_DIR=C:/Program\ Files/Autodesk/Maya2024/include/Python310/Python,-DPython_EXECUTABLE=C:/Program\ Files/Autodesk/Maya2024/bin/mayapy.exe,-DPYTHON_LIBRARIES=C:/Program\ Files/Autodesk/Maya2024/lib/python310.lib,-DBUILD_WITH_PYTHON_3=ON,-DBUILD_WITH_PYTHON_3_VERSION=3.10,-DBUILD_AL_PLUGIN=OFF,-DBUILD_PXR_PLUGIN=ON,-DBUILD_TESTS=OFF,-DBUILD_AL_PLUGIN=OFF,-DBUILD_ADSK_PLUGIN=OFF,-DBUILD_MAYAUSD_LIBRARY=OFF,-DMaterialX_DIR=C:/backup/USD/lib/cmake/MaterialX" "C:/extbuild/MayaUsd_Build"

@CPlusPlus-enthusiast CPlusPlus-enthusiast added the help wanted Extra attention is needed label Jun 10, 2024
@seando-adsk
Copy link
Collaborator

From your build command it looks like you are simply wanting to build only the Pixar plugin. For all three plugins (MayaUsd, Pixar, AL) the MayaUsd library is needed - it is the base for all three plugins. So change -DBUILD_MAYAUSD_LIBRARY=ON and it should work.

There is an cmake check for that, but unfortunately it is below the Qt check. FYI, the Qt check failed because you had the maya usd library off which meant it didn't try and find Maya, so it skipped trying to find Qt.

Sean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants