You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do build the static libraries on windows because they appear to be required by openexr.
openexr
For linux, we download the release tarball from the github releases, and we do
#!/bin/bash
./configure --prefix=${PREFIX} \
--host="${HOST}" \
--build="${BUILD}" \
--enable-cxxstd=11
make -j ${CPU_COUNT}
make install
and it works beautifully.
On Windows, the release tarball does not appear to have all the necessary assets for a cmake build. Hence, we build from the tarball corresponding to the github tag. Then:
This works: but it vendors ilmbase instead of linking with the other package.
There seems to be some issues with the cmake build that appears to assume that ilmbase is beeing built with openexr.
The generated makefile include things such as: IlmBase::IlmThread_static-NOTFOUND while the IlmBase::{library}_static targets were all properly generated - so there seems to be some issues.
If you know a solution to not build ilmbase and use the installed package, we would love to know! This would be very useful for people who use the conda package manager.
The text was updated successfully, but these errors were encountered:
OK, it turns out that the entire cmake is very brittle and buggy.
One first issue related to this is a problem of visibility of imported libraries in FindIlmBase.cmake (missing GLOBAL), and the fact that the imported library is static:
cmake has been fundamentally re-written to be using a "modern cmake" style of cmake file using config files, etc. please retest with current master, and or the pending release, and let us know if it still doesn't work (well, we know that finding zlib and boost::python if you want those bindings usually involves a bit of fiddling, but hopefully it works better).
cmake has been fundamentally re-written to be using a "modern cmake" style of cmake file using config files, etc. please retest with current master, and or the pending release, and let us know if it still doesn't work (well, we know that finding zlib and boost::python if you want those bindings usually involves a bit of fiddling, but hopefully it works better).
Howdy. I am working on the conda packaging of
openexr
andilmbase
.There are two separate packages for
ilmbase
andopenexr
.ilmbase
We download the release tarball from the GitHub releases and
Unix:
Windows:
We do build the static libraries on windows because they appear to be required by openexr.
openexr
For linux, we download the release tarball from the github releases, and we do
and it works beautifully.
On Windows, the release tarball does not appear to have all the necessary assets for a cmake build. Hence, we build from the tarball corresponding to the github tag. Then:
This works: but it vendors ilmbase instead of linking with the other package.
This and other variations of it appear to fail.
There seems to be some issues with the cmake build that appears to assume that ilmbase is beeing built with openexr.
The generated makefile include things such as:
IlmBase::IlmThread_static-NOTFOUND
while theIlmBase::{library}_static
targets were all properly generated - so there seems to be some issues.If you know a solution to not build ilmbase and use the installed package, we would love to know! This would be very useful for people who use the conda package manager.
The text was updated successfully, but these errors were encountered: