Comments (13)
Huh!! What is this UFE_TEST.util
and where does the call to cmd.exe happen?
from maya-usd.
Apparently introduced in this commit:
from maya-usd.
Or possibly this one, not sure:
from maya-usd.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Export only Transforms and Point Positions for animation or Export only materials and render attributes for lookdev HOT 4
- Primvar Support in LookdevX+VP2 HOT 3
- [EMSUSD-24] USD Camera viewport refresh issue HOT 1
- Maya USD Reference Animation 25 FPS time mismatch HOT 7
- Export partial Maya joint hierarchy to USD as Skeleton prims HOT 2
- [EMSUSD-1026] Maya creates unnecessary groups "rigParent|rig" for MayaReference when switching other variant sets. HOT 1
- Duplicate with Transform (Shift + D) incorrect with moved mayaUsdProxyShape transform
- Creating a group in proxy shape directly generates rotatePivot and scalePivot xformOps
- [EMSUSD-1056] Crash on loading Lumberyard Bistro HOT 3
- Sharing a single Maya reference node across multiple USD variant selections HOT 8
- small bugs on USD camera HOT 2
- Global TfToken destructors causing hang on shutdown in standalone program.
- [EMSUSD-1061] UV is incorrect when importing left-handed polygons HOT 4
- Edit Routing is not using when moving a prim using viewport manipulator HOT 1
- Provide the ability to export UV sets in "vertex" interpolation HOT 1
- [EMSUSD-1091] Non local edit target layer cannot be saved and restored HOT 3
- HELP - USD Plugin not loading in Maya 2024 HOT 8
- Layers don't get deallocated from memory when deleted HOT 2
- relative path with UDIM not working in image Arnold HOT 3
- Crash when trying to assign file path to image node in LookdevX HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from maya-usd.