unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Error when including openexr
Date: Thu, 1 Jun 2017 13:06:58 +0200	[thread overview]
Message-ID: <20170601110658.GA2242@jurong> (raw)
In-Reply-To: <592D8646.5040706@crazy-compilers.com>

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

  parent reply	other threads:[~2017-06-01 11:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 14:48 Error when including openexr Hartmut Goebel
2017-05-31 22:22 ` Danny Milosavljevic
2017-06-01  8:07   ` julien lepiller
2017-06-01  9:34   ` Hartmut Goebel
2017-06-01 11:06 ` Andreas Enge [this message]
2017-06-03  8:03   ` Hartmut Goebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170601110658.GA2242@jurong \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).