Open CPlusPlus-enthusiast opened 3 weeks ago
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
While trying to build the following error is printed.
build_log.txt
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"