-
Notifications
You must be signed in to change notification settings - Fork 35
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
OpenEXR.cpp:36:10: fatal error: 'ImathBox.h' file not found #32
Comments
This happens to me when trying to build in OS X as well (the first issue, where basic imports like seem to fail). It might have to do with the standard C++ libraries becoming unsupported in newer versions of OS X, see https://docs.brew.sh/C++-Standard-Libraries. |
I wrote a fix for the first issue you described, the standard library not being found. It will work with a vanilla brew installation of ilmbase and openexr. Does it work on your end? |
I still have the same issue... |
This might help. But probably not.
and then modify
then you should be able to intall from the folder:
After this, it shouldn't complain about |
I'm trying to install openexr for python, so I first started with installing and building this repo (following the instructions as mentioned in here, I downloaded the repo and followed the TLDR part) and it installs and builds correctly (although I had to do
brew uninstall boost-python
).Then I did
pip install openexr
and this was the error:
So I went into
/usr/local/include
and I noticed that OpenEXR was the only directory that was physically there and not symbolically linked to a directory in/usr/local/Cellar
.Why is that?
Then just to try, I moved the OpenEXR directory (that contains the .h files like ImathBox.h) from
/usr/local/include
to/usr/local/Cellar
and created a link in/usr/local/include
.Then I tried again
pip install openexr
and the result was slightly different:
The ImathBox.h file is inside the OpenEXR directory though.
I found someone with a similar error here but the suggested solutions didn't work for me. When doing
$ easy_install -U openexr
it gives basically the same error:
#11 had a similar problem, but none of the suggestions worked for me:
I tried as mentioned here
brew install openexr
which was successful and then
sudo pip install openexr
but got the same error
Can anyone help?
I'm using:
MacOS 10.14.5
Python 3.6.5
The text was updated successfully, but these errors were encountered: