PixarAnimationStudios / OpenUSD

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

Failed to run cmake #1349

Open kmarcinowski opened 4 years ago

kmarcinowski commented 4 years ago

Description of Issue

After trying to build USD I got an error with cmake. I think I successfully installed all required packages, and using VS17 + Python 2.7

 Creating library C:/USD/build/USD-release/pxr/usd/usdSkel/Release/_usdSkel.lib and object C:/USD/build/USD-release/pxr/usd/usdSkel/Release/_usdSkel.exp

_usdSkel.vcxproj -> C:\USD\build\USD-release\pxr\usd\usdSkel\Release_usdSkel.pyd

ERROR: Failed to run 'cmake --build . --config Release --target install -- /M:6' See C:\USD\build\USD-release\log.txt for more details.

Thanks in advance for help! K

Steps to Reproduce

  1. python build_scripts\build_usd.py "C:\USD"

System Information (OS, Hardware)

WINDOWS 10 Pro

Package [Versions]

Build Flags

Building with settings: USD source directory C:\USD-release USD install directory C:\USD 3rd-party source directory C:\USD\src 3rd-party install directory C:\USD Build directory C:\USD\build CMake generator Default Downloader curl

Building Shared libraries Config Release Imaging On Ptex support: Off OpenVDB support: Off OpenImageIO support: Off OpenColorIO support: Off PRMan support: Off UsdImaging On usdview: On Python support On Python 3: Off Documentation Off Tests Off Examples On Tutorials On Tools On Alembic Plugin Off HDF5 support: Off Draco Plugin Off MaterialX Plugin Off

Dependencies None STATUS: Installing USD...

Log http://wklejto.pl/txt858639

meshula commented 4 years ago

Unfortunately your attached log hasn't captured the failure, so there's no way I can see to tell what happened. Could you try the build again, but pass in the argument -v 3 to get maximum verbosity, and capture the output from the build into another file please?

kmarcinowski commented 4 years ago

Thank you for your reply. Now I've built with: python build_scripts\build_usd.py --verbose "C:\USD" but changed default verbosity to 3 in py script.

Here's the log: http://wklejto.pl/txt858815 Build output: http://wklejto.pl/txt858816

Hopefully, that will help you. Thanks again

asluk commented 4 years ago

Thanks; I'm not seeing a build error in the log, though I might be glossing over it.

Let's try one more thing-- for me "--verbose 3" doesn't work, and instead, I am able to raise the verbosity level with "--verbose --verbose --verbose". See if that adds more detail to the logs?

On Fri, Oct 2, 2020 at 12:30 PM kmarcinowski notifications@github.com wrote:

Thank you for your reply. Now I've built with: python build_scripts\build_usd.py --verbose "C:\USD" but changed default verbosity to 3 in py script.

Here's the log: http://wklejto.pl/txt858815 Build output: http://wklejto.pl/txt858816

Hopefully, that will help you. Thanks again

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PixarAnimationStudios/USD/issues/1349#issuecomment-702654411, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAP7WZQXMNXC5IEECYUZWETSIWTSPANCNFSM4SAUJCHA .

kmarcinowski commented 4 years ago

Not seeing anything more, unfortunately. Will do a test with a virtual machine to eliminate other dependency issues. Log: http://wklejto.pl/858921 Command line: http://wklejto.pl/txt858922

sunyab commented 4 years ago

@kmarcinowski Your log appears to be getting cut off -- is that what you observe on your machine? If not I am guessing the clipboard website you're using is truncating the log. Can you attach the log directly to this issue instead?

jilliene commented 4 years ago

Filed as internal issue #USD-6389

kmarcinowski commented 4 years ago

Oh sorry wasnt aware of that, here's full log file: https://we.tl/t-BoMpzRp7un

asluk commented 4 years ago

I'm still not seeing the amount of detail I would expect in your log, but given that the error is happening in usdviewq,

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\USD\build\USD-release\pxr\usdImaging\usdviewq_usdviewq_pysideuifiles.vcxproj]

I highly suspect that you are hitting https://github.com/PixarAnimationStudios/USD/pull/1320 , which is fixed in the current dev branch.

kmarcinowski commented 4 years ago

I think I'm using current branch - should I build it with python 3.8.6 instead? Wouldn't be there an issue with autodesk maya plugin then?

asluk commented 4 years ago

The default branch is "release", whereas the latest is "dev". I suspect that you are on "release".

According to the maya-usd documentation, the current "dev" branch should work with a maya-usd build - https://github.com/Autodesk/maya-usd/blob/dev/doc/build.md#2-download-and-build-pixar-usd