I had a similar problem (this was on Arch, so not Ubunut-specific), but  
with openexr installed the error shifted, now I get complaints about  
imageio_exr.* (see below). Looks c++-ish to me. Openexr is version 2.0.0,  
gcc is 4.8.0.


Excerpt from stderr:

/home/engelhar/darktable/src/common/imageio_exr.hh:58:55: error:  
specialization of ‘template<class T> static const char*  
Imf_2_0::TypedAttribute<T>::staticTypeName()’ in different namespace  
[-fpermissive]
  template <> const char *BlobAttribute::staticTypeName()
                                                        ^
In file included from  
/usr/include/OpenEXR/ImfChromaticitiesAttribute.h:46:0,
                  from /usr/include/OpenEXR/ImfStandardAttributes.h:58,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.hh:31,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.cc:36:
/usr/include/OpenEXR/ImfAttribute.h:169:27: error:   from definition of  
‘template<class T> static const char*  
Imf_2_0::TypedAttribute<T>::staticTypeName()’ [-fpermissive]
      static const char *   staticTypeName ();
                            ^
In file included from  
/home/engelhar/darktable/src/common/imageio_exr.cc:36:0:
/home/engelhar/darktable/src/common/imageio_exr.hh:62:73: error:  
specialization of ‘template<class T> virtual void  
Imf_2_0::TypedAttribute<T>::writeValueTo(Imf_2_0::OStream&, int) const’ in  
different namespace [-fpermissive]
  template <> void BlobAttribute::writeValueTo (OStream &os, int version)  
const
                                                                          ^
In file included from  
/usr/include/OpenEXR/ImfChromaticitiesAttribute.h:46:0,
                  from /usr/include/OpenEXR/ImfStandardAttributes.h:58,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.hh:31,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.cc:36:
/usr/include/OpenEXR/ImfAttribute.h:191:19: error:   from definition of  
‘template<class T> virtual void  
Imf_2_0::TypedAttribute<T>::writeValueTo(Imf_2_0::OStream&, int) const’  
[-fpermissive]
      virtual void  writeValueTo (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream  
&os,
                    ^
In file included from  
/home/engelhar/darktable/src/common/imageio_exr.cc:36:0:
/home/engelhar/darktable/src/common/imageio_exr.hh:68:82: error:  
specialization of ‘template<class T> virtual void  
Imf_2_0::TypedAttribute<T>::readValueFrom(Imf_2_0::IStream&, int, int)’ in  
different namespace [-fpermissive]
  template <> void BlobAttribute::readValueFrom (IStream &is, int size, int  
version)
                                                                                
   ^
In file included from  
/usr/include/OpenEXR/ImfChromaticitiesAttribute.h:46:0,
                  from /usr/include/OpenEXR/ImfStandardAttributes.h:58,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.hh:31,
                  from  
/home/engelhar/darktable/src/common/imageio_exr.cc:36:
/usr/include/OpenEXR/ImfAttribute.h:194:19: error:   from definition of  
‘template<class T> virtual void  
Imf_2_0::TypedAttribute<T>::readValueFrom(Imf_2_0::IStream&, int, int)’  
[-fpermissive]
      virtual void  readValueFrom (OPENEXR_IMF_INTERNAL_NAMESPACE::IStream  
&is,
                    ^
make[2]: *** [src/CMakeFiles/lib_darktable.dir/common/imageio_exr.cc.o]  
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
make: *** [all] Error 2




On Sun, 28 Apr 2013 04:48:57 +0200, James C. McPherson  
<[email protected]> wrote:

> On 04/28/13 12:33 PM, Darrell Eifert wrote:
>> Up until now I've been able to compile from Git with no problem under  
>> Ubuntu Quantal.  I recently upgraded to Raring (which may be simple  
>> coincidence), but now I have the following error when attempting to  
>> complie the latest Git master release:
>> make[2]: *** No rule to make target `/usr/lib/libIlmImf.so', needed by  
>> `src/libdarktable.so'.  Stop.
>> make[1]: *** [src/CMakeFiles/lib_darktable.dir/all] Error 2
>> make: *** [all] Error 2
>
> libIlmImf.so comes from OpenEXR, I'm unsure what the Ubuntu
> or Debian package name is, but I can hazard a guess that it
> might be
>
> openexr
> or
> openexr-devel
>
>
> http://www.openexr.com might also be useful.
>
> James C. McPherson
> --
> Solaris kernel software engineer, system admin and troubleshooter
>                http://www.jmcpdotcom.com/blog
> Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring  
> service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt!  
> http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> darktable-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/darktable-devel


-- 
We're following you, but not on Twitter.

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
darktable-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to