POV-Ray : Newsgroups : povray.unix : no EXR in linux Server Time: 14 Dec 2018 10:25:27 GMT
  no EXR in linux (Message 1 to 7 of 7)  
From: green
Subject: no EXR in linux
Date: 25 Apr 2018 01:25:00
Message: <web.5adfd6693b63f409f3726380@news.povray.org>
linux versions 3.7, 3.8 and uberpov will not write or read EXR file formats.
trying to write gives a command-line-option error, whereas trying to read an EXR
gives a more useful

This unofficial POV-Ray  binary was built without support for the OpenEXR file
format.  You must either  use an official POV-Ray binary or recompile the
POV-Ray sources on a system  providing you with the OpenEXR library to make use
of this facility.
 Alternatively, you may use any of the following built-in formats: HDR.
Fatal error in parser: Cannot open file.
Render failed

how does one do that?

this is ubuntu 16.04  kernel 4.4.108, the following libraries are installed;
   libopenexr-dev
   libopenexr22
   openexr
and associated
   libilmbase-dev
   libilmbase12
all of these are version 2.2.0-10ubuntu2

thank you.


Post a reply to this message

From: Jim Holsenback
Subject: Re: no EXR in linux
Date: 25 Apr 2018 10:38:30
Message: <5ae05aa6$1@news.povray.org>
On 04/24/2018 09:24 PM, green wrote:
> linux versions 3.7, 3.8 and uberpov will not write or read EXR file formats.
> trying to write gives a command-line-option error, whereas trying to read an EXR
> gives a more useful
> 
> This unofficial POV-Ray  binary was built without support for the OpenEXR file
> format.  You must either  use an official POV-Ray binary or recompile the
> POV-Ray sources on a system  providing you with the OpenEXR library to make use
> of this facility.
>   Alternatively, you may use any of the following built-in formats: HDR.
> Fatal error in parser: Cannot open file.
> Render failed
> 
> how does one do that?
> 
> this is ubuntu 16.04  kernel 4.4.108, the following libraries are installed;
>     libopenexr-dev
>     libopenexr22
>     openexr
> and associated
>     libilmbase-dev
>     libilmbase12
> all of these are version 2.2.0-10ubuntu2
> 
> thank you.
> 
> 
works fine on my system:

POV-Ray 3.8.0-alpha.9322209.unofficial

Copyright 1991-2017 Persistence of Vision Raytracer Pty. Ltd.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Built-in features:
   I/O restrictions:          enabled
   X Window display:          enabled (using SDL)
   Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff openexr
   Unsupported image formats: -

Compilation settings:
   Build architecture:  x86_64-suse-linux-gnu
   Built/Optimized for: x86_64-suse-linux-gnu (using -march=native)
   Compiler vendor:     gnu
   Compiler version:    g++ -std=gnu++11 4.8
   Compiler flags:      -pipe -Wno-multichar -Wno-write-strings 
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math 
-march=native -pthread

and i sourced these libraries from opensuse repositories during build:


Post a reply to this message


Attachments:
Download 'exrlibs.png' (40 KB)

Preview of image 'exrlibs.png'
exrlibs.png


 

From: Jim Holsenback
Subject: Re: no EXR in linux
Date: 25 Apr 2018 10:53:39
Message: <5ae05e33$1@news.povray.org>
On 04/25/2018 06:38 AM, Jim Holsenback wrote:
> On 04/24/2018 09:24 PM, green wrote:
>> linux versions 3.7, 3.8 and uberpov will not write or read EXR file 
>> formats.
>> trying to write gives a command-line-option error, whereas trying to 
>> read an EXR
>> gives a more useful
>>
>> This unofficial POV-Ray  binary was built without support for the 
>> OpenEXR file
>> format.  You must either  use an official POV-Ray binary or recompile the
>> POV-Ray sources on a system  providing you with the OpenEXR library to 
>> make use
>> of this facility.
>>   Alternatively, you may use any of the following built-in formats: HDR.
>> Fatal error in parser: Cannot open file.
>> Render failed
>>
>> how does one do that?
>>
>> this is ubuntu 16.04  kernel 4.4.108, the following libraries are 
>> installed;
>>     libopenexr-dev
>>     libopenexr22
>>     openexr
>> and associated
>>     libilmbase-dev
>>     libilmbase12
>> all of these are version 2.2.0-10ubuntu2
>>
>> thank you.
>>
>>
> works fine on my system:
> 
> POV-Ray 3.8.0-alpha.9322209.unofficial
> 
> Copyright 1991-2017 Persistence of Vision Raytracer Pty. Ltd.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Built-in features:
>    I/O restrictions:          enabled
>    X Window display:          enabled (using SDL)
>    Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff openexr
>    Unsupported image formats: -
> 
> Compilation settings:
>    Build architecture:  x86_64-suse-linux-gnu
>    Built/Optimized for: x86_64-suse-linux-gnu (using -march=native)
>    Compiler vendor:     gnu
>    Compiler version:    g++ -std=gnu++11 4.8
>    Compiler flags:      -pipe -Wno-multichar -Wno-write-strings 
> -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math 
> -march=native -pthread
> 
> and i sourced these libraries from opensuse repositories during build:
> 

forgot to mention that package names in your repository are most likely 
different ... i routinely read and write exr and hdr formats


Post a reply to this message

From: Le Forgeron
Subject: Re: no EXR in linux
Date: 25 Apr 2018 12:47:10
Message: <5ae078ce$1@news.povray.org>
Le 25/04/2018 à 03:24, green a écrit :
> linux versions 3.7, 3.8 and uberpov will not write or read EXR file formats.
> trying to write gives a command-line-option error, whereas trying to read an EXR
> gives a more useful
> 
> This unofficial POV-Ray  binary was built without support for the OpenEXR file
> format.  You must either  use an official POV-Ray binary or recompile the
> POV-Ray sources on a system  providing you with the OpenEXR library to make use
> of this facility.
>   Alternatively, you may use any of the following built-in formats: HDR.
> Fatal error in parser: Cannot open file.
> Render failed
> 
> how does one do that?
> 
> this is ubuntu 16.04  kernel 4.4.108, the following libraries are installed;
>     libopenexr-dev
>     libopenexr22
>     openexr
> and associated
>     libilmbase-dev
>     libilmbase12
> all of these are version 2.2.0-10ubuntu2
> 
> thank you.
> 
> 
Did you compile them yourself ?

Did you read the output of ./configure about openexr ?
(not only the end, but when it search for openexr)

(From my experience with Ubuntu 16.04, no problem to have openexr in 
povray, I have the output of "povray --version" to prove it)

If it can help, I documented an even older version of ubuntu, when it 
was 3.7RC4 (yep, it's old):

http://wiki.povray.org/content/User:Le_Forgeron/vault/Ubuntu_Gcc


Post a reply to this message

From: green
Subject: Re: no EXR in linux
Date: 25 Apr 2018 12:55:00
Message: <web.5ae07a363b43820f9f3726380@news.povray.org>
Jim Holsenback <ash### [at] nospamcom> wrote:
> On 04/25/2018 06:38 AM, Jim Holsenback wrote:
> > On 04/24/2018 09:24 PM, green wrote:
> >> linux versions 3.7, 3.8 and uberpov will not write or read EXR file
> >> formats.
> >> trying to write gives a command-line-option error, whereas trying to
> >> read an EXR
> >> gives a more useful
> >>
> >> This unofficial POV-Ray  binary was built without support for the
> >> OpenEXR file
> >> format.  You must either  use an official POV-Ray binary or recompile the
> >> POV-Ray sources on a system  providing you with the OpenEXR library to
> >> make use
> >> of this facility.
> >>   Alternatively, you may use any of the following built-in formats: HDR.
> >> Fatal error in parser: Cannot open file.
> >> Render failed
> >>
> >> how does one do that?
> >>
> >> this is ubuntu 16.04  kernel 4.4.108, the following libraries are
> >> installed;
> >>     libopenexr-dev
> >>     libopenexr22
> >>     openexr
> >> and associated
> >>     libilmbase-dev
> >>     libilmbase12
> >> all of these are version 2.2.0-10ubuntu2
> >>
> >> thank you.
> >>
> >>
> > works fine on my system:
> >
> > POV-Ray 3.8.0-alpha.9322209.unofficial
> >
> > Copyright 1991-2017 Persistence of Vision Raytracer Pty. Ltd.
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> >
> > Built-in features:
> >    I/O restrictions:          enabled
> >    X Window display:          enabled (using SDL)
> >    Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff openexr
> >    Unsupported image formats: -
> >
> > Compilation settings:
> >    Build architecture:  x86_64-suse-linux-gnu
> >    Built/Optimized for: x86_64-suse-linux-gnu (using -march=native)
> >    Compiler vendor:     gnu
> >    Compiler version:    g++ -std=gnu++11 4.8
> >    Compiler flags:      -pipe -Wno-multichar -Wno-write-strings
> > -fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math
> > -march=native -pthread
> >
> > and i sourced these libraries from opensuse repositories during build:
> >
>
> forgot to mention that package names in your repository are most likely
> different ... i routinely read and write exr and hdr formats

the difference in the SUSE and unbuntu libraries seem too much to be compared.
for what it is worth, i compiled uberpov for windows 7 and EXR works just fine.
one difference from yours i see below is the compiler version; could this be my
problem?


POV-Ray 3.7.0.1.unofficial

Copyright 1991-2013 Persistence of Vision Raytracer Pty. Ltd.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Built-in features:
  I/O restrictions:          enabled
  X Window display:          disabled
  Supported image formats:   gif tga iff ppm pgm hdr png jpeg tiff
  Unsupported image formats: openexr

Compilation settings:
  Build architecture:  x86_64-pc-linux-gnu
  Built/Optimized for: x86_64-pc-linux-gnu (using -march=native)
  Compiler vendor:     gnu
  Compiler version:    g++ 5.4.0
  Compiler flags:      -pipe -Wno-multichar -Wno-write-strings
-fno-enforce-eh-specs -Wno-non-template-friend -s -O3 -ffast-math -march=native
-pthread


thank you.


Post a reply to this message

From: clipka
Subject: Re: no EXR in linux
Date: 25 Apr 2018 15:03:00
Message: <5ae098a4$1@news.povray.org>
Am 25.04.2018 um 03:24 schrieb green:

> This unofficial POV-Ray  binary was built without support for the OpenEXR file
> format.  You must either  use an official POV-Ray binary or recompile the
> POV-Ray sources on a system  providing you with the OpenEXR library to make use
> of this facility.
...

> this is ubuntu 16.04  kernel 4.4.108, the following libraries are installed;
>    libopenexr-dev
>    libopenexr22
>    openexr
> and associated
>    libilmbase-dev
>    libilmbase12
> all of these are version 2.2.0-10ubuntu2

Apparently POV-Ray's `./configure` script fails to locate the libraries
on your machine (or finds them dysfunctional), for reasons unknown. This
seems to be pretty rare, given that you're the first to report such an
issue.

Maybe your `./config.log` might give some clue.

When the build process can't locate the OpenEXR and/or IlmImf libraries,
it will simply disable OpenEXR support and build without the libraries.


This differs significantly from the build process on Windows machines:
While on Unix machines it is normally a piece of cake to get 3rd party
libraries installed and working, on Windows machines it is normally a
PITA, so the POV-Ray source package (and the UberPOV source package
likewise) comes with the source code of a particular version of the
libraries, which are compiled during the POV-Ray build process and
statically linked.


Post a reply to this message

From: green
Subject: Re: no EXR in linux
Date: 25 Apr 2018 16:05:01
Message: <web.5ae0a6e03b43820f9f3726380@news.povray.org>
Le_Forgeron <lef### [at] freefr> wrote:
> Le 25/04/2018 à 03:24, green a écrit :
> > linux versions 3.7, 3.8 and uberpov will not write or read EXR file formats.
> > trying to write gives a command-line-option error, whereas trying to read an EXR
> > gives a more useful
> >
> > This unofficial POV-Ray  binary was built without support for the OpenEXR file
> > format.  You must either  use an official POV-Ray binary or recompile the
> > POV-Ray sources on a system  providing you with the OpenEXR library to make use
> > of this facility.
> >   Alternatively, you may use any of the following built-in formats: HDR.
> > Fatal error in parser: Cannot open file.
> > Render failed
> >
> > how does one do that?
> >
> > this is ubuntu 16.04  kernel 4.4.108, the following libraries are installed;
> >     libopenexr-dev
> >     libopenexr22
> >     openexr
> > and associated
> >     libilmbase-dev
> >     libilmbase12
> > all of these are version 2.2.0-10ubuntu2
> >
> > thank you.
> >
> >
> Did you compile them yourself ?
>
> Did you read the output of ./configure about openexr ?
> (not only the end, but when it search for openexr)
>
> (From my experience with Ubuntu 16.04, no problem to have openexr in
> povray, I have the output of "povray --version" to prove it)
>
> If it can help, I documented an even older version of ubuntu, when it
> was 3.7RC4 (yep, it's old):
>
> http://wiki.povray.org/content/User:Le_Forgeron/vault/Ubuntu_Gcc

thank you, this is what i needed.  the output of ./configure included
   checking whether to use the OpenEXR library... yes
   checking for pkg-config... no
   checking for OpenEXR's pkg-config... not found
trying to add pkg-config with synaptic showed it was broken.  it seemed to need
dpkg-dev, which in turn would not install due to needing libdpkg-perl, which was
somehow a slightly wrong version.  reinstalling libdpkg-perl, it went from
1.18.4ubuntu1.2 to 1.18.4ubuntu1, which fixed everything.

thanks again


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.