Hello,

On Tue, May 30, 2017 at 04:48:38PM +0200, Hartmut Goebel wrote:
> I try building a package using openexr. Building fails with
> /gnu/store/…-openexr-2.2.0/include/OpenEXR/ImfInt64.h:44:24:
> fatal error: ImathInt64.h: No such file or directory
> but file …-openexr-2.2.0/include/OpenEXR/ImathInt64.h exists.

this looks a lot like a problem I had with the hugin package
(currently as a patch in the debbug tracker). I ended up doing
the following:

+        ;; The header files of ilmbase (propagated by openexr) are not found
+        ;; when included by the header files of openexr, and an explicit
+        ;; flag needs to be set.
+        (string-append "-DCMAKE_CXX_FLAGS=-I"
+                       (assoc-ref %build-inputs "ilmbase")
+                       "/include/OpenEXR")

Andreas


Reply via email to