-
Notifications
You must be signed in to change notification settings - Fork 626
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 builds produce invalid pkg-config files #567
Comments
The autoconf based build system still produces working pkg-config files. |
This should be fixed by PR #608 on master, will be merged to 2.4 maintenance branch within 48 hours such that 2.4.1 will contain the fix. Thanks for reporting and suggesting a fix! |
Looks like this never made it to 2.4 |
Hi - I've been trying to get OpenEXR installed on macOS 10.14.6 without success. It looks like maybe this update would fix the problem? How can I get the fix?
|
Is this an error you get building OpenEXR, or using OpenEXR? It looks like you have forgotten the |
It's a build error via |
I'm fairly fluent in Python, but have little to no experience with compiled languages. The error message looks like something I might be able to fix if I knew how the edit the setup script, but unfortunately I don't know how. Any help would be greatly appreciated. |
I'm guessing that any edits would need to happen in |
OK, after actually reading the error output, it's obvious that the errors point to a section of
Do you have an idea what/where it needs to be changed...? |
As I said earlier, the problem is not a bug in this code, the problem is that when it's compiled, somebody forgot the -std=c++11 argument to the C++ compiler. This is valid C++11 code that was being compiled by a C++03 compiler. |
Presumably 'pip install openexr' installs this: https://pypi.org/project/OpenEXR Alternatively, you can also read and write OpenEXR images with the OpenImageIO python bindings |
I was able to get OpenEXR to install by adding
Then, I did |
I was able to import OpenEXR and I ran Thanks for the help, and I'll see about reporting the issue to the author! Now to dig in and work on some scripts... 8^) |
Hi @richbobo! Did you managed to contact the author of the package about releasing new version with fix for that? |
I regret to say that, no, I did not have the time to do that, sorry! Glad my post was a help to you, though. |
After updating IlmBase and OpenEXR to 2.4.0 and changing to CMake, IlmBase.pc and OpenEXR.pc contains bogus entries for
libdir
, etc.Before:
After:
IlmBase and OpenEXR are built separately. It's not clear to me why
$prefix
is missing from the newer pkg-config files. Ideas?The text was updated successfully, but these errors were encountered: