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

CI: USD cache fails to build correctly in static-analysis CI #1397

Open
mwestphal opened this issue Apr 26, 2024 · 0 comments
Open

CI: USD cache fails to build correctly in static-analysis CI #1397

mwestphal opened this issue Apr 26, 2024 · 0 comments

Comments

@mwestphal
Copy link
Contributor

When building USD cache for the first time, the one created by static analysis is not valid and fails with:

[ 54%] Building CXX object vtkext/private/module/CMakeFiles/vtkextPrivate.dir/vtkF3DRenderPass.cxx.o
/usr/bin/ld: ../../../../lib/libvtkextUSD.a(vtkF3DUSDImporter.cxx.o): in function `vtkF3DUSDImporter::GetNumberOfAnimations()':
vtkF3DUSDImporter.cxx:(.text+0x1b1): undefined reference to `pxrInternal_v0_23__pxrReserved__::UsdStage::HasAuthoredTimeCodeRange() const'
/usr/bin/ld: ../../../../lib/libvtkextUSD.a(vtkF3DUSDImporter.cxx.o): in function `vtkF3DUSDImporter::vtkInternals::vtkInternals(vtkF3DUSDImporter*)':
vtkF3DUSDImporter.cxx:(.text._ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_[_ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_]+0xf6): undefined reference to `pxrInternal_v0_23__pxrReserved__::TfSingleton<pxrInternal_v0_23__pxrReserved__::TfDiagnosticMgr>::_instance'
/usr/bin/ld: vtkF3DUSDImporter.cxx:(.text._ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_[_ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_]+0x105): undefined reference to `pxrInternal_v0_23__pxrReserved__::TfSingleton<pxrInternal_v0_23__pxrReserved__::TfDiagnosticMgr>::_instance'
/usr/bin/ld: vtkF3DUSDImporter.cxx:(.text._ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_[_ZN17vtkF3DUSDImporter12vtkInternalsC2EPS_]+0x10a): undefined reference to `pxrInternal_v0_23__pxrReserved__::TfSingleton<pxrInternal_v0_23__pxrReserved__::TfDiagnosticMgr>::_CreateInstance(std::atomic<pxrInternal_v0_23__pxrReserved__::TfDiagnosticMgr*>&)'

Steps to repro:

  • modify USD cache number to force a rebuild
  • Create a PR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Investigate
Development

No branches or pull requests

1 participant