On 04/29/2013 06:46 AM, Josh Emmons wrote:
> I can confirm the same error while building on Arch linux, and the openexr
> package was just upgraded a few days ago - likely the cause of the
> problem(???).  Not sure how to solve this issue.

Well I have reported the error earlier and there was not much of a response.

Here is my dirty patch that solves the issue with openEXR-2.0



Ps. Please keep replies to the list only
>From 161eaf014c4846679e0ee5366aee4beb4113b205 Mon Sep 17 00:00:00 2001
From: Togan Muftuoglu <[email protected]>
Date: Wed, 24 Apr 2013 00:58:29 +0200
Subject: [PATCH] OpenEXR 2.0 fixes

Use Imf_2_0 as the name space for OpenEXR 2.0 version

Signed-off-by: Togan Muftuoglu <[email protected]>
---
 src/common/imageio_exr.hh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/imageio_exr.hh b/src/common/imageio_exr.hh
index 47a4b1d..46db4de 100644
--- a/src/common/imageio_exr.hh
+++ b/src/common/imageio_exr.hh
@@ -31,7 +31,7 @@
 #include <OpenEXR/ImfStandardAttributes.h>
 
 // this stores our exif data as a blob.
-namespace Imf
+namespace Imf_2_0
 {
 class Blob
 {
@@ -54,7 +54,7 @@ public:
 };
 
 
-typedef Imf::TypedAttribute<Imf::Blob> BlobAttribute;
+typedef Imf_2_0::TypedAttribute<Imf_2_0::Blob> BlobAttribute;
 template <> const char *BlobAttribute::staticTypeName()
 {
   return "blob";
-- 
1.8.2.1

------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to