Open jijojayaprakash opened 2 years ago
root@dell-Latitude-7480:/home/dell/USDZ# python usd_from_gltf/tools/ufginstall/ufginstall.py usd_from_gltf/ /usr/local/USD/ Install Settings: Source Directory: /home/dell/USDZ/usd_from_gltf Install Directory: /home/dell/USDZ/usd_from_gltf USD Directory: /usr/local/USD Download Directory: /home/dell/USDZ/usd_from_gltf/src Build Directory: /home/dell/USDZ/usd_from_gltf/build Build Config: Release CMake Generator: Default Already Installed: DRACO, GIF, JPG, JSON, ZLIB, PNG, STB_IMAGE, TCLAP Installing: USD_FROM_GLTF -------- Installing USD_FROM_GLTF -------- USD_FROM_GLTF: CWD: /home/dell/USDZ/usd_from_gltf/build/usd_from_gltf USD_FROM_GLTF: Run: cmake /home/dell/USDZ/usd_from_gltf -DCMAKE_INSTALL_PREFIX=/home/dell/USDZ/usd_from_gltf -DCMAKE_PREFIX_PATH=/home/dell/USDZ/usd_from_gltf -DUSD_DIR=/usr/local/USD USD_FROM_GLTF: CWD: /home/dell/USDZ/usd_from_gltf/build/usd_from_gltf USD_FROM_GLTF: Run: cmake --build . --config Release --target install -- Consolidate compiler generated dependencies of target gltf [ 30%] Built target gltf Consolidate compiler generated dependencies of target common [ 40%] Built target common Consolidate compiler generated dependencies of target process [ 71%] Built target process Consolidate compiler generated dependencies of target convert [ 73%] Building CXX object convert/CMakeFiles/convert.dir/converter.cc.o /home/dell/USDZ/usd_from_gltf/convert/converter.cc: In member function ‘void ufg::Converter::CreateDebugBoneMesh(const pxrInternal_v0_22__pxrReserved__::SdfPath&, bool)’: /home/dell/USDZ/usd_from_gltf/convert/converter.cc:482:79: error: no matching function for call to ‘pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(pxrInternal_v0_22__pxrReserved__::UsdShadeShader&, const pxrInternal_v0_22__pxrReserved__::TfToken&)’ usd_material.CreateSurfaceOutput().ConnectToSource(pbr_shader, kTokSurface); ^ In file included from /usr/local/USD/include/pxr/usd/usdShade/nodeGraph.h:39:0, from /usr/local/USD/include/pxr/usd/usdShade/material.h:31, from /home/dell/USDZ/usd_from_gltf/convert/../convert/convert_common.h:35, from /home/dell/USDZ/usd_from_gltf/convert/../convert/converter.h:24, from /home/dell/USDZ/usd_from_gltf/convert/converter.cc:17: /usr/local/USD/include/pxr/usd/usdShade/output.h:277:10: note: candidate: bool pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(const pxrInternal_v0_22__pxrReserved__::UsdShadeConnectionSourceInfo&, pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectionModification) const bool ConnectToSource( ^~~~~~~~~~~~~~~ /usr/local/USD/include/pxr/usd/usdShade/output.h:277:10: note: no known conversion for argument 1 from ‘pxrInternal_v0_22__pxrReserved__::UsdShadeShader’ to ‘const pxrInternal_v0_22__pxrReserved__::UsdShadeConnectionSourceInfo&’ /usr/local/USD/include/pxr/usd/usdShade/output.h:285:10: note: candidate: bool pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(const pxrInternal_v0_22__pxrReserved__::UsdShadeConnectableAPI&, const pxrInternal_v0_22__pxrReserved__::TfToken&, pxrInternal_v0_22__pxrReserved__::UsdShadeAttributeType, pxrInternal_v0_22__pxrReserved__::SdfValueTypeName) const bool ConnectToSource( ^~~~~~~~~~~~~~~ /usr/local/USD/include/pxr/usd/usdShade/output.h:285:10: note: no known conversion for argument 1 from ‘pxrInternal_v0_22__pxrReserved__::UsdShadeShader’ to ‘const pxrInternal_v0_22__pxrReserved__::UsdShadeConnectableAPI&’ /usr/local/USD/include/pxr/usd/usdShade/output.h:296:10: note: candidate: bool pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(const pxrInternal_v0_22__pxrReserved__::SdfPath&) const bool ConnectToSource(SdfPath const &sourcePath) const; ^~~~~~~~~~~~~~~ /usr/local/USD/include/pxr/usd/usdShade/output.h:296:10: note: candidate expects 1 argument, 2 provided /usr/local/USD/include/pxr/usd/usdShade/output.h:303:10: note: candidate: bool pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(const pxrInternal_v0_22__pxrReserved__::UsdShadeInput&) const bool ConnectToSource(UsdShadeInput const &sourceInput) const; ^~~~~~~~~~~~~~~ /usr/local/USD/include/pxr/usd/usdShade/output.h:303:10: note: candidate expects 1 argument, 2 provided /usr/local/USD/include/pxr/usd/usdShade/output.h:310:10: note: candidate: bool pxrInternal_v0_22__pxrReserved__::UsdShadeOutput::ConnectToSource(const pxrInternal_v0_22__pxrReserved__::UsdShadeOutput&) const bool ConnectToSource(UsdShadeOutput const &sourceOutput) const; ^~~~~~~~~~~~~~~ /usr/local/USD/include/pxr/usd/usdShade/output.h:310:10: note: candidate expects 1 argument, 2 provided convert/CMakeFiles/convert.dir/build.make:103: recipe for target 'convert/CMakeFiles/convert.dir/converter.cc.o' failed make[2]: *** [convert/CMakeFiles/convert.dir/converter.cc.o] Error 1 CMakeFiles/Makefile2:215: recipe for target 'convert/CMakeFiles/convert.dir/all' failed make[1]: *** [convert/CMakeFiles/convert.dir/all] Error 2 Makefile:135: recipe for target 'all' failed make: *** [all] Error 2 USD_FROM_GLTF: ERROR: Command failed: cmake --build . --config Release --target install -- USD_FROM_GLTF: See log at: /home/dell/USDZ/usd_from_gltf/build/usd_from_gltf/log.txt
i have same issue
Did anyone figure out what the issue was/a workaround?