guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error when including openexr


From: Andreas Enge
Subject: Re: Error when including openexr
Date: Thu, 1 Jun 2017 13:06:58 +0200
User-agent: Mutt/1.8.2 (2017-04-18)

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

[Prev in Thread] Current Thread [Next in Thread]