From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hartmut Goebel Subject: Re: Error when including openexr Date: Sat, 3 Jun 2017 10:03:23 +0200 Message-ID: <59326D4B.8040807@crazy-compilers.com> References: <592D8646.5040706@crazy-compilers.com> <20170601110658.GA2242@jurong> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dH421-0008FC-BN for guix-devel@gnu.org; Sat, 03 Jun 2017 04:03:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dH41x-0000Pw-F6 for guix-devel@gnu.org; Sat, 03 Jun 2017 04:03:33 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:47882) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dH41x-0000MZ-9D for guix-devel@gnu.org; Sat, 03 Jun 2017 04:03:29 -0400 In-Reply-To: <20170601110658.GA2242@jurong> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Andreas Enge Cc: guix-devel Am 01.06.2017 um 13:06 schrieb Andreas Enge: > 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") Thanks for this snippet. This did the trick! -- Regards Hartmut Goebel | Hartmut Goebel | h.goebel@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |