Giter VIP home page Giter VIP logo

Comments (13)

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

Huh!! What is this UFE_TEST.util and where does the call to cmd.exe happen?

from maya-usd.

pmolodo avatar pmolodo commented on August 28, 2024

Apparently introduced in this commit:

c217793

from maya-usd.

pmolodo avatar pmolodo commented on August 28, 2024

Or possibly this one, not sure:

2d7b9be

from maya-usd.

pmolodo avatar pmolodo commented on August 28, 2024

Failure message looks like this (trimmed):

[241/479] Running utility command for UFE_TEST
FAILED: test/lib/ufe/CMakeFiles/UFE_TEST.util
cmd.exe /C "cd /D D:\Projects\Dev\USD\maya-usd\work\build\Release\test\lib\ufe && "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe" -E copy_if_different D:/Projects/Dev/USD/maya-usd/src/test/lib/ufe/test-samples/ballset/StandaloneScene/Assembly_room_set.usda D:/Projects/Dev/USD/maya-usd/work/build/Release/test/lib/ufe/test-samples/ballset/StandaloneScene/Assembly_room_set.usda && ...
The command line is too long.

from maya-usd.

kxl-adsk avatar kxl-adsk commented on August 28, 2024

I honestly can't find this file. It looks like it's in the build folder...but this is what I have:
E:\Dev\usd_workspaces_latest\Maya_USD\build\RelWithDebInfo\test\lib\ufe\CMakeFiles\UFE_TEST.dir and in this folder I haveutility.bat file. Nowhere I can find UFE_TEST.util.

from maya-usd.

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

c217793 and 2d7b9be are what that brings support for UFE tests.

The Failure message doesn't really help. Is this Windows 7 or 10?

from maya-usd.

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

I honestly can't find this file. It looks like it's in the build folder...but this is what I have:
E:\Dev\usd_workspaces_latest\Maya_USD\build\RelWithDebInfo\test\lib\ufe\CMakeFiles\UFE_TEST.dir and in this folder I haveutility.bat file. Nowhere I can find UFE_TEST.util.

I am on Windows 10 and same as Krystian can't find this file anywhere on my machine.

UFE_TEST

Also, mayaUsd_copyDirectory and mayaUsd_copyFiles are the utility functions that handle copying UFE resources ( e.g *.maya, *.usda, *.py ,etc...) in the build\test\lib\ufe directory.

from maya-usd.

seando-adsk avatar seando-adsk commented on August 28, 2024

How are you running the builld? Thru some docker or other shell? In my utility.bat it is just calling cmake.exe directly. But from your trimmed error line it is calling cmd.exe to then call cmake.exe. Here on Windows we would just run the build thru a normal Windows command prompt.

from maya-usd.

pmolodo avatar pmolodo commented on August 28, 2024

I also don't have a UFE_TEST.util on disk - the build dir:

test/lib/ufe/CMakeFiles/

...is actually empty for me. So either it's something that automatically gets cleaned up, or a target that failed to build, or a dummy target that doesn't actually correspond to a file on disk (which is my guess).

I'm building on Windows 10 Pro, 1903, 18362.418.

I'm building directly from a windows shell, from which I manually invoke a Visual Studio vcvarsall.bat, as well as set some other env vars:

REM set VS build env vars
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64

REM use python-27
set PATH=C:\Apps\DevTools\Python27;C:\Apps\DevTools\Python27\Scripts;%PATH%

REM use VS's ninja
set PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;%PATH%

set MAYA_LOCATION=C:\Apps\3D\Autodesk\Maya2019

I build using your provided python build.py, not via invoking cmake directly.

I don't have a utility.bat - I think the command that fails is the one that would be in charge of making that UFE_TEST.dir folder (which includes the afore-mentioned utility.bat).

from maya-usd.

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

O.K thanks for the info. I have the same setup as yours. I will have a look into this later today. Very strange indeed!

from maya-usd.

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

Interesting that stamp file doesn't created for you under test\lib\ufe\CMakeFiles

Here is what I get in that directory:

generate.stamp
# CMake generation timestamp file for this directory.

generate.stamp.depend

# CMake generation dependency list for this directory.
C:/Users/hamed/Autodesk2019/maya-usd/test/lib/ufe/CMakeLists.txt

Could be it related to Ninja generator? I realized I have been using VS generator for a while on Windows. Let me switch to Ninja and see If I can reproduce the problem.

from maya-usd.

HamedSabri-adsk avatar HamedSabri-adsk commented on August 28, 2024

That's it!

Now I don't see the stamp files generated anymore and it looks like Ninja now creates this utility.bat
under test\lib\ufe\CMakeFiles\UFE_TEST.dir\

Here is the content of utility.bat:
utility.txt

from maya-usd.

pmolodo avatar pmolodo commented on August 28, 2024

Well, I just built recently on windows, and didn't see this pop up, so it's either been fixed or can't be reproduced. Closing.

from maya-usd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.