Open PixelPartner opened 6 years ago
I also tried to switch error/warning language between german and english - without effect.
Hmm.. unfortunately not able to repro. Are you building into a totally clean build directory?
I believe this error commonly occurs if Half.dll isn't found in your PATH when building OpenEXR. The build script should have set this PATH properly, but perhaps something else in your environment (like another install of IlmBase) is causing that to break. Things to check/try:
yes, a cleared build folder.
Can it depend something on %PATH%, that should not be reached in the native CLI terminal ?
It also can't bild OpenEXR with cmake in linux. https://github.com/PixarAnimationStudios/USD/issues/578 I have all preinstalled dependences (from pip and YUM), but it doesn't help with USD building, because some of them are not used (it use pacages that was downloaded as a part of USD instalation). so I'm stop on GLEW if I use build.py and I'm stop on OpenEXR if I use cmake (((
@sunyab Yes, Half.dll/.lib have been created, but prepending USD\bin and USD\lib to the PATH didn't help. Same fail without helpful error message as before.
I unstalled VS2017 and installed VS2015 community. Same error. Similar issues have been reported for OpenEXR on Win64 for years.
Hi Thomas, Not sure what your needs are, but wanted to point out that in the 18.09 release, oiio is optional - you'll still be able to read jpg, png, bmp, and a few other formats, but of course, no exr.
On Mon, Aug 13, 2018 at 8:44 AM Thomas Kumlehn notifications@github.com wrote:
I unstalled VS2017 and installed VS2015 community. Same error. Similar issues have been reported for OpenEXR on Win64 for years.
— 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/585#issuecomment-412563935, or mute the thread https://github.com/notifications/unsubscribe-auth/AF7qaJyJKBkRLG1DVRHPCQCf-OoZA0wlks5uQZ7GgaJpZM4V1SqG .
-- --spiffiPhone
Filed as internal issue #163194.
The CMake build for windows was extensively cleaned for OpenEXR 2.3, especially to deal with issues such as the Half.dll problem. Updates to the build_usd.py script will be required to take advantage of them, and the OpenEXR version for USD would need to be bumped.
The OpenEXR 2.3 no longer requires Half.dll in the path to build b44ExpLogTable.h, so is much easier to build. (OpenEXR 2.2 and earlier do require Half.dll in the path to build that file.)
I have to admit i've build all sources separately (openexr, etc) but i've come across this problem in the process. reading the log correctly it seems that it has a problem when it generates the 'b44ExpLogTable.h' - file. If i remember correctly this is an external process which needs the half.dll in the PATH. I've first build the the IlmBase, and than the OpenEXR libs. While building the openexr i had the half.dll in the PATH.
Hey guys, any update on this issue? I am getting a similar error here: https://github.com/PixarAnimationStudios/USD/issues/736
And haven't been able to get around it
FWIW, the error log attached in #736 shows a problem Qt's UIC. The error reported here is that OpenEXR didn't build. The issue @infernalspawn refers to was resolved in OpenEXR 2.3, but still exists in OpenEXR 2.2
Still OpenEXR 2.3.0 has this problem for me under Win8.1 with cmake 3.12 and using Visual Studio 14 2015 compiler environment and shell.
@PixelPartner Are you able to attach a log that shows the build failure? I see you are using an older Visual Studio compared to the other reports in this thread.
Description of Issue
cmake fails to create
IlmImf*.dll
after reporting many compile warning but no error that might help. See log.txt at the end ...System Information (OS, Hardware)
Win 8.1 Pro (x64) Visual Studio 2017 community edition (ver 15.7.6) Native Tools Command Prompt for VS2017 (x64) as Admin cl (ver 19.14.26433) for x64
Branch
Using
dev
branch from 8/8/18 to be able to use VS2017.Package Versions
All default dependency packages. Tried OpenEXR 2.2.0 and its security patch 2.2.1
NASM (2.14rc15) Python (2.7.15) (x64) PySide (1.2.4) PyOpenGL (3.1.0)
Build Settings
Error Log
2018-08-09 10:15 cmake -DCMAKE_INSTALL_PREFIX="C:\Program Files\USD" -DCMAKE_PREFIX_PATH="C:\Program Files\USD" -G "Visual Studio 15 2017 Win64" -DILMBASE_PACKAGE_PREFIX="C:\Program Files\USD" "C:\Program Files\USD\src\openexr-2.2.0\OpenEXR" ILMBASE_PACKAGE_PREFIX = C:\Program Files\USD -- Configuring done -- Generating done -- Build files have been written to: C:/Program Files/USD/build/OpenEXR 2018-08-09 10:15 cmake --build . --config Release --target install -- /M:24 Microsoft (R) Build Engine version 15.7.180.61344 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 8/9/2018 10:15:56 AM.
Build FAILED.
Time Elapsed 00:00:04.56