-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cmake fails to build OpenEXR on Win64 with VS2017 communityEdition #585
Comments
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. |
@sunyab Yes, Half.dll/.lib have been created, but prepending USD\bin and USD\lib to the PATH didn't help. |
I unstalled VS2017 and installed VS2015 community. Same error. |
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 ***@***.***> 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
<#585 (comment)>,
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. |
Hey guys, any update on this issue? I am getting a similar error here: #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. |
OpenEXR build issues like this have been addressed by updates since this bug was filed. Please open a new one if it recurs. |
Updates OpenEXR dependency from v3.1.11 -> v3.1.13 - This was originally part of PR #3077 from @nvidia-jomiller Removes FindOpenEXR.cmake because OpenEXR now publishes its own config scripts which supersede a Find script. Fixes #585 Closes #1844 Closes #3077 (Internal change: 2349684)
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
The text was updated successfully, but these errors were encountered: