PixarAnimationStudios / OpenUSD

Universal Scene Description
http://www.openusd.org
Other
5.45k stars 1.13k forks source link

Windows: Install cannot find USD.tag #3042

Open hamedsabri opened 1 month ago

hamedsabri commented 1 month ago

Description of Issue

Hi, I am having an issue when building with python docs. During the install stage, I keep getting the following error

  -- Installing: Z:/OSS/USD/Release2/plugin/usd/usdShaders.dll
  -- Installing: Z:/OSS/USD/Release2/plugin/usd/usdShaders.pdb
  -- Installing: Z:/OSS/USD/Release2/lib/python/pxr/UsdShaders/__init__.py
  -- Installing: Z:/OSS/USD/Release2/lib/python/pxr/UsdShaders/__init__.pyc
  -- Installing: Z:/OSS/USD/Release2/plugin/usd/sdrGlslfx/resources/plugInfo.json
  -- Installing: Z:/OSS/USD/Release2/plugin/usd/sdrGlslfx.dll
  -- Installing: Z:/OSS/USD/Release2/plugin/usd/sdrGlslfx.pdb
  -- Installing: Z:/OSS/USD/Release2/lib/python/pxr/SdrGlslfx/__init__.py
  -- Installing: Z:/OSS/USD/Release2/lib/python/pxr/SdrGlslfx/__init__.pyc
  -- Installing: Z:/OSS/USD/Release2/lib/python/pxr/__init__.py
  -- Installing: Z:/OSS/USD/Release2/pxrConfig.cmake
  -- Installing: Z:/OSS/USD/Release2/cmake/pxrTargets.cmake
  -- Installing: Z:/OSS/USD/Release2/cmake/pxrTargets-relwithdebinfo.cmake
  CMake Error at cmake_install.cmake:62 (file):
    file INSTALL cannot find "Z:/OSS/USD/Release2/build/OpenUSD/docs/USD.tag":
    File exists.

C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(166,5): error MSB3073: The command "setlocal [Z:\OSS\USD\Release2\build\OpenUSD\install.vcxproj]

I was looking at the doc's readme and it mentions that there is an env variable "__USD_DOXYGEN_TAG_FILE__" that should be set to the path of the .tag file generated by the Doxygen? It is a bit unclear to me that if I really need to do this.

Any help is appreciated.

Steps to Reproduce

from dev branch:

python3 build_usd.py --build-variant=relwithdebuginfo --build-args=Usd,"-DPXR_LIB_PREFIX=pxr_" --python-docs --no-examples --no-tutorials --materialx Z:\OSS\USD\Release2

System Information (OS, Hardware)

Windows 10, 
Graphviz version 10.0.1
Doxygen version 1.10.0
MSVC 2022
jesschimein commented 1 month ago

Filed as internal issue #USD-9552

hamedsabri commented 2 weeks ago

Hi there, any updates on this? Thanks

spiffmon commented 2 weeks ago

I think the answer is yes, and setting it is what I’d try first.

On Tue, Apr 30, 2024 at 7:13 AM Hamed Sabri @.***> wrote:

Hi there, any updates on this? Thanks

— Reply to this email directly, view it on GitHub https://github.com/PixarAnimationStudios/OpenUSD/issues/3042#issuecomment-2085444230, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPOU2CSNWJFOPGO5YPBWTTY76RHPAVCNFSM6AAAAABGHOBIMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBVGQ2DIMRTGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>